AllocateIpv6CidrRequest

class aws_cdk.aws_ec2.AllocateIpv6CidrRequest(*, allocated_subnets, ipv6_cidrs)

Bases: object

Request for subnet IPv6 CIDRs to be allocated for a VPC.

Parameters:
  • allocated_subnets (Sequence[Union[AllocatedSubnet, Dict[str, Any]]]) – List of subnets allocated with IPv4 CIDRs.

  • ipv6_cidrs (Sequence[str]) – The IPv6 CIDRs to be allocated to the 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

allocate_ipv6_cidr_request = ec2.AllocateIpv6CidrRequest(
    allocated_subnets=[ec2.AllocatedSubnet(
        cidr="cidr",

        # the properties below are optional
        ipv6_cidr="ipv6Cidr"
    )],
    ipv6_cidrs=["ipv6Cidrs"]
)

Attributes

allocated_subnets

List of subnets allocated with IPv4 CIDRs.

ipv6_cidrs

The IPv6 CIDRs to be allocated to the subnets.