interface PredictiveScalingCustomizedLoadMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Mixins.CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedLoadMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/mixins#CfnScalingPolicyPropsMixin_PredictiveScalingCustomizedLoadMetricProperty |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedLoadMetricProperty |
Python | aws_cdk.mixins_preview.aws_autoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedLoadMetricProperty |
TypeScript | @aws-cdk/mixins-preview » aws_autoscaling » mixins » CfnScalingPolicyPropsMixin » PredictiveScalingCustomizedLoadMetricProperty |
Contains load metric information for the CustomizedLoadMetricSpecification property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as autoscaling_mixins } from '@aws-cdk/mixins-preview/aws-autoscaling';
const predictiveScalingCustomizedLoadMetricProperty: autoscaling_mixins.CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedLoadMetricProperty = {
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 | Metric)[] | One or more metric data queries to provide the data points for a load metric. |
metricDataQueries?
Type:
IResolvable | (IResolvable | Metric)[]
(optional)
One or more metric data queries to provide the data points for a load metric.
Use multiple metric data queries only if you are performing a math expression on returned data.

.NET
Go
Java
Python
TypeScript