Class CfnApiCacheProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appsync.CfnApiCacheProps.Jsii$Proxy
- All Implemented Interfaces:
CfnApiCacheProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnApiCacheProps
@Stability(Stable)
@Internal
public static final class CfnApiCacheProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnApiCacheProps
An implementation for
CfnApiCacheProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnApiCacheProps
CfnApiCacheProps.Builder, CfnApiCacheProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnApiCacheProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnApiCacheProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
Caching behavior.final String
getApiId()
The GraphQL API ID.final Object
At-rest encryption flag for cache.final String
Controls how cache health metrics will be emitted to CloudWatch.final Object
Transit encryption flag when connecting to cache.final Number
getTtl()
TTL in seconds for cache entries.final String
getType()
The cache instance type.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnApiCacheProps.Builder
.
-
-
Method Details
-
getApiCachingBehavior
Description copied from interface:CfnApiCacheProps
Caching behavior.- FULL_REQUEST_CACHING : All requests are fully cached.
- PER_RESOLVER_CACHING : Individual resolvers that you specify are cached.
- Specified by:
getApiCachingBehavior
in interfaceCfnApiCacheProps
- See Also:
-
getApiId
Description copied from interface:CfnApiCacheProps
The GraphQL API ID.- Specified by:
getApiId
in interfaceCfnApiCacheProps
- See Also:
-
getTtl
Description copied from interface:CfnApiCacheProps
TTL in seconds for cache entries.Valid values are 1–3,600 seconds.
- Specified by:
getTtl
in interfaceCfnApiCacheProps
- See Also:
-
getType
Description copied from interface:CfnApiCacheProps
The cache instance type. Valid values are.SMALL
MEDIUM
LARGE
XLARGE
LARGE_2X
LARGE_4X
LARGE_8X
(not available in all regions)LARGE_12X
Historically, 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:
- T2_SMALL : A t2.small instance type.
- T2_MEDIUM : A t2.medium instance type.
- R4_LARGE : A r4.large instance type.
- R4_XLARGE : A r4.xlarge instance type.
- R4_2XLARGE : A r4.2xlarge instance type.
- R4_4XLARGE : A r4.4xlarge instance type.
- R4_8XLARGE : A r4.8xlarge instance type.
- Specified by:
getType
in interfaceCfnApiCacheProps
- See Also:
-
getAtRestEncryptionEnabled
Description copied from interface:CfnApiCacheProps
At-rest encryption flag for cache.You cannot update this setting after creation.
- Specified by:
getAtRestEncryptionEnabled
in interfaceCfnApiCacheProps
- See Also:
-
getHealthMetricsConfig
Description copied from interface:CfnApiCacheProps
Controls how cache health metrics will be emitted to CloudWatch. Cache health metrics include:.- NetworkBandwidthOutAllowanceExceeded : The network packets dropped because the throughput exceeded the aggregated bandwidth limit. This is useful for diagnosing bottlenecks in a cache configuration.
- EngineCPUUtilization : The CPU utilization (percentage) allocated to the Redis process. This is useful for diagnosing bottlenecks in a cache configuration.
Metrics will be recorded by API ID. You can set the value to
ENABLED
orDISABLED
.- Specified by:
getHealthMetricsConfig
in interfaceCfnApiCacheProps
- See Also:
-
getTransitEncryptionEnabled
Description copied from interface:CfnApiCacheProps
Transit encryption flag when connecting to cache.You cannot update this setting after creation.
- Specified by:
getTransitEncryptionEnabled
in interfaceCfnApiCacheProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-