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.TransitGatewayAssociation

Description

 
Synopsis

Documentation

data TransitGatewayAssociation Source #

Describes an association between a resource attachment and a transit gateway route table.

See: newTransitGatewayAssociation smart constructor.

Constructors

TransitGatewayAssociation' 

Fields

Instances

Instances details
FromXML TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

Generic TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

Associated Types

type Rep TransitGatewayAssociation :: Type -> Type #

Read TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

Show TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

NFData TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

Eq TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

Hashable TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

type Rep TransitGatewayAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayAssociation

type Rep TransitGatewayAssociation = D1 ('MetaData "TransitGatewayAssociation" "Amazonka.EC2.Types.TransitGatewayAssociation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TransitGatewayAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceId") '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 TransitGatewayAssociationState)) :*: (S1 ('MetaSel ('Just "transitGatewayAttachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "transitGatewayRouteTableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTransitGatewayAssociation :: TransitGatewayAssociation Source #

Create a value of TransitGatewayAssociation 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:resourceId:TransitGatewayAssociation', transitGatewayAssociation_resourceId - The ID of the resource.

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

$sel:state:TransitGatewayAssociation', transitGatewayAssociation_state - The state of the association.

$sel:transitGatewayAttachmentId:TransitGatewayAssociation', transitGatewayAssociation_transitGatewayAttachmentId - The ID of the attachment.

$sel:transitGatewayRouteTableId:TransitGatewayAssociation', transitGatewayAssociation_transitGatewayRouteTableId - The ID of the transit gateway route table.

transitGatewayAssociation_resourceType :: Lens' TransitGatewayAssociation (Maybe TransitGatewayAttachmentResourceType) Source #

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