class Aws::AppMesh::Types::GrpcGatewayRoute
An object that represents a gRPC gateway route.
@note When making an API call, you may pass GrpcGatewayRoute
data as a hash: { action: { # required rewrite: { hostname: { default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED }, }, target: { # required virtual_service: { # required virtual_service_name: "ResourceName", # required }, }, }, match: { # required hostname: { exact: "ExactHostName", suffix: "SuffixHostname", }, metadata: [ { invert: false, match: { exact: "HeaderMatch", prefix: "HeaderMatch", range: { end: 1, # required start: 1, # required }, regex: "HeaderMatch", suffix: "HeaderMatch", }, name: "HeaderName", # required }, ], service_name: "ServiceName", }, }
@!attribute [rw] action
An object that represents the action to take if a match is determined. @return [Types::GrpcGatewayRouteAction]
@!attribute [rw] match
An object that represents the criteria for determining a request match. @return [Types::GrpcGatewayRouteMatch]
@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GrpcGatewayRoute AWS API Documentation
Constants
- SENSITIVE