VpcIpamOptions

class aws_cdk.aws_ec2.VpcIpamOptions(*, cidr_block=None, ipv4_ipam_pool_id=None, ipv4_netmask_length=None)

Bases: object

Cidr Allocated Vpc.

Parameters
  • cidr_block (Optional[str]) – Cidr Block for Vpc. Default: - Only required when Ipam has concrete allocation available for static Vpc

  • ipv4_ipam_pool_id (Optional[str]) – ipv4 IPAM Pool Id. Default: - Only required when using AWS Ipam

  • ipv4_netmask_length (Union[int, float, None]) – Cidr Mask for Vpc. Default: - Only required when using AWS Ipam

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

vpc_ipam_options = ec2.VpcIpamOptions(
    cidr_block="cidrBlock",
    ipv4_ipam_pool_id="ipv4IpamPoolId",
    ipv4_netmask_length=123
)

Attributes

cidr_block

Cidr Block for Vpc.

Default
  • Only required when Ipam has concrete allocation available for static Vpc

ipv4_ipam_pool_id

ipv4 IPAM Pool Id.

Default
  • Only required when using AWS Ipam

ipv4_netmask_length

Cidr Mask for Vpc.

Default
  • Only required when using AWS Ipam