> **Experimental**
>
> `@aws-cdk/aws-ec2-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# IpAddresses

IpAddress options to define VPC V2.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/vpc-v2.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-ec2-alpha/lib/vpc-v2.ts#L51)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2_alpha from '@aws-cdk/aws-ec2-alpha';
const ipAddresses = new ec2_alpha.IpAddresses();
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2_alpha as ec2_alpha

ip_addresses = ec2_alpha.IpAddresses()
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.alpha.*;

IpAddresses ipAddresses = new IpAddresses();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.ec2.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ec2.Alpha;

var ipAddresses = new IpAddresses();
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsec2alpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import ec2_alpha "github.com/aws/aws-cdk-go/awsec2alpha"

ipAddresses := ec2_alpha.NewIpAddresses()
```

## Initializer

TypeScript:

```ts
new IpAddresses()
```

Python:

```python
IpAddresses()
```

Java:

```java
new IpAddresses()
```

C# / .NET:

```csharp
new IpAddresses()
```

Golang:

```go
NewIpAddresses()
```

## Methods

- `amazonProvidedIpv6(props: SecondaryAddressProps): IIpAddresses` (static) — Amazon Provided Ipv6 range.

- `ipv4(ipv4Cidr: string, props?: SecondaryAddressProps): IIpAddresses` (static) — An IPv4 CIDR Range.

- `ipv4Ipam(ipv4IpamOptions: IpamOptions): IIpAddresses` (static) — An Ipv4 Ipam Pool.

- `ipv6ByoipPool(props: Ipv6PoolSecondaryAddressProps): IIpAddresses` (static) — A BYOIP IPv6 address pool.

- `ipv6Ipam(ipv6IpamOptions: IpamOptions): IIpAddresses` (static) — An Ipv6 Ipam Pool.
