IIpAddresses

class aws_cdk.aws_ec2.IIpAddresses(*args, **kwds)

Bases: Protocol

Implementations for ip address management.

Methods

allocate_subnets_cidr(*, requested_subnets, vpc_cidr)

Called by the VPC to retrieve Subnet options from the Ipam.

Don’t call this directly, the VPC will call it automatically.

Parameters
  • requested_subnets (Sequence[Union[RequestedSubnet, Dict[str, Any]]]) – The Subnets to be allocated.

  • vpc_cidr (str) – The IPv4 CIDR block for this Vpc.

Return type

SubnetIpamOptions

allocate_vpc_cidr()

Called by the VPC to retrieve VPC options from the Ipam.

Don’t call this directly, the VPC will call it automatically.

Return type

VpcIpamOptions