class Aws::AppMesh::Types::HttpGatewayRouteAction
An object that represents the action to take if a match is determined.
@note When making an API call, you may pass HttpGatewayRouteAction
data as a hash: { rewrite: { hostname: { default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED }, path: { exact: "HttpPathExact", }, prefix: { default_prefix: "ENABLED", # accepts ENABLED, DISABLED value: "HttpGatewayRoutePrefix", }, }, target: { # required virtual_service: { # required virtual_service_name: "ResourceName", # required }, }, }
@!attribute [rw] rewrite
The gateway route action to rewrite. @return [Types::HttpGatewayRouteRewrite]
@!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/HttpGatewayRouteAction AWS API Documentation
Constants
- SENSITIVE