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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb

Overview

The caching configuration for a resolver that has caching activated.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#caching_keysArray<String>

The caching keys for a resolver that has caching activated.

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

Returns:

  • (Array<String>)


690
691
692
693
694
695
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 690

class CachingConfig < Struct.new(
  :ttl,
  :caching_keys)
  SENSITIVE = []
  include Aws::Structure
end

#ttlInteger

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

Valid values are 1–3,600 seconds.

Returns:

  • (Integer)


690
691
692
693
694
695
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 690

class CachingConfig < Struct.new(
  :ttl,
  :caching_keys)
  SENSITIVE = []
  include Aws::Structure
end