Skip to content

CloudFront  >  Operations  >  create_anycast_ip_list

create_anycast_ip_list

Operation

create_anycast_ip_list async

create_anycast_ip_list(input: CreateAnycastIpListInput, plugins: list[Plugin] | None = None) -> CreateAnycastIpListOutput

Creates an Anycast static IP list.

Parameters:

Name Type Description Default
input CreateAnycastIpListInput

An instance of CreateAnycastIpListInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateAnycastIpListOutput

An instance of CreateAnycastIpListOutput.

Input

CreateAnycastIpListInput dataclass

Bases: _SerdeShape

Dataclass for CreateAnycastIpListInput structure.

Attributes

ip_address_type class-attribute instance-attribute
ip_address_type: str | None = ...

The IP address type for the Anycast static IP list. You can specify one of the following options:

  • ipv4 only

  • ipv6 only

  • dualstack - Allocate a list of both IPv4 and IPv6 addresses

ip_count class-attribute instance-attribute
ip_count: int | None = ...

The number of static IP addresses that are allocated to the Anycast static IP list. Valid values: 21 or 3.

ipam_cidr_configs class-attribute instance-attribute
ipam_cidr_configs: list[IpamCidrConfig] | None = ...

A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list.

name class-attribute instance-attribute
name: str | None = ...

Name of the Anycast static IP list.

tags class-attribute instance-attribute
tags: Tags | None = ...

A complex type that contains zero or more Tag elements.

Output

CreateAnycastIpListOutput dataclass

Bases: _SerdeShape

Dataclass for CreateAnycastIpListOutput structure.

Attributes

anycast_ip_list class-attribute instance-attribute
anycast_ip_list: AnycastIpList | None = ...

A response structure that includes the version identifier (ETag) and the created AnycastIpList structure.

e_tag class-attribute instance-attribute
e_tag: str | None = ...

The version identifier for the current version of the Anycast static IP list.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.