interface CfnScalingPlanMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScalingPlans.Mixins.CfnScalingPlanMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscalingplans/mixins#CfnScalingPlanMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.autoscalingplans.mixins.CfnScalingPlanMixinProps |
Python | aws_cdk.mixins_preview.aws_autoscalingplans.mixins.CfnScalingPlanMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_autoscalingplans » mixins » CfnScalingPlanMixinProps |
Properties for CfnScalingPlanPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as autoscalingplans_mixins } from '@aws-cdk/mixins-preview/aws-autoscalingplans';
const cfnScalingPlanMixinProps: autoscalingplans_mixins.CfnScalingPlanMixinProps = {
applicationSource: {
cloudFormationStackArn: 'cloudFormationStackArn',
tagFilters: [{
key: 'key',
values: ['values'],
}],
},
scalingInstructions: [{
customizedLoadMetricSpecification: {
dimensions: [{
name: 'name',
value: 'value',
}],
metricName: 'metricName',
namespace: 'namespace',
statistic: 'statistic',
unit: 'unit',
},
disableDynamicScaling: false,
maxCapacity: 123,
minCapacity: 123,
predefinedLoadMetricSpecification: {
predefinedLoadMetricType: 'predefinedLoadMetricType',
resourceLabel: 'resourceLabel',
},
predictiveScalingMaxCapacityBehavior: 'predictiveScalingMaxCapacityBehavior',
predictiveScalingMaxCapacityBuffer: 123,
predictiveScalingMode: 'predictiveScalingMode',
resourceId: 'resourceId',
scalableDimension: 'scalableDimension',
scalingPolicyUpdateBehavior: 'scalingPolicyUpdateBehavior',
scheduledActionBufferTime: 123,
serviceNamespace: 'serviceNamespace',
targetTrackingConfigurations: [{
customizedScalingMetricSpecification: {
dimensions: [{
name: 'name',
value: 'value',
}],
metricName: 'metricName',
namespace: 'namespace',
statistic: 'statistic',
unit: 'unit',
},
disableScaleIn: false,
estimatedInstanceWarmup: 123,
predefinedScalingMetricSpecification: {
predefinedScalingMetricType: 'predefinedScalingMetricType',
resourceLabel: 'resourceLabel',
},
scaleInCooldown: 123,
scaleOutCooldown: 123,
targetValue: 123,
}],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| application | IResolvable | Application | A CloudFormation stack or a set of tags. |
| scaling | IResolvable | (IResolvable | Scaling)[] | The scaling instructions. |
applicationSource?
Type:
IResolvable | Application
(optional)
A CloudFormation stack or a set of tags.
You can create one scaling plan per application source. The ApplicationSource property must be present to ensure interoperability with the AWS Auto Scaling console.
scalingInstructions?
Type:
IResolvable | (IResolvable | Scaling)[]
(optional)
The scaling instructions.

.NET
Go
Java
Python
TypeScript