@@ -69,7 +69,7 @@ class ScalableTarget(AWSObject):
6969
7070class StepAdjustment (AWSProperty ):
7171 """
72- `StepAdjustment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration- stepadjustment.html>`__
72+ `StepAdjustment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepadjustment.html>`__
7373 """
7474
7575 props : PropsDictType = {
@@ -104,16 +104,66 @@ class MetricDimension(AWSProperty):
104104 }
105105
106106
107+ class TargetTrackingMetricDimension (AWSProperty ):
108+ """
109+ `TargetTrackingMetricDimension <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdimension.html>`__
110+ """
111+
112+ props : PropsDictType = {
113+ "Name" : (str , False ),
114+ "Value" : (str , False ),
115+ }
116+
117+
118+ class TargetTrackingMetric (AWSProperty ):
119+ """
120+ `TargetTrackingMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetric.html>`__
121+ """
122+
123+ props : PropsDictType = {
124+ "Dimensions" : ([TargetTrackingMetricDimension ], False ),
125+ "MetricName" : (str , False ),
126+ "Namespace" : (str , False ),
127+ }
128+
129+
130+ class TargetTrackingMetricStat (AWSProperty ):
131+ """
132+ `TargetTrackingMetricStat <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricstat.html>`__
133+ """
134+
135+ props : PropsDictType = {
136+ "Metric" : (TargetTrackingMetric , False ),
137+ "Stat" : (str , False ),
138+ "Unit" : (str , False ),
139+ }
140+
141+
142+ class TargetTrackingMetricDataQuery (AWSProperty ):
143+ """
144+ `TargetTrackingMetricDataQuery <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-targettrackingmetricdataquery.html>`__
145+ """
146+
147+ props : PropsDictType = {
148+ "Expression" : (str , False ),
149+ "Id" : (str , False ),
150+ "Label" : (str , False ),
151+ "MetricStat" : (TargetTrackingMetricStat , False ),
152+ "ReturnData" : (boolean , False ),
153+ }
154+
155+
107156class CustomizedMetricSpecification (AWSProperty ):
108157 """
109158 `CustomizedMetricSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-customizedmetricspecification.html>`__
110159 """
111160
112161 props : PropsDictType = {
113162 "Dimensions" : ([MetricDimension ], False ),
114- "MetricName" : (str , True ),
115- "Namespace" : (str , True ),
116- "Statistic" : (str , True ),
163+ "MetricName" : (str , False ),
164+ "Metrics" : ([TargetTrackingMetricDataQuery ], False ),
165+ "Namespace" : (str , False ),
166+ "Statistic" : (str , False ),
117167 "Unit" : (str , False ),
118168 }
119169
0 commit comments