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
- Struct
- Aws::AppMesh::Types::GrpcRouteMatch
- 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
-
#metadata ⇒ Array<Types::GrpcRouteMetadata>
An object that represents the data to match from the request.
-
#method_name ⇒ String
The method name to match from the request.
-
#service_name ⇒ String
The fully qualified domain name for the service to match from the request.
Instance Attribute Details
#metadata ⇒ Array<Types::GrpcRouteMetadata>
An object that represents the data to match from the request.
#method_name ⇒ String
The method name to match from the request. If you specify a name, you
must also specify a serviceName
.
#service_name ⇒ String
The fully qualified domain name for the service to match from the request.