interface PredictiveScalingCustomizedScalingMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingCustomizedScalingMetricProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty |
TypeScript | aws-cdk-lib » aws_applicationautoscaling » CfnScalingPolicy » PredictiveScalingCustomizedScalingMetricProperty |
One or more metric data queries to provide data points for a metric specification.
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 predictiveScalingCustomizedScalingMetricProperty: appscaling.CfnScalingPolicy.PredictiveScalingCustomizedScalingMetricProperty = {
metricDataQueries: [{
expression: 'expression',
id: 'id',
label: 'label',
metricStat: {
metric: {
dimensions: [{
name: 'name',
value: 'value',
}],
metricName: 'metricName',
namespace: 'namespace',
},
stat: 'stat',
unit: 'unit',
},
returnData: false,
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| metric | IResolvable | (IResolvable | Predictive)[] | One or more metric data queries to provide data points for a metric specification. |
metricDataQueries
Type:
IResolvable | (IResolvable | Predictive)[]
One or more metric data queries to provide data points for a metric specification.

.NET
Go
Java
Python
TypeScript