Class CfnConnectAttachment
Creates a core network Connect attachment from a specified core network attachment.
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkManager
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnConnectAttachment : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnConnectAttachment
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
CloudformationResource: AWS::NetworkManager::ConnectAttachment
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 cfnConnectAttachment = new CfnConnectAttachment(this, "MyCfnConnectAttachment", new CfnConnectAttachmentProps {
CoreNetworkId = "coreNetworkId",
EdgeLocation = "edgeLocation",
Options = new ConnectAttachmentOptionsProperty {
Protocol = "protocol"
},
TransportAttachmentId = "transportAttachmentId",
// the properties below are optional
NetworkFunctionGroupName = "networkFunctionGroupName",
ProposedNetworkFunctionGroupChange = new ProposedNetworkFunctionGroupChangeProperty {
AttachmentPolicyRuleNumber = 123,
NetworkFunctionGroupName = "networkFunctionGroupName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
},
ProposedSegmentChange = new ProposedSegmentChangeProperty {
AttachmentPolicyRuleNumber = 123,
SegmentName = "segmentName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnConnectAttachment(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConnectAttachment(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnConnectAttachment(Construct, String, ICfnConnectAttachmentProps) |
Properties
AttrAttachmentId | The ID of the Connect attachment. |
AttrAttachmentPolicyRuleNumber | The rule number associated with the attachment. |
AttrAttachmentType | The type of attachment. |
AttrCoreNetworkArn | The ARN of the core network. |
AttrCreatedAt | The timestamp when the Connect attachment was created. |
AttrOwnerAccountId | The ID of the Connect attachment owner. |
AttrResourceArn | The resource ARN for the Connect attachment. |
AttrSegmentName | The name of the Connect attachment's segment. |
AttrState | The state of the Connect attachment. |
AttrUpdatedAt | The timestamp when the Connect attachment was last updated. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
CoreNetworkId | The ID of the core network where the Connect attachment is located. |
EdgeLocation | The Region where the edge is located. |
NetworkFunctionGroupName | The name of the network function group. |
Options | Options for connecting an attachment. |
ProposedNetworkFunctionGroupChange | Describes proposed changes to a network function group. |
ProposedSegmentChange | Describes a proposed segment change. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags associated with the Connect attachment. |
TransportAttachmentId | The ID of the transport attachment. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConnectAttachment(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConnectAttachment(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConnectAttachment(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConnectAttachment(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnConnectAttachment(Construct, String, ICfnConnectAttachmentProps)
public CfnConnectAttachment(Construct scope, string id, ICfnConnectAttachmentProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnConnectAttachmentProps
Resource properties.
Properties
AttrAttachmentId
The ID of the Connect attachment.
public virtual string AttrAttachmentId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AttachmentId
AttrAttachmentPolicyRuleNumber
The rule number associated with the attachment.
public virtual double AttrAttachmentPolicyRuleNumber { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: AttachmentPolicyRuleNumber
AttrAttachmentType
The type of attachment.
public virtual string AttrAttachmentType { get; }
Property Value
System.String
Remarks
This will be CONNECT
.
CloudformationAttribute: AttachmentType
AttrCoreNetworkArn
The ARN of the core network.
public virtual string AttrCoreNetworkArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CoreNetworkArn
AttrCreatedAt
The timestamp when the Connect attachment was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrOwnerAccountId
The ID of the Connect attachment owner.
public virtual string AttrOwnerAccountId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: OwnerAccountId
AttrResourceArn
The resource ARN for the Connect attachment.
public virtual string AttrResourceArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceArn
AttrSegmentName
The name of the Connect attachment's segment.
public virtual string AttrSegmentName { get; }
Property Value
System.String
Remarks
CloudformationAttribute: SegmentName
AttrState
The state of the Connect attachment.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
This can be: REJECTED
| PENDING_ATTACHMENT_ACCEPTANCE
| CREATING
| FAILED
| AVAILABLE
| UPDATING
| PENDING_NETWORK_UPDATE
| PENDING_TAG_ACCEPTANCE
| DELETING
.
CloudformationAttribute: State
AttrUpdatedAt
The timestamp when the Connect attachment was last updated.
public virtual string AttrUpdatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: UpdatedAt
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
CoreNetworkId
The ID of the core network where the Connect attachment is located.
public virtual string CoreNetworkId { get; set; }
Property Value
System.String
EdgeLocation
The Region where the edge is located.
public virtual string EdgeLocation { get; set; }
Property Value
System.String
NetworkFunctionGroupName
The name of the network function group.
public virtual string NetworkFunctionGroupName { get; set; }
Property Value
System.String
Options
Options for connecting an attachment.
public virtual object Options { get; set; }
Property Value
System.Object
ProposedNetworkFunctionGroupChange
Describes proposed changes to a network function group.
public virtual object ProposedNetworkFunctionGroupChange { get; set; }
Property Value
System.Object
ProposedSegmentChange
Describes a proposed segment change.
public virtual object ProposedSegmentChange { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags associated with the Connect attachment.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TransportAttachmentId
The ID of the transport attachment.
public virtual string TransportAttachmentId { get; set; }
Property Value
System.String
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>