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

Description

 
Synopsis

Documentation

data InternetGatewayAttachment Source #

Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.

See: newInternetGatewayAttachment smart constructor.

Constructors

InternetGatewayAttachment' 

Fields

  • state :: AttachmentStatus

    The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

  • vpcId :: Text

    The ID of the VPC.

Instances

Instances details
FromXML InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

Generic InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

Associated Types

type Rep InternetGatewayAttachment :: Type -> Type #

Read InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

Show InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

NFData InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

Eq InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

Hashable InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

type Rep InternetGatewayAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.InternetGatewayAttachment

type Rep InternetGatewayAttachment = D1 ('MetaData "InternetGatewayAttachment" "Amazonka.EC2.Types.InternetGatewayAttachment" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InternetGatewayAttachment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AttachmentStatus) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInternetGatewayAttachment Source #

Create a value of InternetGatewayAttachment 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:state:InternetGatewayAttachment', internetGatewayAttachment_state - The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.

$sel:vpcId:InternetGatewayAttachment', internetGatewayAttachment_vpcId - The ID of the VPC.

internetGatewayAttachment_state :: Lens' InternetGatewayAttachment AttachmentStatus Source #

The current state of the attachment. For an internet gateway, the state is available when attached to a VPC; otherwise, this value is not returned.