public static final class CfnVPCCidrBlock.Builder
extends java.lang.Object
CfnVPCCidrBlock
.Modifier and Type | Method and Description |
---|---|
CfnVPCCidrBlock.Builder |
amazonProvidedIpv6CidrBlock(java.lang.Boolean amazonProvidedIpv6CidrBlock)
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
|
CfnVPCCidrBlock.Builder |
amazonProvidedIpv6CidrBlock(IResolvable amazonProvidedIpv6CidrBlock)
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
|
CfnVPCCidrBlock |
build() |
CfnVPCCidrBlock.Builder |
cidrBlock(java.lang.String cidrBlock)
An IPv4 CIDR block to associate with the VPC.
|
static CfnVPCCidrBlock.Builder |
create(Construct scope,
java.lang.String id) |
CfnVPCCidrBlock.Builder |
ipv4IpamPoolId(java.lang.String ipv4IpamPoolId)
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.
|
CfnVPCCidrBlock.Builder |
ipv4NetmaskLength(java.lang.Number ipv4NetmaskLength)
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
|
CfnVPCCidrBlock.Builder |
ipv6CidrBlock(java.lang.String ipv6CidrBlock)
An IPv6 CIDR block from the IPv6 address pool.
|
CfnVPCCidrBlock.Builder |
ipv6IpamPoolId(java.lang.String ipv6IpamPoolId)
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.
|
CfnVPCCidrBlock.Builder |
ipv6NetmaskLength(java.lang.Number ipv6NetmaskLength)
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
|
CfnVPCCidrBlock.Builder |
ipv6Pool(java.lang.String ipv6Pool)
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
|
CfnVPCCidrBlock.Builder |
vpcId(java.lang.String vpcId)
The ID of the VPC.
|
public static CfnVPCCidrBlock.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnVPCCidrBlock.Builder
.public CfnVPCCidrBlock.Builder vpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder amazonProvidedIpv6CidrBlock(java.lang.Boolean amazonProvidedIpv6CidrBlock)
You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
amazonProvidedIpv6CidrBlock
- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder amazonProvidedIpv6CidrBlock(IResolvable amazonProvidedIpv6CidrBlock)
You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
amazonProvidedIpv6CidrBlock
- Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder cidrBlock(java.lang.String cidrBlock)
cidrBlock
- An IPv4 CIDR block to associate with the VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv4IpamPoolId(java.lang.String ipv4IpamPoolId)
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv4IpamPoolId
- Associate a CIDR allocated from an IPv4 IPAM pool to a VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv4NetmaskLength(java.lang.Number ipv4NetmaskLength)
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv4NetmaskLength
- The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv6CidrBlock(java.lang.String ipv6CidrBlock)
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
ipv6CidrBlock
- An IPv6 CIDR block from the IPv6 address pool. You must also specify `Ipv6Pool` in the request. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv6IpamPoolId(java.lang.String ipv6IpamPoolId)
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv6IpamPoolId
- Associates a CIDR allocated from an IPv6 IPAM pool to a VPC. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv6NetmaskLength(java.lang.Number ipv6NetmaskLength)
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
ipv6NetmaskLength
- The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool. This parameter is required.this
public CfnVPCCidrBlock.Builder ipv6Pool(java.lang.String ipv6Pool)
ipv6Pool
- The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. This parameter is required.this
public CfnVPCCidrBlock build()