class Aws::DirectConnect::Types::CreateDirectConnectGatewayAssociationRequest

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

@!attribute [rw] direct_connect_gateway_id

The ID of the Direct Connect gateway.
@return [String]

@!attribute [rw] gateway_id

The ID of the virtual private gateway or transit gateway.
@return [String]

@!attribute [rw] add_allowed_prefixes_to_direct_connect_gateway

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][1] in the *Direct Connect User Guide*.

[1]: https://docs.aws.amazon.com/directconnect/latest/UserGuide/multi-account-associate-vgw.html#allowed-prefixes
@return [Array<Types::RouteFilterPrefix>]

@!attribute [rw] virtual_gateway_id

The ID of the virtual private gateway.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationRequest AWS API Documentation

Constants

SENSITIVE