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
DescriptionDefinition of AWS::CloudFront::AnycastIpList Resource Type
Idaws.cloudfront.anycast_ip_lists

Fields

NameDatatypeDescription
anycast_ip_listobjectDefinition of AWS::CloudFront::AnycastIpList Resource Type
e_tagstring
idstring
ip_countinteger
namestring
tagsobject
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 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.

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

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