@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.097Z") public class CfnGlobalNetwork extends CfnResource implements IInspectable
Creates a new, empty global network.
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.networkmanager.*; CfnGlobalNetwork cfnGlobalNetwork = CfnGlobalNetwork.Builder.create(this, "MyCfnGlobalNetwork") .description("description") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnGlobalNetwork.Builder
A fluent builder for
CfnGlobalNetwork . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnGlobalNetwork(Construct scope,
java.lang.String id)
Create a new `AWS::NetworkManager::GlobalNetwork`.
|
|
CfnGlobalNetwork(Construct scope,
java.lang.String id,
CfnGlobalNetworkProps props)
Create a new `AWS::NetworkManager::GlobalNetwork`.
|
protected |
CfnGlobalNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnGlobalNetwork(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The ARN of the global network.
|
java.lang.String |
getAttrId()
The ID of the global network.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
A description of the global network.
|
TagManager |
getTags()
The tags for the global network.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
A description of the global network.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnGlobalNetwork(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnGlobalNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnGlobalNetwork(Construct scope, java.lang.String id, CfnGlobalNetworkProps 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.public CfnGlobalNetwork(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
For example, arn:aws:networkmanager::123456789012:global-network/global-network-01231231231231231
.
public java.lang.String getAttrId()
For example, global-network-01231231231231231
.
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDescription()
Constraints: Maximum length of 256 characters.
public void setDescription(java.lang.String value)
Constraints: Maximum length of 256 characters.