Interface CfnScalableTargetPropsMixin.SuspendedStateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalableTargetPropsMixin.SuspendedStateProperty.Jsii$Proxy
- Enclosing class:
CfnScalableTargetPropsMixin
@Stability(Stable)
public static interface CfnScalableTargetPropsMixin.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.cfnpropertymixins.services.applicationautoscaling.*;
SuspendedStateProperty suspendedStateProperty = SuspendedStateProperty.builder()
.dynamicScalingInSuspended(false)
.dynamicScalingOutSuspended(false)
.scheduledScalingSuspended(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScalableTargetPropsMixin.SuspendedStatePropertystatic final classAn implementation forCfnScalableTargetPropsMixin.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.Returns union: either
BooleanorIResolvable- See Also:
-
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.Returns union: either
BooleanorIResolvable- See Also:
-
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.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-