Interface CfnVPCCidrBlockProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVPCCidrBlockProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.135Z")
@Stability(Stable)
public interface CfnVPCCidrBlockProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVPCCidrBlock
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVPCCidrBlockProps
static final class
An implementation forCfnVPCCidrBlockProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVPCCidrBlockProps.Builder
builder()
default Object
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.default String
An IPv4 CIDR block to associate with the VPC.default String
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.default Number
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.default String
An IPv6 CIDR block from the IPv6 address pool.default String
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.default Number
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.default String
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block.getVpcId()
The ID of the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVpcId
The ID of the VPC. -
getAmazonProvidedIpv6CidrBlock
Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.You cannot specify the range of IPv6 addresses, or the size of the CIDR block.
-
getCidrBlock
An IPv4 CIDR block to associate with the VPC. -
getIpv4IpamPoolId
Associate a CIDR allocated from an IPv4 IPAM pool to a VPC.For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
-
getIpv4NetmaskLength
The netmask length of the IPv4 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
-
getIpv6CidrBlock
An IPv6 CIDR block from the IPv6 address pool. You must also specifyIpv6Pool
in the request.To let Amazon choose the IPv6 CIDR block for you, omit this parameter.
-
getIpv6IpamPoolId
Associates a CIDR allocated from an IPv6 IPAM pool to a VPC.For more information about Amazon VPC IP Address Manager (IPAM), see What is IPAM? in the Amazon VPC IPAM User Guide .
-
getIpv6NetmaskLength
The netmask length of the IPv6 CIDR you would like to associate from an Amazon VPC IP Address Manager (IPAM) pool.For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide .
-
getIpv6Pool
The ID of an IPv6 address pool from which to allocate the IPv6 CIDR block. -
builder
- Returns:
- a
CfnVPCCidrBlockProps.Builder
ofCfnVPCCidrBlockProps
-