@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.371Z") @Stability(value=Stable) public interface CfnVPCCidrBlockProps extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
CfnVPCCidrBlockProps cfnVPCCidrBlockProps = CfnVPCCidrBlockProps.builder()
.vpcId("vpcId")
// the properties below are optional
.amazonProvidedIpv6CidrBlock(false)
.cidrBlock("cidrBlock")
.ipv4IpamPoolId("ipv4IpamPoolId")
.ipv4NetmaskLength(123)
.ipv6CidrBlock("ipv6CidrBlock")
.ipv6IpamPoolId("ipv6IpamPoolId")
.ipv6NetmaskLength(123)
.ipv6Pool("ipv6Pool")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVPCCidrBlockProps.Builder
A builder for
CfnVPCCidrBlockProps |
static class |
CfnVPCCidrBlockProps.Jsii$Proxy
An implementation for
CfnVPCCidrBlockProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVPCCidrBlockProps.Builder |
builder() |
default Object |
getAmazonProvidedIpv6CidrBlock()
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.
|
default String |
getCidrBlock()
An IPv4 CIDR block to associate with the VPC.
|
default String |
getIpv4IpamPoolId()
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.
|
default Number |
getIpv4NetmaskLength()
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
|
default String |
getIpv6CidrBlock()
An IPv6 CIDR block from the IPv6 address pool.
|
default String |
getIpv6IpamPoolId()
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.
|
default Number |
getIpv6NetmaskLength()
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.
|
default String |
getIpv6Pool()
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.
|
String |
getVpcId()
The ID of the VPC.
|
@Stability(value=Stable) @NotNull String getVpcId()
@Stability(value=Stable) @Nullable default Object getAmazonProvidedIpv6CidrBlock()
You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
@Stability(value=Stable) @Nullable default String getCidrBlock()
@Stability(value=Stable) @Nullable default String getIpv4IpamPoolId()
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
@Stability(value=Stable) @Nullable default Number getIpv4NetmaskLength()
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
@Stability(value=Stable) @Nullable default String getIpv6CidrBlock()
To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
@Stability(value=Stable) @Nullable default String getIpv6IpamPoolId()
For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
@Stability(value=Stable) @Nullable default Number getIpv6NetmaskLength()
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
@Stability(value=Stable) @Nullable default String getIpv6Pool()
@Stability(value=Stable) static CfnVPCCidrBlockProps.Builder builder()
CfnVPCCidrBlockProps.Builder of CfnVPCCidrBlockPropsCopyright © 2022. All rights reserved.