AWS App Mesh
API Reference (API Version 2019-01-25)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


An object that represents a retry policy.



Specify at least one of the following values.

  • server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511

  • gateway-error – HTTP status codes 502, 503, and 504

  • client-error – HTTP status code 409

  • stream-error – Retry on refused stream

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 25 items.

Length Constraints: Minimum length of 1. Maximum length of 25.

Required: No


The maximum number of retry attempts. If no value is specified, the default is 1.

Type: Long

Valid Range: Minimum value of 0.

Required: Yes


An object that represents the duration of time between retries.

Type: Duration object

Required: Yes


Specify a valid value.

Type: Array of strings

Array Members: Fixed number of 1 item.

Valid Values: connection-error

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: