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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metadataArray<Types::GrpcRouteMetadata>

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

Returns:



3485
3486
3487
3488
3489
3490
3491
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3485

class GrpcRouteMatch < Struct.new(
  :metadata,
  :method_name,
  :service_name)
  SENSITIVE = []
  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)


3485
3486
3487
3488
3489
3490
3491
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3485

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

#service_nameString

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

Returns:

  • (String)


3485
3486
3487
3488
3489
3490
3491
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3485

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