@Stability(value=Stable)
public static interface CfnResolver.CachingConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResolver.CachingConfigProperty.Builder
A builder for
CfnResolver.CachingConfigProperty |
static class |
CfnResolver.CachingConfigProperty.Jsii$Proxy
An implementation for
CfnResolver.CachingConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnResolver.CachingConfigProperty.Builder |
builder() |
default List<String> |
getCachingKeys()
The caching keys for a resolver that has caching activated.
|
Number |
getTtl()
The TTL in seconds for a resolver that has caching activated.
|
@Stability(value=Stable) @NotNull Number getTtl()
Valid values are 1–3,600 seconds.
@Stability(value=Stable) @Nullable default List<String> getCachingKeys()
Valid values are entries from the $context.arguments , $context.source , and $context.identity maps.
@Stability(value=Stable) static CfnResolver.CachingConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.