interface ScalableTargetActionProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalableTarget.ScalableTargetActionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalableTarget_ScalableTargetActionProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalableTarget.ScalableTargetActionProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalableTarget.ScalableTargetActionProperty |
TypeScript | aws-cdk-lib » aws_applicationautoscaling » CfnScalableTarget » ScalableTargetActionProperty |
ScalableTargetAction
specifies the minimum and maximum capacity for the ScalableTargetAction
property of the AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction property type.
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 scalableTargetActionProperty: appscaling.CfnScalableTarget.ScalableTargetActionProperty = {
maxCapacity: 123,
minCapacity: 123,
};
Properties
Name | Type | Description |
---|---|---|
max | number | The maximum capacity. |
min | number | The minimum capacity. |
maxCapacity?
Type:
number
(optional)
The maximum capacity.
minCapacity?
Type:
number
(optional)
The minimum capacity.