This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::AppSync::Resolver CachingConfig
The caching configuration for a resolver that has caching activated.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CachingKeys" :[ String, ... ], "Ttl" :Number}
YAML
CachingKeys:- StringTtl:Number
Properties
CachingKeys-
The caching keys for a resolver that has caching activated.
Valid values are entries from the
$context.arguments,$context.source, and$context.identitymaps.Required: No
Type: Array of String
Update requires: No interruption
Ttl-
The TTL in seconds for a resolver that has caching activated.
Valid values are 1–3,600 seconds.
Required: Yes
Type: Number
Update requires: No interruption