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


575
576
577
578
579
580
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 575

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)


575
576
577
578
579
580
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 575

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