Interface VpcCidrOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VpcCidrOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-13T21:17:43.057Z")
@Stability(Experimental)
public interface VpcCidrOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) Consolidated return parameters to pass to VPC construct.
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.alpha.*; import software.amazon.awscdk.*; CfnResource cfnResource; IIpamPool ipamPool; VpcCidrOptions vpcCidrOptions = VpcCidrOptions.builder() .amazonProvided(false) .cidrBlockName("cidrBlockName") .dependencies(List.of(cfnResource)) .ipv4CidrBlock("ipv4CidrBlock") .ipv4IpamPool(ipamPool) .ipv4IpamProvisionedCidrs(List.of("ipv4IpamProvisionedCidrs")) .ipv4NetmaskLength(123) .ipv6IpamPool(ipamPool) .ipv6NetmaskLength(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forVpcCidrOptions
static final class
An implementation forVpcCidrOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic VpcCidrOptions.Builder
builder()
default Boolean
(experimental) Use amazon provided IP range.default String
(experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.default List<CfnResource>
(experimental) Dependency to associate Ipv6 CIDR block.default String
(experimental) IPv4 CIDR Block.default IIpamPool
(experimental) Ipv4 IPAM Pool.(experimental) IPv4 CIDR provisioned under pool Required to check for overlapping CIDRs after provisioning is complete under IPAM pool.default Number
(experimental) CIDR Mask for Vpc.default IIpamPool
(experimental) Ipv6 IPAM pool id for VPC range, can only be defined under public scope.default Number
(experimental) CIDR Mask for Vpc.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAmazonProvided
(experimental) Use amazon provided IP range.Default: false
-
getCidrBlockName
(experimental) Required to set Secondary cidr block resource name in order to generate unique logical id for the resource.Default: - no name for primary addresses
-
getDependencies
(experimental) Dependency to associate Ipv6 CIDR block.Default: - No dependency
-
getIpv4CidrBlock
(experimental) IPv4 CIDR Block.Default: '10.0.0.0/16'
-
getIpv4IpamPool
(experimental) Ipv4 IPAM Pool.Default: - Only required when using IPAM Ipv4
-
getIpv4IpamProvisionedCidrs
(experimental) IPv4 CIDR provisioned under pool Required to check for overlapping CIDRs after provisioning is complete under IPAM pool.Default: - no IPAM IPv4 CIDR range is provisioned using IPAM
-
getIpv4NetmaskLength
(experimental) CIDR Mask for Vpc.Default: - Only required when using IPAM Ipv4
-
getIpv6IpamPool
(experimental) Ipv6 IPAM pool id for VPC range, can only be defined under public scope.Default: - no pool id
-
getIpv6NetmaskLength
(experimental) CIDR Mask for Vpc.Default: - Only required when using AWS Ipam
-
builder
- Returns:
- a
VpcCidrOptions.Builder
ofVpcCidrOptions
-