-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnScalingPolicy_MetricDimensionProperty.go
28 lines (25 loc) · 1.46 KB
/
CfnScalingPolicy_MetricDimensionProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package awsautoscaling
// `MetricDimension` specifies a name/value pair that is part of the identity of a CloudWatch metric for the `Dimensions` property of the [AWS::AutoScaling::ScalingPolicy CustomizedMetricSpecification](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-customizedmetricspecification.html) property type. Duplicate dimensions are not allowed.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// metricDimensionProperty := &MetricDimensionProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdimension.html
//
type CfnScalingPolicy_MetricDimensionProperty struct {
// The name of the dimension.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdimension.html#cfn-autoscaling-scalingpolicy-metricdimension-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The value of the dimension.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-metricdimension.html#cfn-autoscaling-scalingpolicy-metricdimension-value
//
Value *string `field:"required" json:"value" yaml:"value"`
}