Skip to content
v2.275.0

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 ​

MemberDescription
AMPLIFY_MANAGEDAMPLIFY_MANAGED - Automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules.
AMPLIFY_MANAGED_NO_COOKIESAMPLIFY_MANAGED_NO_COOKIES - The same as AMPLIFY_MANAGED, except that it excludes all cookies from the cache key.

Referenced by ​

  • AppProps.cacheConfigTypecache_config_typecacheConfigTypeCacheConfigTypeCacheConfigType