Class CfnAppPropsMixin.CacheConfigProperty
Describes the cache configuration for an Amplify app.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Amplify
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAppPropsMixin.CacheConfigProperty : CfnAppPropsMixin.ICacheConfigProperty
Syntax (vb)
Public Class CfnAppPropsMixin.CacheConfigProperty Implements CfnAppPropsMixin.ICacheConfigProperty
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Amplify;
var cacheConfigProperty = new CacheConfigProperty {
Type = "type"
};
Synopsis
Constructors
| CacheConfigProperty() | Describes the cache configuration for an Amplify app. |
Properties
| Type | The type of cache configuration to use for an Amplify app. |
Constructors
CacheConfigProperty()
Describes the cache configuration for an Amplify app.
public CacheConfigProperty()
Remarks
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 .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Amplify;
var cacheConfigProperty = new CacheConfigProperty {
Type = "type"
};
Properties
Type
The type of cache configuration to use for an Amplify app.
public string? Type { get; set; }
Property Value
Remarks
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.