Class CfnTransitGatewayConnect
A CloudFormation AWS::EC2::TransitGatewayConnect
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnTransitGatewayConnect : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTransitGatewayConnect
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
A Connect attachment uses an existing VPC or AWS Direct Connect attachment as the underlying transport mechanism.
CloudformationResource: AWS::EC2::TransitGatewayConnect
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.EC2;
var cfnTransitGatewayConnect = new CfnTransitGatewayConnect(this, "MyCfnTransitGatewayConnect", new CfnTransitGatewayConnectProps {
Options = new TransitGatewayConnectOptionsProperty {
Protocol = "protocol"
},
TransportTransitGatewayAttachmentId = "transportTransitGatewayAttachmentId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnTransitGatewayConnect(Construct, String, ICfnTransitGatewayConnectProps) | Create a new |
CfnTransitGatewayConnect(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTransitGatewayConnect(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrCreationTime | The creation time. |
AttrState | The state of the attachment. |
AttrTransitGatewayAttachmentId | The ID of the transit gateway attachment. |
AttrTransitGatewayId | The ID of the transit gateway. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Options | The Connect attachment options. |
Tags | The tags for the attachment. |
TransportTransitGatewayAttachmentId | The ID of the attachment from which the Connect attachment was created. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTransitGatewayConnect(Construct, String, ICfnTransitGatewayConnectProps)
Create a new AWS::EC2::TransitGatewayConnect
.
public CfnTransitGatewayConnect(Construct scope, string id, ICfnTransitGatewayConnectProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnTransitGatewayConnectProps
- resource properties.
CfnTransitGatewayConnect(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTransitGatewayConnect(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTransitGatewayConnect(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTransitGatewayConnect(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrCreationTime
The creation time.
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
AttrState
The state of the attachment.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: State
AttrTransitGatewayAttachmentId
The ID of the transit gateway attachment.
public virtual string AttrTransitGatewayAttachmentId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TransitGatewayAttachmentId
AttrTransitGatewayId
The ID of the transit gateway.
public virtual string AttrTransitGatewayId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TransitGatewayId
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
Options
The Connect attachment options.
public virtual object Options { get; set; }
Property Value
System.Object
Remarks
Tags
The tags for the attachment.
public virtual TagManager Tags { get; }
Property Value
Remarks
TransportTransitGatewayAttachmentId
The ID of the attachment from which the Connect attachment was created.
public virtual string TransportTransitGatewayAttachmentId { get; set; }
Property Value
System.String
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>