Skip to content

Create Direct Connect Gateway

directconnect_create_direct_connect_gateway R Documentation

Creates a Direct Connect gateway, which is an intermediate object that enables you to connect a set of virtual interfaces and virtual private gateways

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.

Usage

directconnect_create_direct_connect_gateway(directConnectGatewayName,
  amazonSideAsn)

Arguments

directConnectGatewayName

[required] The name of the Direct Connect gateway.

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.

Value

A list with the following syntax:

list(
  directConnectGateway = list(
    directConnectGatewayId = "string",
    directConnectGatewayName = "string",
    amazonSideAsn = 123,
    ownerAccount = "string",
    directConnectGatewayState = "pending"|"available"|"deleting"|"deleted",
    stateChangeError = "string"
  )
)

Request syntax

svc$create_direct_connect_gateway(
  directConnectGatewayName = "string",
  amazonSideAsn = 123
)