amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.TransitGatewayAttachment

Description

 
Synopsis

Documentation

data TransitGatewayAttachment Source #

Describes an attachment between a resource and a transit gateway.

See: newTransitGatewayAttachment smart constructor.

Constructors

TransitGatewayAttachment' 

Fields

Instances

Instances details
FromXML TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

Generic TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

Associated Types

type Rep TransitGatewayAttachment :: Type -> Type #

Read TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

Show TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

NFData TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

Eq TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

Hashable TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

type Rep TransitGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAttachment

type Rep TransitGatewayAttachment = D1 ('MetaData "TransitGatewayAttachment" "Amazonka.EC2.Types.TransitGatewayAttachment" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TransitGatewayAttachment'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "association") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayAttachmentAssociation)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayAttachmentResourceType))))) :*: ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayAttachmentState)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "transitGatewayAttachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "transitGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transitGatewayOwnerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newTransitGatewayAttachment :: TransitGatewayAttachment Source #

Create a value of TransitGatewayAttachment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:association:TransitGatewayAttachment', transitGatewayAttachment_association - The association.

$sel:creationTime:TransitGatewayAttachment', transitGatewayAttachment_creationTime - The creation time.

$sel:resourceId:TransitGatewayAttachment', transitGatewayAttachment_resourceId - The ID of the resource.

$sel:resourceOwnerId:TransitGatewayAttachment', transitGatewayAttachment_resourceOwnerId - The ID of the Amazon Web Services account that owns the resource.

$sel:resourceType:TransitGatewayAttachment', transitGatewayAttachment_resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.

TransitGatewayAttachment, transitGatewayAttachment_state - The attachment state. Note that the initiating state has been deprecated.

$sel:tags:TransitGatewayAttachment', transitGatewayAttachment_tags - The tags for the attachment.

$sel:transitGatewayAttachmentId:TransitGatewayAttachment', transitGatewayAttachment_transitGatewayAttachmentId - The ID of the attachment.

$sel:transitGatewayId:TransitGatewayAttachment', transitGatewayAttachment_transitGatewayId - The ID of the transit gateway.

$sel:transitGatewayOwnerId:TransitGatewayAttachment', transitGatewayAttachment_transitGatewayOwnerId - The ID of the Amazon Web Services account that owns the transit gateway.

transitGatewayAttachment_resourceOwnerId :: Lens' TransitGatewayAttachment (Maybe Text) Source #

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

transitGatewayAttachment_resourceType :: Lens' TransitGatewayAttachment (Maybe TransitGatewayAttachmentResourceType) Source #

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

transitGatewayAttachment_state :: Lens' TransitGatewayAttachment (Maybe TransitGatewayAttachmentState) Source #

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

transitGatewayAttachment_transitGatewayOwnerId :: Lens' TransitGatewayAttachment (Maybe Text) Source #

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