Class CfnResolver.CachingConfigProperty
The caching configuration for a resolver that has caching activated.
Inheritance
System.Object
CfnResolver.CachingConfigProperty
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CachingConfigProperty : Object, CfnResolver.ICachingConfigProperty
Syntax (vb)
Public Class CachingConfigProperty
Inherits Object
Implements 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
Constructors
CachingConfigProperty() |
Properties
CachingKeys | The caching keys for a resolver that has caching activated. |
Ttl | The TTL in seconds for a resolver that has caching activated. |
Constructors
CachingConfigProperty()
public CachingConfigProperty()
Properties
CachingKeys
The caching keys for a resolver that has caching activated.
public string[] CachingKeys { get; set; }
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.
public double Ttl { get; set; }
Property Value
System.Double
Remarks
Valid values are 1–3,600 seconds.