libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectConnect.CreateDirectConnectGateway

Description

Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways. A Direct Connect gateway is global and visible in any Amazon Web Services Region after it is created. The virtual interfaces and virtual private gateways that are connected through a Direct Connect gateway can be in different Amazon Web Services Regions. This enables you to connect to a VPC in any Region, regardless of the Region in which the virtual interfaces are located, and pass traffic between them.

Synopsis

Creating a Request

data CreateDirectConnectGateway Source #

See: newCreateDirectConnectGateway smart constructor.

Constructors

CreateDirectConnectGateway' 

Fields

  • amazonSideAsn :: Maybe Integer

    The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.

  • directConnectGatewayName :: Text

    The name of the Direct Connect gateway.

Instances

Instances details
Eq CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Read CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Show CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Generic CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Associated Types

type Rep CreateDirectConnectGateway :: Type -> Type #

NFData CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Hashable CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

ToJSON CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

AWSRequest CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

ToHeaders CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

ToPath CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

ToQuery CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

type Rep CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

type Rep CreateDirectConnectGateway = D1 ('MetaData "CreateDirectConnectGateway" "Amazonka.DirectConnect.CreateDirectConnectGateway" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "CreateDirectConnectGateway'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amazonSideAsn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "directConnectGatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateDirectConnectGateway Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

newCreateDirectConnectGateway Source #

Create a value of CreateDirectConnectGateway 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:CreateDirectConnectGateway', createDirectConnectGateway_amazonSideAsn - The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.

$sel:directConnectGatewayName:CreateDirectConnectGateway', createDirectConnectGateway_directConnectGatewayName - The name of the Direct Connect gateway.

Request Lenses

createDirectConnectGateway_amazonSideAsn :: Lens' CreateDirectConnectGateway (Maybe Integer) Source #

The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.

Destructuring the Response

data CreateDirectConnectGatewayResponse Source #

Constructors

CreateDirectConnectGatewayResponse' 

Fields

Instances

Instances details
Eq CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Read CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Show CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Generic CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

Associated Types

type Rep CreateDirectConnectGatewayResponse :: Type -> Type #

NFData CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

type Rep CreateDirectConnectGatewayResponse Source # 
Instance details

Defined in Amazonka.DirectConnect.CreateDirectConnectGateway

type Rep CreateDirectConnectGatewayResponse = D1 ('MetaData "CreateDirectConnectGatewayResponse" "Amazonka.DirectConnect.CreateDirectConnectGateway" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "CreateDirectConnectGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directConnectGateway") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DirectConnectGateway)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateDirectConnectGatewayResponse Source #

Create a value of CreateDirectConnectGatewayResponse 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:directConnectGateway:CreateDirectConnectGatewayResponse', createDirectConnectGatewayResponse_directConnectGateway - The Direct Connect gateway.

$sel:httpStatus:CreateDirectConnectGatewayResponse', createDirectConnectGatewayResponse_httpStatus - The response's http status code.

Response Lenses