interface SuspendedStateProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalableTarget.SuspendedStateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalableTarget_SuspendedStateProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget.SuspendedStateProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalableTarget.SuspendedStateProperty |
TypeScript | aws-cdk-lib » aws_applicationautoscaling » CfnScalableTarget » SuspendedStateProperty |
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 { aws_applicationautoscaling as appscaling } from 'aws-cdk-lib';
const suspendedStateProperty: appscaling.CfnScalableTarget.SuspendedStateProperty = {
dynamicScalingInSuspended: false,
dynamicScalingOutSuspended: false,
scheduledScalingSuspended: false,
};
Properties
Name | Type | Description |
---|---|---|
dynamic | boolean | IResolvable | Whether scale in by a target tracking scaling policy or a step scaling policy is suspended. |
dynamic | boolean | IResolvable | Whether scale out by a target tracking scaling policy or a step scaling policy is suspended. |
scheduled | boolean | IResolvable | Whether scheduled scaling is suspended. |
dynamicScalingInSuspended?
Type:
boolean |
IResolvable
(optional)
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 is false
.
dynamicScalingOutSuspended?
Type:
boolean |
IResolvable
(optional)
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 is false
.
scheduledScalingSuspended?
Type:
boolean |
IResolvable
(optional)
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 is false
.