interface PredictiveScalingCustomizedCapacityMetricProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingCustomizedCapacityMetricProperty | 
  Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty | 
  Python | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingCustomizedCapacityMetricProperty | 
  TypeScript  | 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.

 .NET
 Go
 Java
 Python
 TypeScript