Interface CfnResolver.ICachingConfigProperty
The caching configuration for a resolver that has caching activated.
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.AWS.AppSync.dll
Syntax (csharp)
public interface ICachingConfigProperty
Syntax (vb)
Public Interface 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.
virtual string[] CachingKeys { get; }
Property Value
System.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
System.Double
Remarks
Valid values are 1–3,600 seconds.