Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data InternetGatewayAttachment = InternetGatewayAttachment' {
- state :: AttachmentStatus
- vpcId :: Text
- newInternetGatewayAttachment :: AttachmentStatus -> Text -> InternetGatewayAttachment
- internetGatewayAttachment_state :: Lens' InternetGatewayAttachment AttachmentStatus
- internetGatewayAttachment_vpcId :: Lens' InternetGatewayAttachment Text
Documentation
data InternetGatewayAttachment Source #
Describes the attachment of a VPC to an internet gateway or an egress-only internet gateway.
See: newInternetGatewayAttachment
smart constructor.
InternetGatewayAttachment' | |
|
Instances
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.
internetGatewayAttachment_vpcId :: Lens' InternetGatewayAttachment Text Source #
The ID of the VPC.