> **Experimental**
>
> `@aws-cdk/aws-amplify-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# CacheConfigType

The type of cache configuration to use for an Amplify app.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/app.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-amplify-alpha/lib/app.ts#L668)

## 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`](/v2/docs/@aws-cdk_aws-amplify-alpha.AppProps).cacheConfigType
