interface PredictiveScalingMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ApplicationAutoScaling.CfnScalingPolicy.PredictiveScalingMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsapplicationautoscaling#CfnScalingPolicy_PredictiveScalingMetricProperty |
Java | software.amazon.awscdk.services.applicationautoscaling.CfnScalingPolicy.PredictiveScalingMetricProperty |
Python | aws_cdk.aws_applicationautoscaling.CfnScalingPolicy.PredictiveScalingMetricProperty |
TypeScript | aws-cdk-lib » aws_applicationautoscaling » CfnScalingPolicy » PredictiveScalingMetricProperty |
Describes the scaling metric.
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 predictiveScalingMetricProperty: appscaling.CfnScalingPolicy.PredictiveScalingMetricProperty = {
dimensions: [{
name: 'name',
value: 'value',
}],
metricName: 'metricName',
namespace: 'namespace',
};
Properties
| Name | Type | Description |
|---|---|---|
| dimensions? | IResolvable | (IResolvable | Predictive)[] | Describes the dimensions of the metric. |
| metric | string | The name of the metric. |
| namespace? | string | The namespace of the metric. |
dimensions?
Type:
IResolvable | (IResolvable | Predictive)[]
(optional)
Describes the dimensions of the metric.
metricName?
Type:
string
(optional)
The name of the metric.
namespace?
Type:
string
(optional)
The namespace of the metric.

.NET
Go
Java
Python
TypeScript