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

Additional props needed for BYOIP IPv6 address props.

Extends: Ipv6PoolSecondaryAddressProps
Extends: SecondaryAddressProps

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

## Example

```ts
const myVpc = new VpcV2(this, 'Vpc', {
  primaryAddressBlock: IpAddresses.ipv4('10.1.0.0/16'),
  secondaryAddressBlocks: [IpAddresses.ipv6ByoipPool({
    cidrBlockName: 'MyByoipCidrBlock',
    ipv6PoolId: 'ipv6pool-ec2-someHashValue',
    ipv6CidrBlock: '2001:db8::/32'
  })],
  enableDnsHostnames: true,
  enableDnsSupport: true,
});
```

## Properties

- `cidrBlockName`: string (required) — Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.

- `ipv6CidrBlock`: string (required) — A valid IPv6 CIDR block from the IPv6 address pool onboarded to AWS using BYOIP.

  The most specific IPv6 address range that you can bring is /48 for CIDRs that are publicly advertisable
  and /56 for CIDRs that are not publicly advertisable.

- `ipv6PoolId`: string (required) — ID of the IPv6 address pool from which to allocate the IPv6 CIDR block.

  Note: BYOIP Pool ID is different from the IPAM Pool ID.
  To onboard your IPv6 address range to your AWS account please refer to the below documentation
