class Aws::AppMesh::Types::GrpcGatewayRouteAction
An object that represents the action to take if a match is determined.
@note When making an API call, you may pass GrpcGatewayRouteAction
data as a hash: { rewrite: { hostname: { default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED }, }, target: { # required virtual_service: { # required virtual_service_name: "ResourceName", # required }, }, }
@!attribute [rw] rewrite
The gateway route action to rewrite. @return [Types::GrpcGatewayRouteRewrite]
@!attribute [rw] target
An object that represents the target that traffic is routed to when a request matches the gateway route. @return [Types::GatewayRouteTarget]
@see docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GrpcGatewayRouteAction AWS API Documentation
Constants
- SENSITIVE