AWS::AppSync::Resolver CachingConfig - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 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