CacheConfigType
- class aws_cdk.aws_amplify_alpha.CacheConfigType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
(experimental) The type of cache configuration to use for an Amplify app.
- Stability:
experimental
- ExampleMetadata:
infused
Example:
amplify_app = amplify.App(self, "MyApp", cache_config_type=amplify.CacheConfigType.AMPLIFY_MANAGED_NO_COOKIES )
Attributes
- AMPLIFY_MANAGED
(experimental) AMPLIFY_MANAGED - Automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules.
- Stability:
experimental
- AMPLIFY_MANAGED_NO_COOKIES
(experimental) AMPLIFY_MANAGED_NO_COOKIES - The same as AMPLIFY_MANAGED, except that it excludes all cookies from the cache key.
- Stability:
experimental