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

Description

 
Synopsis

Documentation

data CustomerGateway Source #

Describes a customer gateway.

See: newCustomerGateway smart constructor.

Constructors

CustomerGateway' 

Fields

  • certificateArn :: Maybe Text

    The Amazon Resource Name (ARN) for the customer gateway certificate.

  • deviceName :: Maybe Text

    The name of customer gateway device.

  • tags :: Maybe [Tag]

    Any tags assigned to the customer gateway.

  • bgpAsn :: Text

    The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

  • customerGatewayId :: Text

    The ID of the customer gateway.

  • ipAddress :: Text

    The IP address of the customer gateway device's outside interface.

  • state :: Text

    The current state of the customer gateway (pending | available | deleting | deleted).

  • type' :: Text

    The type of VPN connection the customer gateway supports (ipsec.1).

Instances

Instances details
FromXML CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

Generic CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

Associated Types

type Rep CustomerGateway :: Type -> Type #

Read CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

Show CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

NFData CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

Methods

rnf :: CustomerGateway -> () #

Eq CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

Hashable CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

type Rep CustomerGateway Source # 
Instance details

Defined in Amazonka.EC2.Types.CustomerGateway

newCustomerGateway Source #

Create a value of CustomerGateway 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:certificateArn:CustomerGateway', customerGateway_certificateArn - The Amazon Resource Name (ARN) for the customer gateway certificate.

$sel:deviceName:CustomerGateway', customerGateway_deviceName - The name of customer gateway device.

$sel:tags:CustomerGateway', customerGateway_tags - Any tags assigned to the customer gateway.

$sel:bgpAsn:CustomerGateway', customerGateway_bgpAsn - The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

$sel:customerGatewayId:CustomerGateway', customerGateway_customerGatewayId - The ID of the customer gateway.

$sel:ipAddress:CustomerGateway', customerGateway_ipAddress - The IP address of the customer gateway device's outside interface.

$sel:state:CustomerGateway', customerGateway_state - The current state of the customer gateway (pending | available | deleting | deleted).

$sel:type':CustomerGateway', customerGateway_type - The type of VPN connection the customer gateway supports (ipsec.1).

customerGateway_certificateArn :: Lens' CustomerGateway (Maybe Text) Source #

The Amazon Resource Name (ARN) for the customer gateway certificate.

customerGateway_deviceName :: Lens' CustomerGateway (Maybe Text) Source #

The name of customer gateway device.

customerGateway_tags :: Lens' CustomerGateway (Maybe [Tag]) Source #

Any tags assigned to the customer gateway.

customerGateway_bgpAsn :: Lens' CustomerGateway Text Source #

The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

customerGateway_ipAddress :: Lens' CustomerGateway Text Source #

The IP address of the customer gateway device's outside interface.

customerGateway_state :: Lens' CustomerGateway Text Source #

The current state of the customer gateway (pending | available | deleting | deleted).

customerGateway_type :: Lens' CustomerGateway Text Source #

The type of VPN connection the customer gateway supports (ipsec.1).