Interface AwsIpamProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AwsIpamProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:26.458Z") @Stability(Stable) public interface AwsIpamProps extends software.amazon.jsii.JsiiSerializable
Configuration for AwsIpam.

Example:

 import software.amazon.awscdk.services.ec2.IpAddresses;
 CfnIPAMPool pool;
 Vpc.Builder.create(this, "TheVPC")
         .ipAddresses(IpAddresses.awsIpamAllocation(AwsIpamProps.builder()
                 .ipv4IpamPoolId(pool.getRef())
                 .ipv4NetmaskLength(18)
                 .defaultSubnetIpv4NetmaskLength(24)
                 .build()))
         .build();
 
  • Method Details

    • getIpv4IpamPoolId

      @Stability(Stable) @NotNull String getIpv4IpamPoolId()
      Ipam Pool Id for ipv4 allocation.
    • getIpv4NetmaskLength

      @Stability(Stable) @NotNull Number getIpv4NetmaskLength()
      Netmask length for Vpc.
    • getDefaultSubnetIpv4NetmaskLength

      @Stability(Stable) @Nullable default Number getDefaultSubnetIpv4NetmaskLength()
      Default length for Subnet ipv4 Network mask.

      Specify this option only if you do not specify all Subnets using SubnetConfiguration with a cidrMask

      Default: - Default ipv4 Subnet Mask for subnets in Vpc

    • builder

      @Stability(Stable) static AwsIpamProps.Builder builder()
      Returns:
      a AwsIpamProps.Builder of AwsIpamProps