aws-cdk-lib.aws_applicationautoscaling.CfnScalableTarget.SuspendedStateProperty

interface SuspendedStateProperty

LanguageType name
.NETAmazon.CDK.AWS.ApplicationAutoScaling.CfnScalableTarget.SuspendedStateProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalableTarget_SuspendedStateProperty
Javasoftware.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget.SuspendedStateProperty
Pythonaws_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

NameTypeDescription
dynamicScalingInSuspended?boolean | IResolvableWhether scale in by a target tracking scaling policy or a step scaling policy is suspended.
dynamicScalingOutSuspended?boolean | IResolvableWhether scale out by a target tracking scaling policy or a step scaling policy is suspended.
scheduledScalingSuspended?boolean | IResolvableWhether 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 .