Plugin Title | API Gateway Content Encoding |
Cloud | AWS |
Category | API Gateway |
Description | Ensures that Amazon API Gateway APIs have content encoding enabled. |
More Info | API Gateway API should have content encoding enabled to enable compression of response payload. |
AWS Link | https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-gzip-compression-decompression.html |
Recommended Action | Enable content encoding and set minimum compression size of API Gateway API response |
- Sign in to the API Gateway console at https://console.aws.amazon.com/apigateway.
- Choose an existing API.
- In the primary navigation pane, choose Settings under the API you chose.
- Under the Content Encoding section in the Settings pane, select the Content Encoding enabled option to enable payload compression. Enter a number for the minimum compression size (in bytes) next to Minimum body size required for compression.
- Choose Save Changes.