# IIpAddresses

Implementations for ip address management.

Note this is specific to the IPv4 CIDR.

Obtainable from: [IpAddresses.awsIpamAllocation](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IpAddresses.html#awsipamallocation), [IpAddresses.cidr](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.IpAddresses.html#cidr)

- Source: [`aws-ec2/lib/ip-addresses.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-ec2/lib/ip-addresses.ts#L49)
- Type last changed: v2.48.0 · 27 Oct 2022

## Methods

- `allocateSubnetsCidr(input: AllocateCidrRequest): SubnetIpamOptions` — Called by the VPC to retrieve Subnet options from the Ipam.

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

- `allocateVpcCidr(): VpcIpamOptions` — Called by the VPC to retrieve VPC options from the Ipam.

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