Class: Aws::DirectConnect::Types::CreateDirectConnectGatewayAssociationRequest

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

{
  direct_connect_gateway_id: "DirectConnectGatewayId", # required
  gateway_id: "GatewayIdToAssociate",
  add_allowed_prefixes_to_direct_connect_gateway: [
    {
      cidr: "CIDR",
    },
  ],
  virtual_gateway_id: "VirtualGatewayId",
}

Instance Attribute Summary collapse

Instance Attribute Details

#add_allowed_prefixes_to_direct_connect_gatewayArray<Types::RouteFilterPrefix>

The Amazon VPC prefixes to advertise to the Direct Connect gateway

This parameter is required when you create an association to a transit gateway.

For information about how to set the prefixes, see Allowed Prefixes in the AWS Direct Connect User Guide.

Returns:



1097
1098
1099
1100
1101
1102
1103
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1097

class CreateDirectConnectGatewayAssociationRequest < Struct.new(
  :direct_connect_gateway_id,
  :gateway_id,
  :add_allowed_prefixes_to_direct_connect_gateway,
  :virtual_gateway_id)
  include Aws::Structure
end

#direct_connect_gateway_idString

The ID of the Direct Connect gateway.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1097

class CreateDirectConnectGatewayAssociationRequest < Struct.new(
  :direct_connect_gateway_id,
  :gateway_id,
  :add_allowed_prefixes_to_direct_connect_gateway,
  :virtual_gateway_id)
  include Aws::Structure
end

#gateway_idString

The ID of the virtual private gateway or transit gateway.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1097

class CreateDirectConnectGatewayAssociationRequest < Struct.new(
  :direct_connect_gateway_id,
  :gateway_id,
  :add_allowed_prefixes_to_direct_connect_gateway,
  :virtual_gateway_id)
  include Aws::Structure
end

#virtual_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)


1097
1098
1099
1100
1101
1102
1103
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1097

class CreateDirectConnectGatewayAssociationRequest < Struct.new(
  :direct_connect_gateway_id,
  :gateway_id,
  :add_allowed_prefixes_to_direct_connect_gateway,
  :virtual_gateway_id)
  include Aws::Structure
end