public static interface CfnResolver.CachingConfigProperty
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 java.util.List<java.lang.String> |
getCachingKeys()
The caching keys for a resolver that has caching activated.
|
java.lang.Number |
getTtl()
The TTL in seconds for a resolver that has caching activated.
|
java.lang.Number getTtl()
Valid values are 1–3,600 seconds.
default java.util.List<java.lang.String> getCachingKeys()
Valid values are entries from the $context.arguments
, $context.source
, and $context.identity
maps.
static CfnResolver.CachingConfigProperty.Builder builder()