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

Description

 
Synopsis

Documentation

data RouteTableAssociation Source #

Describes an association between a route table and a subnet or gateway.

See: newRouteTableAssociation smart constructor.

Constructors

RouteTableAssociation' 

Fields

Instances

Instances details
FromXML RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

Generic RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

Associated Types

type Rep RouteTableAssociation :: Type -> Type #

Read RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

Show RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

NFData RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

Methods

rnf :: RouteTableAssociation -> () #

Eq RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

Hashable RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

type Rep RouteTableAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.RouteTableAssociation

type Rep RouteTableAssociation = D1 ('MetaData "RouteTableAssociation" "Amazonka.EC2.Types.RouteTableAssociation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "RouteTableAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteTableAssociationState)) :*: (S1 ('MetaSel ('Just "gatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "main") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "routeTableAssociationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "routeTableId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRouteTableAssociation :: RouteTableAssociation Source #

Create a value of RouteTableAssociation 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:associationState:RouteTableAssociation', routeTableAssociation_associationState - The state of the association.

$sel:gatewayId:RouteTableAssociation', routeTableAssociation_gatewayId - The ID of the internet gateway or virtual private gateway.

$sel:main:RouteTableAssociation', routeTableAssociation_main - Indicates whether this is the main route table.

$sel:routeTableAssociationId:RouteTableAssociation', routeTableAssociation_routeTableAssociationId - The ID of the association.

$sel:routeTableId:RouteTableAssociation', routeTableAssociation_routeTableId - The ID of the route table.

$sel:subnetId:RouteTableAssociation', routeTableAssociation_subnetId - The ID of the subnet. A subnet ID is not returned for an implicit association.

routeTableAssociation_gatewayId :: Lens' RouteTableAssociation (Maybe Text) Source #

The ID of the internet gateway or virtual private gateway.

routeTableAssociation_main :: Lens' RouteTableAssociation (Maybe Bool) Source #

Indicates whether this is the main route table.

routeTableAssociation_subnetId :: Lens' RouteTableAssociation (Maybe Text) Source #

The ID of the subnet. A subnet ID is not returned for an implicit association.