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 VpnGateway = VpnGateway' {
- amazonSideAsn :: Maybe Integer
- availabilityZone :: Maybe Text
- state :: Maybe VpnState
- tags :: Maybe [Tag]
- type' :: Maybe GatewayType
- vpcAttachments :: Maybe [VpcAttachment]
- vpnGatewayId :: Maybe Text
- newVpnGateway :: VpnGateway
- vpnGateway_amazonSideAsn :: Lens' VpnGateway (Maybe Integer)
- vpnGateway_availabilityZone :: Lens' VpnGateway (Maybe Text)
- vpnGateway_state :: Lens' VpnGateway (Maybe VpnState)
- vpnGateway_tags :: Lens' VpnGateway (Maybe [Tag])
- vpnGateway_type :: Lens' VpnGateway (Maybe GatewayType)
- vpnGateway_vpcAttachments :: Lens' VpnGateway (Maybe [VpcAttachment])
- vpnGateway_vpnGatewayId :: Lens' VpnGateway (Maybe Text)
Documentation
data VpnGateway Source #
Describes a virtual private gateway.
See: newVpnGateway
smart constructor.
VpnGateway' | |
|
Instances
newVpnGateway :: VpnGateway Source #
Create a value of VpnGateway
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:amazonSideAsn:VpnGateway'
, vpnGateway_amazonSideAsn
- The private Autonomous System Number (ASN) for the Amazon side of a BGP
session.
$sel:availabilityZone:VpnGateway'
, vpnGateway_availabilityZone
- The Availability Zone where the virtual private gateway was created, if
applicable. This field may be empty or not returned.
VpnGateway
, vpnGateway_state
- The current state of the virtual private gateway.
$sel:tags:VpnGateway'
, vpnGateway_tags
- Any tags assigned to the virtual private gateway.
$sel:type':VpnGateway'
, vpnGateway_type
- The type of VPN connection the virtual private gateway supports.
$sel:vpcAttachments:VpnGateway'
, vpnGateway_vpcAttachments
- Any VPCs attached to the virtual private gateway.
$sel:vpnGatewayId:VpnGateway'
, vpnGateway_vpnGatewayId
- The ID of the virtual private gateway.
vpnGateway_amazonSideAsn :: Lens' VpnGateway (Maybe Integer) Source #
The private Autonomous System Number (ASN) for the Amazon side of a BGP session.
vpnGateway_availabilityZone :: Lens' VpnGateway (Maybe Text) Source #
The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.
vpnGateway_state :: Lens' VpnGateway (Maybe VpnState) Source #
The current state of the virtual private gateway.
vpnGateway_tags :: Lens' VpnGateway (Maybe [Tag]) Source #
Any tags assigned to the virtual private gateway.
vpnGateway_type :: Lens' VpnGateway (Maybe GatewayType) Source #
The type of VPN connection the virtual private gateway supports.
vpnGateway_vpcAttachments :: Lens' VpnGateway (Maybe [VpcAttachment]) Source #
Any VPCs attached to the virtual private gateway.
vpnGateway_vpnGatewayId :: Lens' VpnGateway (Maybe Text) Source #
The ID of the virtual private gateway.