Class: Aws::AppMesh::Types::GrpcRouteMatch
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcRouteMatch
- 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
-
#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.
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_name ⇒ String
The method name to match from the request. If you specify a name, you must also specify a ‘serviceName`.
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_name ⇒ String
The fully qualified domain name for the service to match from the request.
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 |