SubnetIpamOptions

class aws_cdk.aws_ec2.SubnetIpamOptions(*, allocated_subnets)

Bases: object

CIDR Allocated Subnets.

Parameters:

allocated_subnets (Sequence[Union[AllocatedSubnet, Dict[str, Any]]]) – CIDR Allocations for Subnets.

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

subnet_ipam_options = ec2.SubnetIpamOptions(
    allocated_subnets=[ec2.AllocatedSubnet(
        cidr="cidr",

        # the properties below are optional
        ipv6_cidr="ipv6Cidr"
    )]
)

Attributes

allocated_subnets

CIDR Allocations for Subnets.