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

Description

 
Synopsis

Documentation

data TransitGatewayRouteTableRoute Source #

Describes a route in a transit gateway route table.

See: newTransitGatewayRouteTableRoute smart constructor.

Constructors

TransitGatewayRouteTableRoute' 

Fields

Instances

Instances details
FromXML TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

Generic TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

Associated Types

type Rep TransitGatewayRouteTableRoute :: Type -> Type #

Read TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

Show TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

NFData TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

Eq TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

Hashable TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

type Rep TransitGatewayRouteTableRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.TransitGatewayRouteTableRoute

type Rep TransitGatewayRouteTableRoute = D1 ('MetaData "TransitGatewayRouteTableRoute" "Amazonka.EC2.Types.TransitGatewayRouteTableRoute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "TransitGatewayRouteTableRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationCidr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "routeOrigin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newTransitGatewayRouteTableRoute :: TransitGatewayRouteTableRoute Source #

Create a value of TransitGatewayRouteTableRoute 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:attachmentId:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_attachmentId - The ID of the route attachment.

$sel:destinationCidr:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_destinationCidr - The CIDR block used for destination matches.

$sel:prefixListId:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_prefixListId - The ID of the prefix list.

$sel:resourceId:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_resourceId - The ID of the resource for the route attachment.

$sel:resourceType:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_resourceType - The resource type for the route attachment.

$sel:routeOrigin:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_routeOrigin - The route origin. The following are the possible values:

  • static
  • propagated

$sel:state:TransitGatewayRouteTableRoute', transitGatewayRouteTableRoute_state - The state of the route.

transitGatewayRouteTableRoute_routeOrigin :: Lens' TransitGatewayRouteTableRoute (Maybe Text) Source #

The route origin. The following are the possible values:

  • static
  • propagated