Class: Aws::EC2::Types::SearchTransitGatewayRoutesRequest

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

Overview

Note:

When making an API call, you may pass SearchTransitGatewayRoutesRequest data as a hash:

{
  transit_gateway_route_table_id: "String", # required
  filters: [ # required
    {
      name: "String",
      values: ["String"],
    },
  ],
  max_results: 1,
  dry_run: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.

Returns:

  • (Boolean)


33098
33099
33100
33101
33102
33103
33104
# File 'lib/aws-sdk-ec2/types.rb', line 33098

class SearchTransitGatewayRoutesRequest < Struct.new(
  :transit_gateway_route_table_id,
  :filters,
  :max_results,
  :dry_run)
  include Aws::Structure
end

#filtersArray<Types::Filter>

One or more filters. The possible values are:

  • ‘transit-gateway-route-destination-cidr-block` - The CIDR range.

  • ‘transit-gateway-route-state` - The state of the route (`active` | `blackhole`).

  • ‘transit-gateway-route-transit-gateway-attachment-id` - The ID of the attachment.

  • ‘transit-gateway-route-type` - The route type (`static` | `propagated`).

Returns:



33098
33099
33100
33101
33102
33103
33104
# File 'lib/aws-sdk-ec2/types.rb', line 33098

class SearchTransitGatewayRoutesRequest < Struct.new(
  :transit_gateway_route_table_id,
  :filters,
  :max_results,
  :dry_run)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of routes to return.

Returns:

  • (Integer)


33098
33099
33100
33101
33102
33103
33104
# File 'lib/aws-sdk-ec2/types.rb', line 33098

class SearchTransitGatewayRoutesRequest < Struct.new(
  :transit_gateway_route_table_id,
  :filters,
  :max_results,
  :dry_run)
  include Aws::Structure
end

#transit_gateway_route_table_idString

The ID of the transit gateway route table.

Returns:

  • (String)


33098
33099
33100
33101
33102
33103
33104
# File 'lib/aws-sdk-ec2/types.rb', line 33098

class SearchTransitGatewayRoutesRequest < Struct.new(
  :transit_gateway_route_table_id,
  :filters,
  :max_results,
  :dry_run)
  include Aws::Structure
end