interface CachingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnResolverPropsMixin.CachingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnResolverPropsMixin_CachingConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnResolverPropsMixin.CachingConfigProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnResolverPropsMixin.CachingConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnResolverPropsMixin » CachingConfigProperty |
The caching configuration for a resolver that has caching activated.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const cachingConfigProperty: appsync_mixins.CfnResolverPropsMixin.CachingConfigProperty = {
cachingKeys: ['cachingKeys'],
ttl: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| caching | string[] | The caching keys for a resolver that has caching activated. |
| ttl? | number | The TTL in seconds for a resolver that has caching activated. |
cachingKeys?
Type:
string[]
(optional)
The caching keys for a resolver that has caching activated.
Valid values are entries from the $context.arguments , $context.source , and $context.identity maps.
ttl?
Type:
number
(optional)
The TTL in seconds for a resolver that has caching activated.
Valid values are 1–3,600 seconds.

.NET
Go
Java
Python
TypeScript