

# api-gw-cache-enabled-and-encrypted
<a name="api-gw-cache-enabled-and-encrypted"></a>

Checks if all methods in Amazon API Gateway stages have cache enabled and cache encrypted. The rule is NON\$1COMPLIANT if any method in an Amazon API Gateway stage is not configured to cache or the cache is not encrypted. 



**Identifier:** API\$1GW\$1CACHE\$1ENABLED\$1AND\$1ENCRYPTED

**Resource Types:** AWS::ApiGateway::Stage

**Trigger type:** Configuration changes

**AWS Region:** All supported AWS regions except Asia Pacific (New Zealand), Asia Pacific (Taipei) Region

**Parameters:**

None  

## AWS CloudFormation template
<a name="w2aac20c16c17b7c75c19"></a>

To create AWS Config managed rules with AWS CloudFormation templates, see [Creating AWS Config Managed Rules With AWS CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).