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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GrpcRouteMatch as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#metadataArray<Types::GrpcRouteMetadata>

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

Returns:

#method_nameString

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

Returns:

  • (String)

    The method name to match from the request.

#service_nameString

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

Returns:

  • (String)

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