AWS::AppSync::Resolver CachingConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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" : Number }

YAML

CachingKeys: - String Ttl: 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.identity maps.

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