Class CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty
CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty-
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.applicationautoscaling.CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty
CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty.Builder, CfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty.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 StringDefines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity.final NumberThe size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.final ObjectThis structure includes the metrics and target utilization to use for predictive scaling.final StringgetMode()The predictive scaling mode.final NumberThe amount of time, in seconds, that the start time can be advanced.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.PredictiveScalingPolicyConfigurationProperty.Builder.
-
-
Method Details
-
getMetricSpecifications
Description copied from interface:CfnScalingPolicy.PredictiveScalingPolicyConfigurationPropertyThis structure includes the metrics and target utilization to use for predictive scaling.This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnScalingPolicy.PredictiveScalingMetricSpecificationProperty>- Specified by:
getMetricSpecificationsin interfaceCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty- See Also:
-
getMaxCapacityBreachBehavior
Description copied from interface:CfnScalingPolicy.PredictiveScalingPolicyConfigurationPropertyDefines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity.Defaults to
HonorMaxCapacityif not specified.- Specified by:
getMaxCapacityBreachBehaviorin interfaceCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty- See Also:
-
getMaxCapacityBuffer
Description copied from interface:CfnScalingPolicy.PredictiveScalingPolicyConfigurationPropertyThe size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
Required if the
MaxCapacityBreachBehaviorproperty is set toIncreaseMaxCapacity, and cannot be used otherwise.- Specified by:
getMaxCapacityBufferin interfaceCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty- See Also:
-
getMode
Description copied from interface:CfnScalingPolicy.PredictiveScalingPolicyConfigurationPropertyThe predictive scaling mode.Defaults to
ForecastOnlyif not specified.- Specified by:
getModein interfaceCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty- See Also:
-
getSchedulingBufferTime
Description copied from interface:CfnScalingPolicy.PredictiveScalingPolicyConfigurationPropertyThe amount of time, in seconds, that the start time can be advanced.The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
- Specified by:
getSchedulingBufferTimein interfaceCfnScalingPolicy.PredictiveScalingPolicyConfigurationProperty- 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()
-