@Stability(value=Stable)
public static interface CfnScalableTarget.SuspendedStateProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScalableTarget.SuspendedStateProperty.Builder
A builder for
CfnScalableTarget.SuspendedStateProperty |
static class |
CfnScalableTarget.SuspendedStateProperty.Jsii$Proxy
An implementation for
CfnScalableTarget.SuspendedStateProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScalableTarget.SuspendedStateProperty.Builder |
builder() |
default Object |
getDynamicScalingInSuspended()
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
default Object |
getDynamicScalingOutSuspended()
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
default Object |
getScheduledScalingSuspended()
Whether scheduled scaling is suspended.
|
@Stability(value=Stable) @Nullable default Object getDynamicScalingInSuspended()
Set the value to true if you don't want Application Auto Scaling to remove capacity when a scaling policy is triggered. The default is false .
@Stability(value=Stable) @Nullable default Object getDynamicScalingOutSuspended()
Set the value to true if you don't want Application Auto Scaling to add capacity when a scaling policy is triggered. The default is false .
@Stability(value=Stable) @Nullable default Object getScheduledScalingSuspended()
Set the value to true if you don't want Application Auto Scaling to add or remove capacity by initiating scheduled actions. The default is false .
@Stability(value=Stable) static CfnScalableTarget.SuspendedStateProperty.Builder builder()
Copyright © 2022. All rights reserved.