Skip to main content

anycast_ip_lists

Creates, updates, deletes or gets an anycast_ip_list resource or lists anycast_ip_lists in a region

Overview

Nameanycast_ip_lists
TypeResource
DescriptionAn Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
Idawscc.cloudfront.anycast_ip_lists

Fields

NameDatatypeDescription
anycast_ip_listobjectAn Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
e_tagstring
idstring
ip_countintegerThe number of IP addresses in the Anycast static IP list.
namestringThe name of the Anycast static IP list.
tagsobjectA complex type that contains zero or more ``Tag`` elements.
regionstringAWS region.

For more information, see AWS::CloudFront::AnycastIpList.

Methods

NameAccessible byRequired Params
create_resourceINSERTIpCount, Name, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual anycast_ip_list.

SELECT
region,
anycast_ip_list,
e_tag,
id,
ip_count,
name,
tags
FROM awscc.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.

/*+ create */
INSERT INTO awscc.cloudfront.anycast_ip_lists (
IpCount,
Name,
region
)
SELECT
'{{ IpCount }}',
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.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