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();
 
  • Method Details

    • getAmazonProvided

      @Stability(Experimental) @Nullable default Boolean getAmazonProvided()
      (experimental) Use amazon provided IP range.

      Default: false

    • getCidrBlockName

      @Stability(Experimental) @Nullable default String 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

      @Stability(Experimental) @Nullable default List<CfnResource> getDependencies()
      (experimental) Dependency to associate Ipv6 CIDR block.

      Default: - No dependency

    • getIpv4CidrBlock

      @Stability(Experimental) @Nullable default String getIpv4CidrBlock()
      (experimental) IPv4 CIDR Block.

      Default: '10.0.0.0/16'

    • getIpv4IpamPool

      @Stability(Experimental) @Nullable default IIpamPool getIpv4IpamPool()
      (experimental) Ipv4 IPAM Pool.

      Default: - Only required when using IPAM Ipv4

    • getIpv4IpamProvisionedCidrs

      @Stability(Experimental) @Nullable default List<String> 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

      @Stability(Experimental) @Nullable default Number getIpv4NetmaskLength()
      (experimental) CIDR Mask for Vpc.

      Default: - Only required when using IPAM Ipv4

    • getIpv6IpamPool

      @Stability(Experimental) @Nullable default IIpamPool getIpv6IpamPool()
      (experimental) Ipv6 IPAM pool id for VPC range, can only be defined under public scope.

      Default: - no pool id

    • getIpv6NetmaskLength

      @Stability(Experimental) @Nullable default Number getIpv6NetmaskLength()
      (experimental) CIDR Mask for Vpc.

      Default: - Only required when using AWS Ipam

    • builder

      @Stability(Experimental) static VpcCidrOptions.Builder builder()
      Returns:
      a VpcCidrOptions.Builder of VpcCidrOptions