Interface CfnResolver.CachingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResolver.CachingConfigProperty.Jsii$Proxy
- Enclosing class:
- CfnResolver
@Stability(Stable)
public static interface CfnResolver.CachingConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appsync.*;
CachingConfigProperty cachingConfigProperty = CachingConfigProperty.builder()
.ttl(123)
// the properties below are optional
.cachingKeys(List.of("cachingKeys"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResolver.CachingConfigPropertystatic final classAn implementation forCfnResolver.CachingConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTtl
The TTL in seconds for a resolver that has caching activated.Valid values are 1–3,600 seconds.
-
getCachingKeys
The caching keys for a resolver that has caching activated.Valid values are entries from the
$context.arguments,$context.source, and$context.identitymaps. -
builder
-