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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


36237
36238
36239
36240
36241
36242
36243
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36237

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

#stateString

The state of the route.

Returns:

  • (String)


36237
36238
36239
36240
36241
36242
36243
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36237

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

#transit_gateway_attachmentsArray<Types::TransitGatewayRouteAttachment>

The attachments.



36237
36238
36239
36240
36241
36242
36243
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36237

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

#typeString

The route type.

Returns:

  • (String)


36237
36238
36239
36240
36241
36242
36243
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36237

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