Class CfnApiCacheMixinProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiCacheMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnApiCacheMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnApiCacheMixinProps
@Stability(Stable)
@Internal
public static final class CfnApiCacheMixinProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnApiCacheMixinProps
An implementation for
CfnApiCacheMixinProps-
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.cfnpropertymixins.services.appsync.CfnApiCacheMixinProps
CfnApiCacheMixinProps.Builder, CfnApiCacheMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnApiCacheMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnApiCacheMixinProps.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 theCfnApiCacheMixinProps.Builder.
-
-
Method Details
-
getApiCachingBehavior
Description copied from interface:CfnApiCacheMixinPropsCaching 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 interfaceCfnApiCacheMixinProps- See Also:
-
getApiId
Description copied from interface:CfnApiCacheMixinPropsThe GraphQL API ID.- Specified by:
getApiIdin interfaceCfnApiCacheMixinProps- See Also:
-
getAtRestEncryptionEnabled
Description copied from interface:CfnApiCacheMixinPropsThis parameter has been deprecated .At-rest encryption flag for cache. You cannot update this setting after creation.
Returns union: either
BooleanorIResolvable- Specified by:
getAtRestEncryptionEnabledin interfaceCfnApiCacheMixinProps- See Also:
-
getHealthMetricsConfig
Description copied from interface:CfnApiCacheMixinPropsControls 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 interfaceCfnApiCacheMixinProps- See Also:
-
getTransitEncryptionEnabled
Description copied from interface:CfnApiCacheMixinPropsThis 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 interfaceCfnApiCacheMixinProps- See Also:
-
getTtl
Description copied from interface:CfnApiCacheMixinPropsTTL in seconds for cache entries.Valid values are 1–3,600 seconds.
- Specified by:
getTtlin interfaceCfnApiCacheMixinProps- See Also:
-
getType
Description copied from interface:CfnApiCacheMixinPropsThe 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 interfaceCfnApiCacheMixinProps- 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()
-