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

Class: Aws::DirectConnect::Types::DirectConnectGatewayAssociation

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 private gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#association_stateString

State of the direct connect gateway association.

  • Associating: The initial state after calling CreateDirectConnectGatewayAssociation.

  • Associated: The direct connect gateway and virtual private gateway are successfully associated and ready to pass traffic.

  • Disassociating: The initial state after calling DeleteDirectConnectGatewayAssociation.

  • Disassociated: The virtual private gateway is successfully disassociated from the direct connect gateway. Traffic flow between the direct connect gateway and virtual private gateway stops.

Returns:

  • (String)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_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)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_state,
  :state_change_error)
  include Aws::Structure
end

#state_change_errorString

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

Returns:

  • (String)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_gateway_idString

The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Returns:

  • (String)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_gateway_owner_accountString

The AWS account ID of the owner of the virtual private gateway.

Returns:

  • (String)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_state,
  :state_change_error)
  include Aws::Structure
end

#virtual_gateway_regionString

The region in which the virtual private gateway is located.

Example: us-east-1

Returns:

  • (String)


2197
2198
2199
2200
2201
2202
2203
2204
2205
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2197

class DirectConnectGatewayAssociation < Struct.new(
  :direct_connect_gateway_id,
  :virtual_gateway_id,
  :virtual_gateway_region,
  :virtual_gateway_owner_account,
  :association_state,
  :state_change_error)
  include Aws::Structure
end