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)


37038
37039
37040
37041
37042
37043
37044
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37038

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

#stateString

The state of the route.

Returns:

  • (String)


37038
37039
37040
37041
37042
37043
37044
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37038

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

#transit_gateway_attachmentsArray<Types::TransitGatewayRouteAttachment>

The attachments.



37038
37039
37040
37041
37042
37043
37044
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37038

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

#typeString

The route type.

Returns:

  • (String)


37038
37039
37040
37041
37042
37043
37044
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37038

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