@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.045Z") @Stability(value=Stable) public class CfnCoreNetwork extends CfnResource implements IInspectable
Describes a core network within a 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.*;
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.
|
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 |
|---|---|
|
CfnCoreNetwork(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrCoreNetworkArn()
The ARN of the core network.
|
String |
getAttrCoreNetworkId()
The core network ID.
|
String |
getAttrCreatedAt()
The timestamp when the core network was created.
|
IResolvable |
getAttrEdges() |
String |
getAttrOwnerAccount() |
IResolvable |
getAttrSegments() |
String |
getAttrState()
The current state of the core network.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description of a core network.
|
String |
getGlobalNetworkId()
The ID of the global network that your core network is a part of.
|
Object |
getPolicyDocument()
Describes a core network policy.
|
TagManager |
getTags()
The tags associated with a core network.
|
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 a core network.
|
void |
setGlobalNetworkId(String value)
The ID of the global network that your core network is a part of.
|
void |
setPolicyDocument(Object value)
Describes a core network policy.
|
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 CfnCoreNetwork(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCoreNetwork(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnCoreNetwork(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@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 getAttrCoreNetworkArn()
@Stability(value=Stable) @NotNull public String getAttrCoreNetworkId()
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull public IResolvable getAttrEdges()
@Stability(value=Stable) @NotNull public String getAttrOwnerAccount()
@Stability(value=Stable) @NotNull public IResolvable getAttrSegments()
@Stability(value=Stable) @NotNull public String getAttrState()
These states are: CREATING | UPDATING | AVAILABLE | DELETING .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getGlobalNetworkId()
@Stability(value=Stable)
public void setGlobalNetworkId(@NotNull
String value)
@Stability(value=Stable) @NotNull public 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.
@Stability(value=Stable)
public void setPolicyDocument(@NotNull
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.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Copyright © 2022. All rights reserved.