Interface CfnIPAMPoolCidrProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIPAMPoolCidrProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:57.946Z")
@Stability(Stable)
public interface CfnIPAMPoolCidrProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnIPAMPoolCidr
.
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.*; CfnIPAMPoolCidrProps cfnIPAMPoolCidrProps = CfnIPAMPoolCidrProps.builder() .ipamPoolId("ipamPoolId") // the properties below are optional .cidr("cidr") .netmaskLength(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIPAMPoolCidrProps
static final class
An implementation forCfnIPAMPoolCidrProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnIPAMPoolCidrProps.Builder
builder()
default String
getCidr()
The CIDR provisioned to the IPAM pool.The ID of the IPAM pool.default Number
The netmask length of the CIDR you'd like to provision to a pool.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIpamPoolId
The ID of the IPAM pool.- See Also:
-
getCidr
The CIDR provisioned to the IPAM pool.A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is
10.24.34.0/23
. An IPv6 CIDR example is2001:DB8::/32
.- See Also:
-
getNetmaskLength
The netmask length of the CIDR you'd like to provision to a pool.Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
- See Also:
-
builder
- Returns:
- a
CfnIPAMPoolCidrProps.Builder
ofCfnIPAMPoolCidrProps
-