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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateDirectConnectGatewayAssociationRequest as input to an Aws::Client method, you can use a vanilla 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:

#direct_connect_gateway_idString

The ID of the Direct Connect gateway.

Returns:

  • (String)

    The ID of the Direct Connect gateway.

#gateway_idString

The ID of the virtual private gateway or transit gateway.

Returns:

  • (String)

    The ID of the virtual private gateway or transit gateway.

#virtual_gateway_idString

The ID of the virtual private gateway.

Returns:

  • (String)

    The ID of the virtual private gateway.