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

Class: Aws::DirectConnect::Types::CreateConnectionRequest

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 CreateConnectionRequest data as a hash:

{
  location: "LocationCode", # required
  bandwidth: "Bandwidth", # required
  connection_name: "ConnectionName", # required
  lag_id: "LagId",
}

Container for the parameters to the CreateConnection operation.

Instance Attribute Summary collapse

Instance Attribute Details

#bandwidthString

Bandwidth of the connection.

Example: 1Gbps

Default: None

Returns:

  • (String)


877
878
879
880
881
882
883
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 877

class CreateConnectionRequest < Struct.new(
  :location,
  :bandwidth,
  :connection_name,
  :lag_id)
  include Aws::Structure
end

#connection_nameString

The name of the connection.

Example: "My Connection to AWS"

Default: None

Returns:

  • (String)


877
878
879
880
881
882
883
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 877

class CreateConnectionRequest < Struct.new(
  :location,
  :bandwidth,
  :connection_name,
  :lag_id)
  include Aws::Structure
end

#lag_idString

The ID of the LAG.

Example: dxlag-fg5678gh

Returns:

  • (String)


877
878
879
880
881
882
883
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 877

class CreateConnectionRequest < Struct.new(
  :location,
  :bandwidth,
  :connection_name,
  :lag_id)
  include Aws::Structure
end

#locationString

Where the connection is located.

Example: EqSV5

Default: None

Returns:

  • (String)


877
878
879
880
881
882
883
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 877

class CreateConnectionRequest < Struct.new(
  :location,
  :bandwidth,
  :connection_name,
  :lag_id)
  include Aws::Structure
end