Class: Aws::AppMesh::Types::GrpcRouteMetadata

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

Overview

Note:

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

{
  invert: false,
  match: {
    exact: "HeaderMatch",
    prefix: "HeaderMatch",
    range: {
      end: 1, # required
      start: 1, # required
    },
    regex: "HeaderMatch",
    suffix: "HeaderMatch",
  },
  name: "HeaderName", # required
}

An object that represents the match metadata for the route.

Instance Attribute Summary collapse

Instance Attribute Details

#invertBoolean

Specify ‘True` to match anything except the match criteria. The default value is `False`.

Returns:

  • (Boolean)


2781
2782
2783
2784
2785
2786
# File 'lib/aws-sdk-appmesh/types.rb', line 2781

class GrpcRouteMetadata < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end

#matchTypes::GrpcRouteMetadataMatchMethod

An object that represents the data to match from the request.



2781
2782
2783
2784
2785
2786
# File 'lib/aws-sdk-appmesh/types.rb', line 2781

class GrpcRouteMetadata < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end

#nameString

The name of the route.

Returns:

  • (String)


2781
2782
2783
2784
2785
2786
# File 'lib/aws-sdk-appmesh/types.rb', line 2781

class GrpcRouteMetadata < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end