class Aws::AppSync::Types::CachingConfig

The caching configuration for a resolver that has caching enabled.

@note When making an API call, you may pass CachingConfig

data as a hash:

    {
      ttl: 1,
      caching_keys: ["String"],
    }

@!attribute [rw] ttl

The TTL in seconds for a resolver that has caching enabled.

Valid values are between 1 and 3600 seconds.
@return [Integer]

@!attribute [rw] caching_keys

The caching keys for a resolver that has caching enabled.

Valid values are entries from the `$context.arguments`,
`$context.source`, and `$context.identity` maps.
@return [Array<String>]

@see docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CachingConfig AWS API Documentation

Constants

SENSITIVE