Class: Aws::Amplify::Types::CacheConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Amplify::Types::CacheConfig
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-amplify/types.rb
Overview
Describes the cache configuration for an Amplify app.
For more information about how Amplify applies an optimal cache configuration for your app based on the type of content that is being served, see [Managing cache configuration] in the *Amplify User guide*.
[1]: docs.aws.amazon.com/amplify/latest/userguide/managing-cache-configuration
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#type ⇒ String
The type of cache configuration to use for an Amplify app.
Instance Attribute Details
#type ⇒ String
The type of cache configuration to use for an Amplify app.
The ‘AMPLIFY_MANAGED` cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules.
The ‘AMPLIFY_MANAGED_NO_COOKIES` cache configuration type is the same as `AMPLIFY_MANAGED`, except that it excludes all cookies from the cache key. This is the default setting.
598 599 600 601 602 |
# File 'lib/aws-sdk-amplify/types.rb', line 598 class CacheConfig < Struct.new( :type) SENSITIVE = [] include Aws::Structure end |