Class CfnTransitGatewayPeeringAttachment
Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter).
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTransitGatewayPeeringAttachment : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTransitGatewayPeeringAttachment
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
The peer transit gateway can be in your account or a different AWS account .
After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.
CloudformationResource: AWS::EC2::TransitGatewayPeeringAttachment
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 cfnTransitGatewayPeeringAttachment = new CfnTransitGatewayPeeringAttachment(this, "MyCfnTransitGatewayPeeringAttachment", new CfnTransitGatewayPeeringAttachmentProps {
PeerAccountId = "peerAccountId",
PeerRegion = "peerRegion",
PeerTransitGatewayId = "peerTransitGatewayId",
TransitGatewayId = "transitGatewayId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnTransitGatewayPeeringAttachment(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTransitGatewayPeeringAttachment(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTransitGatewayPeeringAttachment(Construct, String, ICfnTransitGatewayPeeringAttachmentProps) |
Properties
AttrCreationTime | The time the transit gateway peering attachment was created. |
AttrState | The state of the transit gateway peering attachment. |
AttrStatus | |
AttrStatusCode | |
AttrStatusMessage | |
AttrTransitGatewayAttachmentId | The ID of the transit gateway peering attachment. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
PeerAccountId | The ID of the AWS account that owns the transit gateway. |
PeerRegion | The Region of the transit gateway. |
PeerTransitGatewayId | The ID of the transit gateway. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags for the transit gateway peering attachment. |
TransitGatewayId | The ID of the transit gateway peering attachment. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTransitGatewayPeeringAttachment(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTransitGatewayPeeringAttachment(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTransitGatewayPeeringAttachment(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTransitGatewayPeeringAttachment(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTransitGatewayPeeringAttachment(Construct, String, ICfnTransitGatewayPeeringAttachmentProps)
public CfnTransitGatewayPeeringAttachment(Construct scope, string id, ICfnTransitGatewayPeeringAttachmentProps 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 ICfnTransitGatewayPeeringAttachmentProps
Resource properties.
Properties
AttrCreationTime
The time the transit gateway peering attachment was created.
public virtual string AttrCreationTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreationTime
AttrState
The state of the transit gateway peering attachment.
public virtual string AttrState { get; }
Property Value
System.String
Remarks
Note that the initiating
state has been deprecated.
CloudformationAttribute: State
AttrStatus
public virtual IResolvable AttrStatus { get; }
Property Value
Remarks
CloudformationAttribute: Status
AttrStatusCode
public virtual string AttrStatusCode { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status.Code
AttrStatusMessage
public virtual string AttrStatusMessage { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Status.Message
AttrTransitGatewayAttachmentId
The ID of the transit gateway peering attachment.
public virtual string AttrTransitGatewayAttachmentId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TransitGatewayAttachmentId
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
PeerAccountId
The ID of the AWS account that owns the transit gateway.
public virtual string PeerAccountId { get; set; }
Property Value
System.String
PeerRegion
The Region of the transit gateway.
public virtual string PeerRegion { get; set; }
Property Value
System.String
PeerTransitGatewayId
The ID of the transit gateway.
public virtual string PeerTransitGatewayId { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
The tags for the transit gateway peering attachment.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TransitGatewayId
The ID of the transit gateway peering attachment.
public virtual string TransitGatewayId { 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>