Class: Aws::EC2::Types::TransitGatewayRoute

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Describes a route for a transit gateway route table.

Instance Attribute Summary collapse

Instance Attribute Details

#destination_cidr_blockString

The CIDR block used for destination matches.

Returns:

  • (String)


36221
36222
36223
36224
36225
36226
36227
# File 'lib/aws-sdk-ec2/types.rb', line 36221

class TransitGatewayRoute < Struct.new(
  :destination_cidr_block,
  :transit_gateway_attachments,
  :type,
  :state)
  include Aws::Structure
end

#stateString

The state of the route.

Returns:

  • (String)


36221
36222
36223
36224
36225
36226
36227
# File 'lib/aws-sdk-ec2/types.rb', line 36221

class TransitGatewayRoute < Struct.new(
  :destination_cidr_block,
  :transit_gateway_attachments,
  :type,
  :state)
  include Aws::Structure
end

#transit_gateway_attachmentsArray<Types::TransitGatewayRouteAttachment>

The attachments.



36221
36222
36223
36224
36225
36226
36227
# File 'lib/aws-sdk-ec2/types.rb', line 36221

class TransitGatewayRoute < Struct.new(
  :destination_cidr_block,
  :transit_gateway_attachments,
  :type,
  :state)
  include Aws::Structure
end

#typeString

The route type.

Returns:

  • (String)


36221
36222
36223
36224
36225
36226
36227
# File 'lib/aws-sdk-ec2/types.rb', line 36221

class TransitGatewayRoute < Struct.new(
  :destination_cidr_block,
  :transit_gateway_attachments,
  :type,
  :state)
  include Aws::Structure
end