Class CfnCoreNetwork
A CloudFormation AWS::NetworkManager::CoreNetwork
.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.AWS.NetworkManager.dll
Syntax (csharp)
public class CfnCoreNetwork : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnCoreNetwork
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Describes a core network.
CloudformationResource: AWS::NetworkManager::CoreNetwork
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;
var policyDocument;
var cfnCoreNetwork = new CfnCoreNetwork(this, "MyCfnCoreNetwork", new CfnCoreNetworkProps {
GlobalNetworkId = "globalNetworkId",
// the properties below are optional
Description = "description",
PolicyDocument = policyDocument,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnCoreNetwork(Construct, String, ICfnCoreNetworkProps) | Create a new |
CfnCoreNetwork(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnCoreNetwork(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrCoreNetworkArn | The ARN of the core network. |
AttrCoreNetworkId | The ID of the core network. |
AttrCreatedAt | The timestamp when the core network was created. |
AttrEdges | The edges. |
AttrOwnerAccount | |
AttrSegments | The segments. |
AttrState | The current state of the core network. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of a core network. |
GlobalNetworkId | The ID of the global network that your core network is a part of. |
PolicyDocument | Describes a core network policy. For more information, see Core network policies . |
Tags | The list of key-value tags associated with a core network. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnCoreNetwork(Construct, String, ICfnCoreNetworkProps)
Create a new AWS::NetworkManager::CoreNetwork
.
public CfnCoreNetwork(Construct scope, string id, ICfnCoreNetworkProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnCoreNetworkProps
- resource properties.
CfnCoreNetwork(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnCoreNetwork(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnCoreNetwork(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnCoreNetwork(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrCoreNetworkArn
The ARN of the core network.
public virtual string AttrCoreNetworkArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CoreNetworkArn
AttrCoreNetworkId
The ID of the core network.
public virtual string AttrCoreNetworkId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CoreNetworkId
AttrCreatedAt
The timestamp when the core network was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrEdges
The edges.
public virtual IResolvable AttrEdges { get; }
Property Value
Remarks
CloudformationAttribute: Edges
AttrOwnerAccount
public virtual string AttrOwnerAccount { get; }
Property Value
System.String
Remarks
CloudformationAttribute: OwnerAccount
AttrSegments
The segments.
public virtual IResolvable AttrSegments { get; }
Property Value
Remarks
CloudformationAttribute: Segments
AttrState
The current state of the core network.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
These states are: CREATING
| UPDATING
| AVAILABLE
| DELETING
.
CloudformationAttribute: State
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of a core network.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
GlobalNetworkId
The ID of the global network that your core network is a part of.
public virtual string GlobalNetworkId { get; set; }
Property Value
System.String
Remarks
PolicyDocument
Describes a core network policy. For more information, see Core network policies .
public virtual object PolicyDocument { get; set; }
Property Value
System.Object
Remarks
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.
Tags
The list of key-value tags associated with a core network.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>