@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.175Z") @Stability(value=Stable) public class CfnIPAM extends CfnResource implements IInspectable
IPAM is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across AWS Regions and accounts throughout your AWS Organization. For more information, see What is IPAM? in the Amazon VPC IPAM User Guide .
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.*;
CfnIPAM cfnIPAM = CfnIPAM.Builder.create(this, "MyCfnIPAM")
.description("description")
.operatingRegions(List.of(IpamOperatingRegionProperty.builder()
.regionName("regionName")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnIPAM.Builder
A fluent builder for
CfnIPAM. |
static interface |
CfnIPAM.IpamOperatingRegionProperty
The operating Regions for an IPAM.
|
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 |
|---|---|
|
CfnIPAM(software.constructs.Construct scope,
String id)
Create a new `AWS::EC2::IPAM`.
|
|
CfnIPAM(software.constructs.Construct scope,
String id,
CfnIPAMProps props)
Create a new `AWS::EC2::IPAM`.
|
protected |
CfnIPAM(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnIPAM(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The ARN of the IPAM.
|
String |
getAttrIpamId()
The ID of the IPAM.
|
String |
getAttrPrivateDefaultScopeId()
The ID of the IPAM's default private scope.
|
String |
getAttrPublicDefaultScopeId()
The ID of the IPAM's default public scope.
|
Number |
getAttrScopeCount()
The number of scopes in the IPAM.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description for the IPAM.
|
Object |
getOperatingRegions()
The operating Regions for an IPAM.
|
TagManager |
getTags()
The key/value combination of a tag assigned to the resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDescription(String value)
The description for the IPAM.
|
void |
setOperatingRegions(IResolvable value)
The operating Regions for an IPAM.
|
void |
setOperatingRegions(List<Object> value)
The operating Regions for an IPAM.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, 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 CfnIPAM(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnIPAM(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnIPAM(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnIPAMProps 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.@Stability(value=Stable)
public CfnIPAM(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. 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 getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrIpamId()
@Stability(value=Stable) @NotNull public String getAttrPrivateDefaultScopeId()
@Stability(value=Stable) @NotNull public String getAttrPublicDefaultScopeId()
@Stability(value=Stable) @NotNull public Number getAttrScopeCount()
The scope quota is 5.
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA , specify tag:Owner for the filter name and TeamA for the filter value.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOperatingRegions()
Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .
@Stability(value=Stable)
public void setOperatingRegions(@Nullable
IResolvable value)
Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .
@Stability(value=Stable)
public void setOperatingRegions(@Nullable
List<Object> value)
Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions.
For more information about operating Regions, see Create an IPAM in the Amazon VPC IPAM User Guide .
Copyright © 2022. All rights reserved.