AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes an attachment between a resource and a transit gateway.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.TransitGatewayAttachment

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class TransitGatewayAttachment

The TransitGatewayAttachment type exposes the following members

Constructors

NameDescription
Public Method TransitGatewayAttachment()

Properties

NameTypeDescription
Public Property Association Amazon.EC2.Model.TransitGatewayAttachmentAssociation

Gets and sets the property Association.

The association.

Public Property CreationTime System.DateTime

Gets and sets the property CreationTime.

The creation time.

Public Property ResourceId System.String

Gets and sets the property ResourceId.

The ID of the resource.

Public Property ResourceOwnerId System.String

Gets and sets the property ResourceOwnerId.

The ID of the Amazon Web Services account that owns the resource.

Public Property ResourceType Amazon.EC2.TransitGatewayAttachmentResourceType

Gets and sets the property ResourceType.

The resource type. Note that the tgw-peering resource type has been deprecated.

Public Property State Amazon.EC2.TransitGatewayAttachmentState

Gets and sets the property State.

The attachment state. Note that the initiating state has been deprecated.

Public Property Tags System.Collections.Generic.List<Amazon.EC2.Model.Tag>

Gets and sets the property Tags.

The tags for the attachment.

Public Property TransitGatewayAttachmentId System.String

Gets and sets the property TransitGatewayAttachmentId.

The ID of the attachment.

Public Property TransitGatewayId System.String

Gets and sets the property TransitGatewayId.

The ID of the transit gateway.

Public Property TransitGatewayOwnerId System.String

Gets and sets the property TransitGatewayOwnerId.

The ID of the Amazon Web Services account that owns the transit gateway.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5