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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.appsync.CfnApiCacheProps
CfnApiCacheProps.Builder, CfnApiCacheProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnApiCacheProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnApiCacheProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal StringCaching behavior.final StringgetApiId()The GraphQL API ID.final ObjectThis parameter has been deprecated .final StringControls how cache health metrics will be emitted to CloudWatch.final ObjectThis parameter has been deprecated .final NumbergetTtl()TTL in seconds for cache entries.final StringgetType()The cache instance type.final inthashCode()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:CfnApiCachePropsCaching behavior.- FULL_REQUEST_CACHING : All requests from the same user are cached. Individual resolvers are automatically cached. All API calls will try to return responses from the cache.
- PER_RESOLVER_CACHING : Individual resolvers that you specify are cached.
- OPERATION_LEVEL_CACHING : Full requests are cached together and returned without executing resolvers.
- Specified by:
getApiCachingBehaviorin interfaceCfnApiCacheProps- See Also:
-
getApiId
Description copied from interface:CfnApiCachePropsThe GraphQL API ID.- Specified by:
getApiIdin interfaceCfnApiCacheProps- See Also:
-
getTtl
Description copied from interface:CfnApiCachePropsTTL in seconds for cache entries.Valid values are 1–3,600 seconds.
- Specified by:
getTtlin interfaceCfnApiCacheProps- See Also:
-
getType
Description copied from interface:CfnApiCachePropsThe cache instance type. Valid values are.SMALLMEDIUMLARGEXLARGELARGE_2XLARGE_4XLARGE_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:
getTypein interfaceCfnApiCacheProps- See Also:
-
getAtRestEncryptionEnabled
Description copied from interface:CfnApiCachePropsThis parameter has been deprecated .At-rest encryption flag for cache. You cannot update this setting after creation.
Returns union: either
BooleanorIResolvable- Specified by:
getAtRestEncryptionEnabledin interfaceCfnApiCacheProps- See Also:
-
getHealthMetricsConfig
Description copied from interface:CfnApiCachePropsControls 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
ENABLEDorDISABLED.- Specified by:
getHealthMetricsConfigin interfaceCfnApiCacheProps- See Also:
-
getTransitEncryptionEnabled
Description copied from interface:CfnApiCachePropsThis parameter has been deprecated .Transit encryption flag when connecting to cache. You cannot update this setting after creation.
Returns union: either
BooleanorIResolvable- Specified by:
getTransitEncryptionEnabledin interfaceCfnApiCacheProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-