interface PredictiveScalingCustomizedCapacityMetricProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingCustomizedCapacityMetricProperty |
![]() | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty |
![]() | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty |
![]() | aws-cdk-lib » aws_applicationautoscaling » CfnScalingPolicy » PredictiveScalingCustomizedCapacityMetricProperty |
Represents a CloudWatch metric of your choosing for a predictive scaling policy.
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 predictiveScalingCustomizedCapacityMetricProperty: appscaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty = {
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.