class IpAddresses
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ec2.Alpha.IpAddresses |
Go | github.com/aws/aws-cdk-go/awsec2alpha/v2#IpAddresses |
Java | software.amazon.awscdk.services.ec2.alpha.IpAddresses |
Python | aws_cdk.aws_ec2_alpha.IpAddresses |
TypeScript (source) | @aws-cdk/aws-ec2-alpha 禄 IpAddresses |
IpAddress options to define VPC V2.
Example
// 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();
Initializer
new IpAddresses()
Methods
Name | Description |
---|---|
static amazon | Amazon Provided Ipv6 range. |
static ipv4(ipv4Cidr, props?) | An IPv4 CIDR Range. |
static ipv4 | An Ipv4 Ipam Pool. |
static ipv6 | A BYOIP IPv6 address pool. |
static ipv6 | An Ipv6 Ipam Pool. |
static amazonProvidedIpv6(props)
public static amazonProvidedIpv6(props: SecondaryAddressProps): IIpAddresses
Parameters
- props
Secondary
Address Props
Returns
Amazon Provided Ipv6 range.
static ipv4(ipv4Cidr, props?)
public static ipv4(ipv4Cidr: string, props?: SecondaryAddressProps): IIpAddresses
Parameters
- ipv4Cidr
string
- props
Secondary
Address Props
Returns
An IPv4 CIDR Range.
static ipv4Ipam(ipv4IpamOptions)
public static ipv4Ipam(ipv4IpamOptions: IpamOptions): IIpAddresses
Parameters
- ipv4IpamOptions
Ipam
Options
Returns
An Ipv4 Ipam Pool.
static ipv6ByoipPool(props)
public static ipv6ByoipPool(props: Ipv6PoolSecondaryAddressProps): IIpAddresses
Parameters
Returns
A BYOIP IPv6 address pool.
static ipv6Ipam(ipv6IpamOptions)
public static ipv6Ipam(ipv6IpamOptions: IpamOptions): IIpAddresses
Parameters
- ipv6IpamOptions
Ipam
Options
Returns
An Ipv6 Ipam Pool.