-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnScalingPolicy_TargetTrackingMetricProperty.go
38 lines (35 loc) · 1.77 KB
/
CfnScalingPolicy_TargetTrackingMetricProperty.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
28
29
30
31
32
33
34
35
36
37
package awsapplicationautoscaling
// Represents a specific metric.
//
// 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"
//
// targetTrackingMetricProperty := &TargetTrackingMetricProperty{
// Dimensions: []interface{}{
// &TargetTrackingMetricDimensionProperty{
// Name: jsii.String("name"),
// Value: jsii.String("value"),
// },
// },
// MetricName: jsii.String("metricName"),
// Namespace: jsii.String("namespace"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html
//
type CfnScalingPolicy_TargetTrackingMetricProperty struct {
// The dimensions for the metric.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetric-dimensions
//
Dimensions interface{} `field:"optional" json:"dimensions" yaml:"dimensions"`
// The name of the metric.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetric-metricname
//
MetricName *string `field:"optional" json:"metricName" yaml:"metricName"`
// The namespace of the metric.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html#cfn-applicationautoscaling-scalingpolicy-targettrackingmetric-namespace
//
Namespace *string `field:"optional" json:"namespace" yaml:"namespace"`
}