enum CacheConfigType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Amplify.Alpha.CacheConfigType |
Go | github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#CacheConfigType |
Java | software.amazon.awscdk.services.amplify.alpha.CacheConfigType |
Python | aws_cdk.aws_amplify_alpha.CacheConfigType |
TypeScript (source) | @aws-cdk/aws-amplify-alpha » CacheConfigType |
The type of cache configuration to use for an Amplify app.
Example
const amplifyApp = new amplify.App(this, 'MyApp', {
cacheConfigType: amplify.CacheConfigType.AMPLIFY_MANAGED_NO_COOKIES,
});
Members
Name | 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. |
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.