aws-cdk-lib.aws_ec2.IIpAddresses

interface IIpAddresses

LanguageType name
.NETAmazon.CDK.AWS.EC2.IIpAddresses
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#IIpAddresses
Javasoftware.amazon.awscdk.services.ec2.IIpAddresses
Pythonaws_cdk.aws_ec2.IIpAddresses
TypeScript (source)aws-cdk-lib » aws_ec2 » IIpAddresses

Obtainable from IpAddresses.awsIpamAllocation(), IpAddresses.cidr()

Implementations for ip address management.

Methods

NameDescription
allocateSubnetsCidr(input)Called by the VPC to retrieve Subnet options from the Ipam.
allocateVpcCidr()Called by the VPC to retrieve VPC options from the Ipam.

allocateSubnetsCidr(input)

public allocateSubnetsCidr(input: AllocateCidrRequest): SubnetIpamOptions

Parameters

  • input AllocateCidrRequest

Returns

  • SubnetIpamOptions

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

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


allocateVpcCidr()

public allocateVpcCidr(): VpcIpamOptions

Returns

  • VpcIpamOptions

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

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