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:

IIpAddresses

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:

IIpAddresses

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 address

  • netmask_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:

IIpAddresses

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 address

  • netmask_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:

IIpAddresses