IIpv6Addresses
- class aws_cdk.aws_ec2.IIpv6Addresses(*args, **kwargs)
Bases:
ProtocolImplementations for IPv6 address management.
Note this is specific to the IPv6 CIDR.
Methods
- allocate_subnets_ipv6_cidr(*, allocated_subnets, ipv6_cidrs)
Allocates Subnets IPv6 CIDRs. Called by VPC when creating subnets with IPv6 enabled.
Note this is specific to the IPv6 CIDR.
- 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.
- Return type:
- allocate_vpc_ipv6_cidr(*, scope, vpc_id)
Called by VPC to allocate IPv6 CIDR.
Note this is specific to the IPv6 CIDR.
- Parameters:
scope (
Construct) – The VPC construct to attach to.vpc_id (
str) – The id of the VPC.
- Return type:
- create_ipv6_cidr_blocks(*, ipv6_selected_cidr, subnet_count, size_mask=None)
Split IPv6 CIDR block up for subnets.
Note this is specific to the IPv6 CIDR.
- Parameters:
ipv6_selected_cidr (
str) – The IPv6 CIDR block string representation.subnet_count (
Union[int,float]) – The number of subnets to assign CIDRs to.size_mask (
Optional[str]) – Size of the covered bits in the CIDR. Default: - 128 - 64 = /64 CIDR.
- Return type:
List[str]
Attributes
- amazon_provided
Whether the IPv6 CIDR is Amazon provided or not.
Note this is specific to the IPv6 CIDR.