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