interface PredictiveScalingMetricProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApplicationAutoScaling.Mixins.CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapplicationautoscaling/mixins#CfnScalingPolicyPropsMixin_PredictiveScalingMetricProperty |
Java | software.amazon.awscdk.mixins.preview.services.applicationautoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty |
Python | aws_cdk.mixins_preview.aws_applicationautoscaling.mixins.CfnScalingPolicyPropsMixin.PredictiveScalingMetricProperty |
TypeScript | @aws-cdk/mixins-preview » aws_applicationautoscaling » mixins » CfnScalingPolicyPropsMixin » 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 { mixins as applicationautoscaling_mixins } from '@aws-cdk/mixins-preview/aws-applicationautoscaling';
const predictiveScalingMetricProperty: applicationautoscaling_mixins.CfnScalingPolicyPropsMixin.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