@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:38.924Z") public class CfnCoreNetwork extends CfnResource implements IInspectable
Describes a core 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.*; Object policyDocument; CfnCoreNetwork cfnCoreNetwork = CfnCoreNetwork.Builder.create(this, "MyCfnCoreNetwork") .globalNetworkId("globalNetworkId") // the properties below are optional .description("description") .policyDocument(policyDocument) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnCoreNetwork.Builder
A fluent builder for
CfnCoreNetwork . |
static interface |
CfnCoreNetwork.CoreNetworkEdgeProperty
Describes a core network edge.
|
static interface |
CfnCoreNetwork.CoreNetworkSegmentProperty
Describes a core network segment, which are dedicated routes.
|
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 |
---|---|
|
CfnCoreNetwork(Construct scope,
java.lang.String id,
CfnCoreNetworkProps props)
Create a new `AWS::NetworkManager::CoreNetwork`.
|
protected |
CfnCoreNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCoreNetwork(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrCoreNetworkArn()
The ARN of the core network.
|
java.lang.String |
getAttrCoreNetworkId()
The ID of the core network.
|
java.lang.String |
getAttrCreatedAt()
The timestamp when the core network was created.
|
IResolvable |
getAttrEdges()
The edges.
|
java.lang.String |
getAttrOwnerAccount() |
IResolvable |
getAttrSegments()
The segments.
|
java.lang.String |
getAttrState()
The current state of the core network.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The description of a core network.
|
java.lang.String |
getGlobalNetworkId()
The ID of the global network that your core network is a part of.
|
java.lang.Object |
getPolicyDocument()
Describes a core network policy.
|
TagManager |
getTags()
The list of key-value tags associated with a core 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)
The description of a core network.
|
void |
setGlobalNetworkId(java.lang.String value)
The ID of the global network that your core network is a part of.
|
void |
setPolicyDocument(java.lang.Object value)
Describes a core network policy.
|
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 CfnCoreNetwork(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCoreNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnCoreNetwork(Construct scope, java.lang.String id, CfnCoreNetworkProps 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.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 getAttrCoreNetworkArn()
public java.lang.String getAttrCoreNetworkId()
public java.lang.String getAttrCreatedAt()
public IResolvable getAttrEdges()
public java.lang.String getAttrOwnerAccount()
public IResolvable getAttrSegments()
public java.lang.String getAttrState()
These states are: CREATING
| UPDATING
| AVAILABLE
| DELETING
.
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getGlobalNetworkId()
public void setGlobalNetworkId(java.lang.String value)
public java.lang.Object getPolicyDocument()
If you update the policy document, CloudFormation will apply the core network change set generated from the updated policy document, and then set it as the LIVE policy.
public void setPolicyDocument(java.lang.Object value)
If you update the policy document, CloudFormation will apply the core network change set generated from the updated policy document, and then set it as the LIVE policy.
public java.lang.String getDescription()
public void setDescription(java.lang.String value)