@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.191Z") @Stability(value=Stable) public class CfnIPAMScope extends CfnResource implements IInspectable
In IPAM, a scope is the highest-level container within IPAM. An IPAM contains two default scopes. Each scope represents the IP space for a single network. The private scope is intended for all private IP address space. The public scope is intended for all public IP address space. Scopes enable you to reuse IP addresses across multiple unconnected networks without causing IP address overlap or conflict.
For more information, see How IPAM works 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.*;
CfnIPAMScope cfnIPAMScope = CfnIPAMScope.Builder.create(this, "MyCfnIPAMScope")
.ipamId("ipamId")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnIPAMScope.Builder
A fluent builder for
CfnIPAMScope. |
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 |
|---|---|
|
CfnIPAMScope(software.constructs.Construct scope,
String id,
CfnIPAMScopeProps props)
Create a new `AWS::EC2::IPAMScope`.
|
protected |
CfnIPAMScope(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnIPAMScope(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The ARN of the scope.
|
String |
getAttrIpamArn()
The ARN of an IPAM.
|
String |
getAttrIpamScopeId()
The ID of an IPAM scope.
|
String |
getAttrIpamScopeType()
The type of the scope.
|
IResolvable |
getAttrIsDefault()
Defines if the scope is the default scope or not.
|
Number |
getAttrPoolCount()
The number of pools in a scope.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of the scope.
|
String |
getIpamId()
The ID of the IPAM for which you're creating this scope.
|
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 of the scope.
|
void |
setIpamId(String value)
The ID of the IPAM for which you're creating this scope.
|
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 CfnIPAMScope(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnIPAMScope(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnIPAMScope(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnIPAMScopeProps 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 getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrIpamArn()
@Stability(value=Stable) @NotNull public String getAttrIpamScopeId()
@Stability(value=Stable) @NotNull public String getAttrIpamScopeType()
@Stability(value=Stable) @NotNull public IResolvable getAttrIsDefault()
@Stability(value=Stable) @NotNull public Number getAttrPoolCount()
@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) @NotNull public String getIpamId()
@Stability(value=Stable)
public void setIpamId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.