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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnScalableTarget.SuspendedStateProperty
static final class
An implementation forCfnScalableTarget.SuspendedStateProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.default Object
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.default Object
Whether 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
true
if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default isfalse
.- See Also:
-
getDynamicScalingOutSuspended
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.Set the value to
true
if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default isfalse
.- See Also:
-
getScheduledScalingSuspended
Whether scheduled scaling is suspended.Set the value to
true
if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default isfalse
.- See Also:
-
builder
-