Skip to main content

anycast_ip_lists

Creates, updates, deletes, gets or lists an anycast_ip_lists resource.

Overview

Nameanycast_ip_lists
TypeResource
Idaws.cloudfront.anycast_ip_lists

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
anycast_ipsstringThe static IP addresses that are allocated to the Anycast static IP list.
arnstringThe Amazon Resource Name (ARN) of the Anycast static IP list.
idstringThe ID of the Anycast static IP list.
ip_address_typestringThe IP address type for the Anycast static IP list.
ip_countintegerThe number of IP addresses in the Anycast static IP list.
ipam_configstringThe IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.
last_modified_timestringThe last time the Anycast static IP list was modified.
namestringThe name of the Anycast static IP list.
statusstringThe status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_anycast_ip_listselectid, regionGets an Anycast static IP list.
list_anycast_ip_listsselectregionMarker, MaxItemsLists your Anycast static IP lists.
create_anycast_ip_listinsertregion, IpCountCreates an Anycast static IP list.
update_anycast_ip_listupdateid, If-Match, regionUpdates an Anycast static IP list.
delete_anycast_ip_listdeleteid, If-Match, regionDeletes an Anycast static IP list.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
If-MatchstringThe current version (ETag value) of the Anycast static IP list that you are deleting.
idstringThe ID of the Anycast static IP list.
regionstringAWS region (default: us-east-1)
MarkerstringUse this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
MaxItemsintegerThe maximum number of Anycast static IP lists that you want returned in the response.

SELECT examples

Gets an Anycast static IP list.

SELECT
anycast_ips,
arn,
id,
ip_address_type,
ip_count,
ipam_config,
last_modified_time,
name,
status
FROM aws.cloudfront.anycast_ip_lists
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an Anycast static IP list.

INSERT INTO aws.cloudfront.anycast_ip_lists (
Name,
IpCount,
Tags,
IpAddressType,
IpamCidrConfigs,
region
)
SELECT
'{{ Name }}',
{{ IpCount }} /* required */,
'{{ Tags }}',
'{{ IpAddressType }}',
'{{ IpamCidrConfigs }}',
'{{ region }}'
RETURNING
anycast_ips,
arn,
id,
ip_address_type,
ip_count,
ipam_config,
last_modified_time,
name,
status
;

UPDATE examples

Updates an Anycast static IP list.

UPDATE aws.cloudfront.anycast_ip_lists
SET
IpAddressType = '{{ IpAddressType }}',
IpamCidrConfigs = '{{ IpamCidrConfigs }}'
WHERE
id = '{{ id }}' --required
AND `If-Match` = '{{ If-Match }}' --required
AND region = '{{ region }}' --required
RETURNING
anycast_ips,
arn,
id,
ip_address_type,
ip_count,
ipam_config,
last_modified_time,
name,
status;

DELETE examples

Deletes an Anycast static IP list.

DELETE FROM aws.cloudfront.anycast_ip_lists
WHERE id = '{{ id }}' --required
AND `If-Match` = '{{ If-Match }}' --required
AND region = '{{ region }}' --required
;