Interface CfnScalableTarget.SuspendedStateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalableTarget.SuspendedStateProperty.Jsii$Proxy
- Enclosing class:
- CfnScalableTarget
@Stability(Stable)
public static interface CfnScalableTarget.SuspendedStateProperty
extends software.amazon.jsii.JsiiSerializable
SuspendedState is a property of the AWS::ApplicationAutoScaling::ScalableTarget resource that specifies whether the scaling activities for a scalable target are in a suspended state.
For more information, see Suspending and resuming scaling in the Application Auto Scaling User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationautoscaling.*;
SuspendedStateProperty suspendedStateProperty = SuspendedStateProperty.builder()
.dynamicScalingInSuspended(false)
.dynamicScalingOutSuspended(false)
.scheduledScalingSuspended(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScalableTarget.SuspendedStatePropertystatic final classAn implementation forCfnScalableTarget.SuspendedStateProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether scale in by a target tracking scaling policy or a step scaling policy is suspended.default ObjectWhether scale out by a target tracking scaling policy or a step scaling policy is suspended.default ObjectWhether scheduled scaling is suspended.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDynamicScalingInSuspended
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.Set the value to
trueif you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default isfalse. -
getDynamicScalingOutSuspended
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.Set the value to
trueif you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default isfalse. -
getScheduledScalingSuspended
Whether scheduled scaling is suspended.Set the value to
trueif you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default isfalse. -
builder
-