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
- Struct
- Aws::AppSync::Types::CachingConfig
- 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
-
#caching_keys ⇒ Array<String>
The caching keys for a resolver that has caching enabled.
-
#ttl ⇒ Integer
The TTL in seconds for a resolver that has caching enabled.
Instance Attribute Details
#caching_keys ⇒ Array<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.
#ttl ⇒ Integer
The TTL in seconds for a resolver that has caching enabled.
Valid values are between 1 and 3600 seconds.