@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:16.920Z") @Stability(value=Stable) public class CfnIPAMAllocation extends CfnResource implements IInspectable
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.*;
CfnIPAMAllocation cfnIPAMAllocation = CfnIPAMAllocation.Builder.create(this, "MyCfnIPAMAllocation")
.ipamPoolId("ipamPoolId")
// the properties below are optional
.cidr("cidr")
.description("description")
.netmaskLength(123)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnIPAMAllocation.Builder
A fluent builder for
CfnIPAMAllocation. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnIPAMAllocation(software.constructs.Construct scope,
String id,
CfnIPAMAllocationProps props)
Create a new `AWS::EC2::IPAMAllocation`.
|
protected |
CfnIPAMAllocation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnIPAMAllocation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrIpamPoolAllocationId() |
protected Map<String,Object> |
getCfnProperties() |
String |
getCidr()
`AWS::EC2::IPAMAllocation.Cidr`.
|
String |
getDescription()
`AWS::EC2::IPAMAllocation.Description`.
|
String |
getIpamPoolId()
`AWS::EC2::IPAMAllocation.IpamPoolId`.
|
Number |
getNetmaskLength()
`AWS::EC2::IPAMAllocation.NetmaskLength`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCidr(String value)
`AWS::EC2::IPAMAllocation.Cidr`.
|
void |
setDescription(String value)
`AWS::EC2::IPAMAllocation.Description`.
|
void |
setIpamPoolId(String value)
`AWS::EC2::IPAMAllocation.IpamPoolId`.
|
void |
setNetmaskLength(Number value)
`AWS::EC2::IPAMAllocation.NetmaskLength`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnIPAMAllocation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnIPAMAllocation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnIPAMAllocation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnIPAMAllocationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrIpamPoolAllocationId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getCidr()
@Stability(value=Stable)
public void setCidr(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getIpamPoolId()
@Stability(value=Stable)
public void setIpamPoolId(@NotNull
String value)
@Stability(value=Stable) @Nullable public Number getNetmaskLength()
@Stability(value=Stable)
public void setNetmaskLength(@Nullable
Number value)
Copyright © 2021. All rights reserved.