Class: Aws::AppMesh::Types::GrpcRouteMatch

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 GrpcRouteMatch data as a hash:

{
  metadata: [
    {
      invert: false,
      match: {
        exact: "HeaderMatch",
        prefix: "HeaderMatch",
        range: {
          end: 1, # required
          start: 1, # required
        },
        regex: "HeaderMatch",
        suffix: "HeaderMatch",
      },
      name: "HeaderName", # required
    },
  ],
  method_name: "MethodName",
  service_name: "ServiceName",
}

An object that represents the criteria for determining a request match.

Instance Attribute Summary collapse

Instance Attribute Details

#metadataArray<Types::GrpcRouteMetadata>

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

Returns:



3055
3056
3057
3058
3059
3060
# File 'lib/aws-sdk-appmesh/types.rb', line 3055

class GrpcRouteMatch < Struct.new(
  :metadata,
  :method_name,
  :service_name)
  include Aws::Structure
end

#method_nameString

The method name to match from the request. If you specify a name, you must also specify a ‘serviceName`.

Returns:

  • (String)


3055
3056
3057
3058
3059
3060
# File 'lib/aws-sdk-appmesh/types.rb', line 3055

class GrpcRouteMatch < Struct.new(
  :metadata,
  :method_name,
  :service_name)
  include Aws::Structure
end

#service_nameString

The fully qualified domain name for the service to match from the request.

Returns:

  • (String)


3055
3056
3057
3058
3059
3060
# File 'lib/aws-sdk-appmesh/types.rb', line 3055

class GrpcRouteMatch < Struct.new(
  :metadata,
  :method_name,
  :service_name)
  include Aws::Structure
end