AWS::AppSync::Resolver CachingConfig
The caching configuration for a resolver that has caching activated.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CachingKeys" :
[ String, ... ]
, "Ttl" :Double
}
YAML
CachingKeys:
- String
Ttl:Double
Properties
CachingKeys
-
The caching keys for a resolver that has caching activated.
Valid values are entries from the
$context.arguments
,$context.source
, and$context.identity
maps.Required: No
Type: List 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: Double
Update requires: No interruption