interface CachingConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AppSync.CfnResolverPropsMixin.CachingConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsappsync#CfnResolverPropsMixin_CachingConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnResolverPropsMixin.CachingConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_appsync.CfnResolverPropsMixin.CachingConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_appsync » 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 { aws_appsync as appsync } from '@aws-cdk/cfn-property-mixins';
const cachingConfigProperty: appsync.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