@Stability(value=Stable) public static final class CfnApiCache.Builder extends Object implements software.amazon.jsii.Builder<CfnApiCache>
CfnApiCache.| Modifier and Type | Method and Description |
|---|---|
CfnApiCache.Builder |
apiCachingBehavior(String apiCachingBehavior)
Caching behavior.
|
CfnApiCache.Builder |
apiId(String apiId)
The GraphQL API ID.
|
CfnApiCache.Builder |
atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
At-rest encryption flag for cache.
|
CfnApiCache.Builder |
atRestEncryptionEnabled(IResolvable atRestEncryptionEnabled)
At-rest encryption flag for cache.
|
CfnApiCache |
build() |
static CfnApiCache.Builder |
create(software.constructs.Construct scope,
String id) |
CfnApiCache.Builder |
transitEncryptionEnabled(Boolean transitEncryptionEnabled)
Transit encryption flag when connecting to cache.
|
CfnApiCache.Builder |
transitEncryptionEnabled(IResolvable transitEncryptionEnabled)
Transit encryption flag when connecting to cache.
|
CfnApiCache.Builder |
ttl(Number ttl)
TTL in seconds for cache entries.
|
CfnApiCache.Builder |
type(String type)
The cache instance type.
|
@Stability(value=Stable) public static CfnApiCache.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnApiCache.Builder.@Stability(value=Stable) public CfnApiCache.Builder apiCachingBehavior(String apiCachingBehavior)
apiCachingBehavior - Caching behavior. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder apiId(String apiId)
apiId - The GraphQL API ID. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder ttl(Number ttl)
Valid values are 1–3,600 seconds.
ttl - TTL in seconds for cache entries. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder type(String type)
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:
type - The cache instance type. Valid values are. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder atRestEncryptionEnabled(Boolean atRestEncryptionEnabled)
You cannot update this setting after creation.
atRestEncryptionEnabled - At-rest encryption flag for cache. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder atRestEncryptionEnabled(IResolvable atRestEncryptionEnabled)
You cannot update this setting after creation.
atRestEncryptionEnabled - At-rest encryption flag for cache. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder transitEncryptionEnabled(Boolean transitEncryptionEnabled)
You cannot update this setting after creation.
transitEncryptionEnabled - Transit encryption flag when connecting to cache. This parameter is required.this@Stability(value=Stable) public CfnApiCache.Builder transitEncryptionEnabled(IResolvable transitEncryptionEnabled)
You cannot update this setting after creation.
transitEncryptionEnabled - Transit encryption flag when connecting to cache. This parameter is required.this@Stability(value=Stable) public CfnApiCache build()
build in interface software.amazon.jsii.Builder<CfnApiCache>Copyright © 2022. All rights reserved.