@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.655Z") @Stability(value=Stable) public interface CfnApiCacheProps 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.*;
CfnApiCacheProps cfnApiCacheProps = CfnApiCacheProps.builder()
.apiCachingBehavior("apiCachingBehavior")
.apiId("apiId")
.ttl(123)
.type("type")
// the properties below are optional
.atRestEncryptionEnabled(false)
.transitEncryptionEnabled(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiCacheProps.Builder
A builder for
CfnApiCacheProps |
static class |
CfnApiCacheProps.Jsii$Proxy
An implementation for
CfnApiCacheProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiCacheProps.Builder |
builder() |
String |
getApiCachingBehavior()
Caching behavior.
|
String |
getApiId()
The GraphQL API ID.
|
default Object |
getAtRestEncryptionEnabled()
At-rest encryption flag for cache.
|
default Object |
getTransitEncryptionEnabled()
Transit encryption flag when connecting to cache.
|
Number |
getTtl()
TTL in seconds for cache entries.
|
String |
getType()
The cache instance type.
|
@Stability(value=Stable) @NotNull String getApiCachingBehavior()
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @NotNull Number getTtl()
Valid values are 1–3,600 seconds.
@Stability(value=Stable) @NotNull String getType()
SMALLMEDIUMLARGEXLARGELARGE_2XLARGE_4XLARGE_8X (not available in all regions)LARGE_12XHistorically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
@Stability(value=Stable) @Nullable default Object getAtRestEncryptionEnabled()
You cannot update this setting after creation.
@Stability(value=Stable) @Nullable default Object getTransitEncryptionEnabled()
You cannot update this setting after creation.
@Stability(value=Stable) static CfnApiCacheProps.Builder builder()
CfnApiCacheProps.Builder of CfnApiCachePropsCopyright © 2022. All rights reserved.