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

Description

 
Synopsis

Documentation

data VpcAttachment Source #

Describes an attachment between a virtual private gateway and a VPC.

See: newVpcAttachment smart constructor.

Constructors

VpcAttachment' 

Fields

Instances

Instances details
FromXML VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

Generic VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

Associated Types

type Rep VpcAttachment :: Type -> Type #

Read VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

Show VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

NFData VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

Methods

rnf :: VpcAttachment -> () #

Eq VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

Hashable VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

type Rep VpcAttachment Source # 
Instance details

Defined in Amazonka.EC2.Types.VpcAttachment

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

newVpcAttachment :: VpcAttachment Source #

Create a value of VpcAttachment 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:VpcAttachment', vpcAttachment_state - The current state of the attachment.

$sel:vpcId:VpcAttachment', vpcAttachment_vpcId - The ID of the VPC.

vpcAttachment_state :: Lens' VpcAttachment (Maybe AttachmentStatus) Source #

The current state of the attachment.