public static interface CfnScalableTarget.SuspendedStateProperty
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 java.lang.Object |
getDynamicScalingInSuspended()
Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
|
default java.lang.Object |
getDynamicScalingOutSuspended()
Whether scale out by a target tracking scaling policy or a step scaling policy is suspended.
|
default java.lang.Object |
getScheduledScalingSuspended()
Whether scheduled scaling is suspended.
|
default java.lang.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
.
default java.lang.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
.
default java.lang.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
.
static CfnScalableTarget.SuspendedStateProperty.Builder builder()