IpAddresses
- class aws_cdk.aws_ec2_alpha.IpAddresses
Bases:
object
(experimental) IpAddress options to define VPC V2.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2_alpha as ec2_alpha ip_addresses = ec2_alpha.IpAddresses()
- Stability:
experimental
Static Methods
- classmethod amazon_provided_ipv6(*, cidr_block_name)
(experimental) Amazon Provided Ipv6 range.
- Parameters:
cidr_block_name (
str
) – (experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.- Stability:
experimental
- Return type:
- classmethod ipv4(ipv4_cidr, *, cidr_block_name)
(experimental) An IPv4 CIDR Range.
- Parameters:
ipv4_cidr (
str
) –cidr_block_name (
str
) – (experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.
- Stability:
experimental
- Return type:
- classmethod ipv4_ipam(*, cidr_block_name, ipam_pool=None, netmask_length=None)
(experimental) An Ipv4 Ipam Pool.
- Parameters:
cidr_block_name (
str
) – (experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.ipam_pool (
Optional
[IIpamPool
]) – (experimental) Ipv4 or an Ipv6 IPAM pool Only required when using AWS Ipam. Default: - no pool attached to VPC secondary addressnetmask_length (
Union
[int
,float
,None
]) – (experimental) CIDR Mask for Vpc Only required when using AWS Ipam. Default: - no netmask length for IPAM attached to VPC secondary address
- Stability:
experimental
- Return type:
- classmethod ipv6_byoip_pool(*, ipv6_cidr_block, ipv6_pool_id, cidr_block_name)
(experimental) A BYOIP IPv6 address pool.
- Parameters:
ipv6_cidr_block (
str
) – (experimental) A valid IPv6 CIDR block from the IPv6 address pool onboarded to AWS using BYOIP. The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable and /56 for CIDRs that are not publicly advertisable.ipv6_pool_id (
str
) – (experimental) ID of the IPv6 address pool from which to allocate the IPv6 CIDR block. Note: BYOIP Pool ID is different from the IPAM Pool ID. To onboard your IPv6 address range to your AWS account please refer to the below documentationcidr_block_name (
str
) – (experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.
- Stability:
experimental
- Return type:
- classmethod ipv6_ipam(*, cidr_block_name, ipam_pool=None, netmask_length=None)
(experimental) An Ipv6 Ipam Pool.
- Parameters:
cidr_block_name (
str
) – (experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.ipam_pool (
Optional
[IIpamPool
]) – (experimental) Ipv4 or an Ipv6 IPAM pool Only required when using AWS Ipam. Default: - no pool attached to VPC secondary addressnetmask_length (
Union
[int
,float
,None
]) – (experimental) CIDR Mask for Vpc Only required when using AWS Ipam. Default: - no netmask length for IPAM attached to VPC secondary address
- Stability:
experimental
- Return type: