anycast_ip_lists
Creates, updates, deletes or gets an anycast_ip_list
resource or lists anycast_ip_lists
in a region
Overview
Name | anycast_ip_lists |
Type | Resource |
Description | Definition of AWS::CloudFront::AnycastIpList Resource Type |
Id | aws.cloudfront.anycast_ip_lists |
Fields
Name | Datatype | Description |
---|---|---|
anycast_ip_list | object | Definition of AWS::CloudFront::AnycastIpList Resource Type |
e_tag | string | |
id | string | |
ip_count | integer | |
name | string | |
tags | object | |
region | string | AWS region. |
For more information, see AWS::CloudFront::AnycastIpList
.
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | IpCount, Name, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all anycast_ip_lists
in a region.
SELECT
region,
anycast_ip_list,
e_tag,
id,
ip_count,
name,
tags
FROM aws.cloudfront.anycast_ip_lists
;
Gets all properties from an individual anycast_ip_list
.
SELECT
region,
anycast_ip_list,
e_tag,
id,
ip_count,
name,
tags
FROM aws.cloudfront.anycast_ip_lists
WHERE data__Identifier = '<Id>';
INSERT
example
Use the following StackQL query and manifest file to create a new anycast_ip_list
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.cloudfront.anycast_ip_lists (
IpCount,
Name,
region
)
SELECT
'{{ IpCount }}',
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.cloudfront.anycast_ip_lists (
IpCount,
Name,
Tags,
region
)
SELECT
'{{ IpCount }}',
'{{ Name }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: anycast_ip_list
props:
- name: IpCount
value: '{{ IpCount }}'
- name: Name
value: '{{ Name }}'
- name: Tags
value:
Items:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.cloudfront.anycast_ip_lists
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';
Permissions
To operate on the anycast_ip_lists
resource, the following permissions are required:
Create
cloudfront:CreateAnycastIpList,
cloudfront:TagResource
Delete
cloudfront:DeleteAnycastIpList,
cloudfront:GetAnycastIpList
List
cloudfront:ListAnycastIpLists
Read
cloudfront:GetAnycastIpList,
cloudfront:ListTagsForResource