NetworkConfig / VpcConfig | VpcTemplatesConfig / VpcIpv6Config

VPC IPv6 static CIDR configuration. Use this to associate a static IPv6 CIDR block to your VPC.

Use an Amazon-provided /56 CIDR:

- amazonProvided: true

Use a BYOIP address pool with a default /56 CIDR:

- byoipPoolId: ipv6Pool-ec2-123abcxyz

Use a specific CIDR range of a BYOIP address pool:

- byoipPoolId: ipv6Pool-ec2-123abcxyz
cidrBlock: fd00::/48
interface IVpcIpv6Config {
    amazonProvided?: boolean;
    byoipPoolId?: string;
    cidrBlock?: string;
}

Properties

amazonProvided?: boolean

(OPTIONAL) Indicates whether Amazon automatically provisions a /56 IPv6 CIDR block for the VPC.

CAUTION: Changing this property value after initial deployment causes the CIDR block to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

Leave this property undefined if using a Bring-Your-Own-IP (BYOIP) address pool.

byoipPoolId?: string

(OPTIONAL) Used to define the Bring-Your-Own-IP (BYOIP) address pool ID to use for the IPv6 CIDR block.

CAUTION: Changing this property value after initial deployment causes the CIDR block to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

You must have configured a BYOIP address pool in the account the VPC is being provisioned in. For more information on setting up an address pool, see Bring your own IP addresses (BYOIP) in Amazon EC2.

cidrBlock?: string

(OPTIONAL) Associate an IPv6 CIDR block with your VPC.

CAUTION: Changing this property value after initial deployment causes the CIDR block to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

You MUST also specify boipPoolId if configuring this property. You may leave this property undefined to have Amazon automatically provision a /56 CIDR from your BYOIP address pool. Possible IPv6 netmask lengths are between /44 and /60 in increments of /4.