You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DirectConnect::Types::CreateDirectConnectGatewayRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb

Overview

Note:

When making an API call, you may pass CreateDirectConnectGatewayRequest data as a hash:

{
  direct_connect_gateway_name: "DirectConnectGatewayName", # required
  amazon_side_asn: 1,
}

Container for the parameters to the CreateDirectConnectGateway operation.

Instance Attribute Summary collapse

Instance Attribute Details

#amazon_side_asnInteger

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

Example: 65200

Default: 64512

Returns:

  • (Integer)


978
979
980
981
982
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 978

class CreateDirectConnectGatewayRequest < Struct.new(
  :direct_connect_gateway_name,
  :amazon_side_asn)
  include Aws::Structure
end

#direct_connect_gateway_nameString

The name of the direct connect gateway.

Example: "My direct connect gateway"

Default: None

Returns:

  • (String)


978
979
980
981
982
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 978

class CreateDirectConnectGatewayRequest < Struct.new(
  :direct_connect_gateway_name,
  :amazon_side_asn)
  include Aws::Structure
end