Class CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.TargetTrackingConfigurationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.TargetTrackingConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.TargetTrackingConfigurationProperty
An implementation for
CfnScalingPolicy.TargetTrackingConfigurationProperty
-
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.autoscaling.CfnScalingPolicy.TargetTrackingConfigurationProperty
CfnScalingPolicy.TargetTrackingConfigurationProperty.Builder, CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingConfigurationProperty.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 Object
A customized metric.final Object
Indicates whether scaling in by the target tracking scaling policy is disabled.final Object
A predefined metric.final Number
The target value for the metric.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 theCfnScalingPolicy.TargetTrackingConfigurationProperty.Builder
.
-
-
Method Details
-
getTargetValue
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationProperty
The target value for the metric.Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
- Specified by:
getTargetValue
in interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationProperty
A customized metric.You must specify either a predefined metric or a customized metric.
- Specified by:
getCustomizedMetricSpecification
in interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationProperty
Indicates whether scaling in by the target tracking scaling policy is disabled.If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is
false
.- Specified by:
getDisableScaleIn
in interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationProperty
A predefined metric.You must specify either a predefined metric or a customized metric.
- Specified by:
getPredefinedMetricSpecification
in interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty
-
$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()
-