create_anycast_ip_list
async
¶
create_anycast_ip_list(
name: AnycastIpListName,
ip_count: integer,
*,
config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
tags: Optional[Tags] = None,
ip_address_type: Optional[IpAddressType] = None,
ipam_cidr_configs: Optional[IpamCidrConfigList] = None,
) -> CreateAnycastIpListResult
Creates an Anycast static IP list.
Parameters:
-
name(AnycastIpListName) –Name of the Anycast static IP list.
-
ip_count(integer) –The number of static IP addresses that are allocated to the Anycast static IP list. Valid values: 21 or 3.
-
ip_address_type(Optional[IpAddressType], default:None) –The IP address type for the Anycast static IP list. You can specify one of the following options:
-
ipv4only -
ipv6only -
dualstack- Allocate a list of both IPv4 and IPv6 addresses
-
-
ipam_cidr_configs(Optional[IpamCidrConfigList], default:None) –A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list.
Raises:
-
AccessDenied–Access denied.
-
EntityAlreadyExists–The entity already exists. You must provide a unique entity.
-
EntityLimitExceeded–The entity limit has been exceeded.
-
InvalidArgument–An argument is invalid.
-
InvalidTagging–The tagging specified is not valid.
-
UnsupportedOperation–This operation is not supported in this Amazon Web Services Region.
-
UnknownServiceError–The service returned an error code this client does not model.