Class CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.TargetTrackingConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.TargetTrackingConfigurationProperty
CfnScalingPolicy.TargetTrackingConfigurationProperty-
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.autoscaling.CfnScalingPolicy.TargetTrackingConfigurationProperty
CfnScalingPolicy.TargetTrackingConfigurationProperty.Builder, CfnScalingPolicy.TargetTrackingConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.TargetTrackingConfigurationProperty.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 ObjectA customized metric.final ObjectIndicates whether scaling in by the target tracking scaling policy is disabled.final ObjectA predefined metric.final NumberThe target value for the metric.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 theCfnScalingPolicy.TargetTrackingConfigurationProperty.Builder.
-
-
Method Details
-
getTargetValue
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationPropertyThe 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:
getTargetValuein interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty- See Also:
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationPropertyA customized metric.You must specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicy.CustomizedMetricSpecificationProperty- Specified by:
getCustomizedMetricSpecificationin interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty- See Also:
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationPropertyIndicates 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.Returns union: either
BooleanorIResolvable- Specified by:
getDisableScaleInin interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty- See Also:
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicy.TargetTrackingConfigurationPropertyA predefined metric.You must specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicy.PredefinedMetricSpecificationProperty- Specified by:
getPredefinedMetricSpecificationin interfaceCfnScalingPolicy.TargetTrackingConfigurationProperty- 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()
-