Class CfnIPAMPoolCidr
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::EC2::IPAMPoolCidr.
A CIDR provisioned to an IPAM pool.
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.*;
CfnIPAMPoolCidr cfnIPAMPoolCidr = CfnIPAMPoolCidr.Builder.create(this, "MyCfnIPAMPoolCidr")
.ipamPoolId("ipamPoolId")
// the properties below are optional
.cidr("cidr")
.netmaskLength(123)
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnIPAMPoolCidr(Construct scope, String id, CfnIPAMPoolCidrProps props) Create a newAWS::EC2::IPAMPoolCidr.protectedCfnIPAMPoolCidr(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnIPAMPoolCidr(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe IPAM pool CIDR ID.The state of the CIDR.getCidr()The CIDR provisioned to the IPAM pool.The ID of the IPAM pool.The netmask length of the CIDR you'd like to provision to a pool.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe CIDR provisioned to the IPAM pool.voidsetIpamPoolId(String value) The ID of the IPAM pool.voidsetNetmaskLength(Number value) The netmask length of the CIDR you'd like to provision to a pool.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnIPAMPoolCidr
protected CfnIPAMPoolCidr(software.amazon.jsii.JsiiObjectRef objRef) -
CfnIPAMPoolCidr
protected CfnIPAMPoolCidr(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnIPAMPoolCidr
@Stability(Stable) public CfnIPAMPoolCidr(@NotNull Construct scope, @NotNull String id, @NotNull CfnIPAMPoolCidrProps props) Create a newAWS::EC2::IPAMPoolCidr.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrIpamPoolCidrId
The IPAM pool CIDR ID. -
getAttrState
The state of the CIDR. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getIpamPoolId
The ID of the IPAM pool. -
setIpamPoolId
The ID of the IPAM pool. -
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. -
setCidr
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. -
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.
-
setNetmaskLength
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.
-