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

Class: Aws::DirectConnect::Types::DirectConnectGatewayAttachment

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

Overview

The association between a direct connect gateway and virtual interface.

Instance Attribute Summary collapse

Instance Attribute Details

#attachment_stateString

State of the direct connect gateway attachment.

  • Attaching: The initial state after a virtual interface is created using the direct connect gateway.

  • Attached: The direct connect gateway and virtual interface are successfully attached and ready to pass traffic.

  • Detaching: The initial state after calling DeleteVirtualInterface on a virtual interface that is attached to a direct connect gateway.

  • Detached: The virtual interface is successfully detached from the direct connect gateway. Traffic flow between the direct connect gateway and virtual interface stops.

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end

#direct_connect_gateway_idString

The ID of the direct connect gateway.

Example: "abcd1234-dcba-5678-be23-cdef9876ab45"

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end

#state_change_errorString

Error message when the state of an object fails to advance.

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_interface_idString

The ID of the virtual interface.

Example: dxvif-123dfg56

Default: None

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_interface_owner_accountString

The AWS account ID of the owner of the virtual interface.

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_interface_regionString

The region in which the virtual interface is located.

Example: us-east-1

Returns:

  • (String)


2258
2259
2260
2261
2262
2263
2264
2265
2266
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2258

class DirectConnectGatewayAttachment < Struct.new(
  :direct_connect_gateway_id,
  :virtual_interface_id,
  :virtual_interface_region,
  :virtual_interface_owner_account,
  :attachment_state,
  :state_change_error)
  include Aws::Structure
end