Experimental
@aws-cdk/aws-amplify-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CacheConfigType Enum
The type of cache configuration to use for an Amplify app.
Example
ts
const amplifyApp = new amplify.App(this, 'MyApp', {
cacheConfigType: amplify.CacheConfigType.AMPLIFY_MANAGED_NO_COOKIES,
});
Members
| Member | Description |
|---|---|
AMPLIFY_MANAGED | AMPLIFY_MANAGED - Automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. |
AMPLIFY_MANAGED_NO_COOKIES | AMPLIFY_MANAGED_NO_COOKIES - The same as AMPLIFY_MANAGED, except that it excludes all cookies from the cache key. |
Referenced by
AppProps.cacheConfigTypecache_config_typecacheConfigTypeCacheConfigTypeCacheConfigType