@Stability(value=Experimental) @Internal public static final class UtilizationScalingOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UtilizationScalingOptions
UtilizationScalingOptions
software.amazon.jsii.JsiiObject.InitializationMode
UtilizationScalingOptions.Builder, UtilizationScalingOptions.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number utilizationTarget,
Boolean disableScaleIn,
String policyName,
Duration scaleInCooldown,
Duration scaleOutCooldown)
Constructor that initializes the object based on literal property values passed by the
UtilizationScalingOptions.Builder . |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getDisableScaleIn()
(experimental) Indicates whether scale in by the target tracking policy is disabled.
|
String |
getPolicyName()
(experimental) A name for the scaling policy.
|
Duration |
getScaleInCooldown()
(experimental) Period after a scale in activity completes before another scale in activity can start.
|
Duration |
getScaleOutCooldown()
(experimental) Period after a scale out activity completes before another scale out activity can start.
|
Number |
getUtilizationTarget()
(experimental) Utilization target for the attribute.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final Number getUtilizationTarget()
UtilizationScalingOptions
For example, .5 indicates that 50 percent of allocated provisioned concurrency is in use.
getUtilizationTarget
in interface UtilizationScalingOptions
public final Boolean getDisableScaleIn()
BaseTargetTrackingProps
If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.
Default: false
getDisableScaleIn
in interface BaseTargetTrackingProps
public final String getPolicyName()
BaseTargetTrackingProps
Default: - Automatically generated name.
getPolicyName
in interface BaseTargetTrackingProps
public final Duration getScaleInCooldown()
BaseTargetTrackingProps
Default: Duration.seconds(300) for the following scalable targets: ECS services, Spot Fleet requests, EMR clusters, AppStream 2.0 fleets, Aurora DB clusters, Amazon SageMaker endpoint variants, Custom resources. For all other scalable targets, the default value is Duration.seconds(0): DynamoDB tables, DynamoDB global secondary indexes, Amazon Comprehend document classification endpoints, Lambda provisioned concurrency
getScaleInCooldown
in interface BaseTargetTrackingProps
public final Duration getScaleOutCooldown()
BaseTargetTrackingProps
Default: Duration.seconds(300) for the following scalable targets: ECS services, Spot Fleet requests, EMR clusters, AppStream 2.0 fleets, Aurora DB clusters, Amazon SageMaker endpoint variants, Custom resources. For all other scalable targets, the default value is Duration.seconds(0): DynamoDB tables, DynamoDB global secondary indexes, Amazon Comprehend document classification endpoints, Lambda provisioned concurrency
getScaleOutCooldown
in interface BaseTargetTrackingProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.