Interface CfnResolver.ICachingConfigProperty
The caching configuration for a resolver that has caching activated.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnResolver.ICachingConfigProperty
Syntax (vb)
Public Interface CfnResolver.ICachingConfigProperty
Remarks
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.AWS.AppSync;
var cachingConfigProperty = new CachingConfigProperty {
Ttl = 123,
// the properties below are optional
CachingKeys = new [] { "cachingKeys" }
};
Synopsis
Properties
| CachingKeys | The caching keys for a resolver that has caching activated. |
| Ttl | The TTL in seconds for a resolver that has caching activated. |
Properties
CachingKeys
The caching keys for a resolver that has caching activated.
string[]? CachingKeys { get; }
Property Value
string[]
Remarks
Valid values are entries from the $context.arguments , $context.source , and $context.identity maps.
Ttl
The TTL in seconds for a resolver that has caching activated.
double Ttl { get; }
Property Value
Remarks
Valid values are 1–3,600 seconds.