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
- Struct
- Aws::DirectConnect::Types::CreateDirectConnectGatewayAssociationRequest
- Defined in:
- (unknown)
Overview
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
-
#add_allowed_prefixes_to_direct_connect_gateway ⇒ Array<Types::RouteFilterPrefix>
The Amazon VPC prefixes to advertise to the Direct Connect gateway.
-
#direct_connect_gateway_id ⇒ String
The ID of the Direct Connect gateway.
-
#gateway_id ⇒ String
The ID of the virtual private gateway or transit gateway.
-
#virtual_gateway_id ⇒ String
The ID of the virtual private gateway.
Instance Attribute Details
#add_allowed_prefixes_to_direct_connect_gateway ⇒ Array<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.
#direct_connect_gateway_id ⇒ String
The ID of the Direct Connect gateway.
#gateway_id ⇒ String
The ID of the virtual private gateway or transit gateway.
#virtual_gateway_id ⇒ String
The ID of the virtual private gateway.