You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppSync::Types::CachingConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CachingConfig as input to an Aws::Client method, you can use a vanilla Hash:

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

The caching configuration for a resolver that has caching enabled.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#caching_keysArray<String>

The caching keys for a resolver that has caching enabled.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

Returns:

  • (Array<String>)

    The caching keys for a resolver that has caching enabled.

#ttlInteger

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

Valid values are between 1 and 3600 seconds.

Returns:

  • (Integer)

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