

# HttpGatewayRouteAction


An object that represents the action to take if a match is determined.

## Contents


 ** target **   <a name="appmesh-Type-HttpGatewayRouteAction-target"></a>
An object that represents the target that traffic is routed to when a request matches the gateway route.  
Type: [GatewayRouteTarget](API_GatewayRouteTarget.md) object  
Required: Yes

 ** rewrite **   <a name="appmesh-Type-HttpGatewayRouteAction-rewrite"></a>
The gateway route action to rewrite.  
Type: [HttpGatewayRouteRewrite](API_HttpGatewayRouteRewrite.md) object  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/appmesh-2019-01-25/HttpGatewayRouteAction) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/appmesh-2019-01-25/HttpGatewayRouteAction) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/appmesh-2019-01-25/HttpGatewayRouteAction) 