Class CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty
CfnScalingPolicyPropsMixin.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.cfnpropertymixins.services.autoscaling.CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty
CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty.Builder, CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.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
protected Jsii$Proxy(CfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty.Builder.
-
-
Method Details
-
getCustomizedMetricSpecification
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingConfigurationPropertyA customized metric.You must specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicyPropsMixin.CustomizedMetricSpecificationProperty- Specified by:
getCustomizedMetricSpecificationin interfaceCfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty- See Also:
-
getDisableScaleIn
Description copied from interface:CfnScalingPolicyPropsMixin.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 interfaceCfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty- See Also:
-
getPredefinedMetricSpecification
Description copied from interface:CfnScalingPolicyPropsMixin.TargetTrackingConfigurationPropertyA predefined metric.You must specify either a predefined metric or a customized metric.
Returns union: either
IResolvableorCfnScalingPolicyPropsMixin.PredefinedMetricSpecificationProperty- Specified by:
getPredefinedMetricSpecificationin interfaceCfnScalingPolicyPropsMixin.TargetTrackingConfigurationProperty- See Also:
-
getTargetValue
Description copied from interface:CfnScalingPolicyPropsMixin.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 interfaceCfnScalingPolicyPropsMixin.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()
-