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",
}

Constant Summary collapse

SENSITIVE =
[]

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:



1127
1128
1129
1130
1131
1132
1133
1134
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1127

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

#direct_connect_gateway_idString

The ID of the Direct Connect gateway.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1127

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

#gateway_idString

The ID of the virtual private gateway or transit gateway.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1127

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

#virtual_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)


1127
1128
1129
1130
1131
1132
1133
1134
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1127

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