AWS::AppSync::Resolver CachingConfig - AWS CloudFormation

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: - 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