Skip to content

TransitGatewayAttachment

Source code in docs_src/capo_ec2/types/transit_gateway_attachment.py
class TransitGatewayAttachment(TypedDict, closed=True):
    transit_gateway_attachment_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the attachment.</p>"""
    transit_gateway_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the transit gateway.</p>"""
    transit_gateway_owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Amazon Web Services account that owns the transit gateway.</p>"""
    resource_owner_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the Amazon Web Services account that owns the resource.</p>"""
    resource_type: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_resource_type.TransitGatewayAttachmentResourceType"
    ]
    """<p>The resource type. Note that the <code>tgw-peering</code> resource type has been deprecated.</p>"""
    resource_id: NotRequired["capo_ec2.types.string.String"]
    """<p>The ID of the resource.</p>"""
    state: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_state.TransitGatewayAttachmentState"
    ]
    """<p>The attachment state. Note that the <code>initiating</code> state has been deprecated.</p>"""
    association: NotRequired[
        "capo_ec2.types.transit_gateway_attachment_association.TransitGatewayAttachmentAssociation"
    ]
    """<p>The association.</p>"""
    creation_time: NotRequired["capo_ec2.types.date_time.DateTime"]
    """<p>The creation time.</p>"""
    tags: NotRequired["capo_ec2.types.tag_list.TagList"]
    """<p>The tags for the attachment.</p>"""

association instance-attribute

association: NotRequired[TransitGatewayAttachmentAssociation]

The association.

creation_time instance-attribute

creation_time: NotRequired[DateTime]

The creation time.

resource_id instance-attribute

resource_id: NotRequired[String]

The ID of the resource.

resource_owner_id instance-attribute

resource_owner_id: NotRequired[String]

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

resource_type instance-attribute

resource_type: NotRequired[TransitGatewayAttachmentResourceType]

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

state instance-attribute

state: NotRequired[TransitGatewayAttachmentState]

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

tags instance-attribute

tags: NotRequired[TagList]

The tags for the attachment.

transit_gateway_attachment_id instance-attribute

transit_gateway_attachment_id: NotRequired[String]

The ID of the attachment.

transit_gateway_id instance-attribute

transit_gateway_id: NotRequired[String]

The ID of the transit gateway.

transit_gateway_owner_id instance-attribute

transit_gateway_owner_id: NotRequired[String]

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