@@ -67,6 +67,166 @@ class ScalableTarget(AWSObject):
6767 }
6868
6969
70+ class PredictiveScalingMetricDimension (AWSProperty ):
71+ """
72+ `PredictiveScalingMetricDimension <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdimension.html>`__
73+ """
74+
75+ props : PropsDictType = {
76+ "Name" : (str , False ),
77+ "Value" : (str , False ),
78+ }
79+
80+
81+ class PredictiveScalingMetric (AWSProperty ):
82+ """
83+ `PredictiveScalingMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetric.html>`__
84+ """
85+
86+ props : PropsDictType = {
87+ "Dimensions" : ([PredictiveScalingMetricDimension ], False ),
88+ "MetricName" : (str , False ),
89+ "Namespace" : (str , False ),
90+ }
91+
92+
93+ class PredictiveScalingMetricStat (AWSProperty ):
94+ """
95+ `PredictiveScalingMetricStat <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricstat.html>`__
96+ """
97+
98+ props : PropsDictType = {
99+ "Metric" : (PredictiveScalingMetric , False ),
100+ "Stat" : (str , False ),
101+ "Unit" : (str , False ),
102+ }
103+
104+
105+ class PredictiveScalingMetricDataQuery (AWSProperty ):
106+ """
107+ `PredictiveScalingMetricDataQuery <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdataquery.html>`__
108+ """
109+
110+ props : PropsDictType = {
111+ "Expression" : (str , False ),
112+ "Id" : (str , False ),
113+ "Label" : (str , False ),
114+ "MetricStat" : (PredictiveScalingMetricStat , False ),
115+ "ReturnData" : (boolean , False ),
116+ }
117+
118+
119+ class PredictiveScalingCustomizedCapacityMetric (AWSProperty ):
120+ """
121+ `PredictiveScalingCustomizedCapacityMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html>`__
122+ """
123+
124+ props : PropsDictType = {
125+ "MetricDataQueries" : ([PredictiveScalingMetricDataQuery ], True ),
126+ }
127+
128+
129+ class PredictiveScalingCustomizedLoadMetric (AWSProperty ):
130+ """
131+ `PredictiveScalingCustomizedLoadMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedloadmetric.html>`__
132+ """
133+
134+ props : PropsDictType = {
135+ "MetricDataQueries" : ([PredictiveScalingMetricDataQuery ], True ),
136+ }
137+
138+
139+ class PredictiveScalingCustomizedScalingMetric (AWSProperty ):
140+ """
141+ `PredictiveScalingCustomizedScalingMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html>`__
142+ """
143+
144+ props : PropsDictType = {
145+ "MetricDataQueries" : ([PredictiveScalingMetricDataQuery ], True ),
146+ }
147+
148+
149+ class PredictiveScalingPredefinedLoadMetric (AWSProperty ):
150+ """
151+ `PredictiveScalingPredefinedLoadMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedloadmetric.html>`__
152+ """
153+
154+ props : PropsDictType = {
155+ "PredefinedMetricType" : (str , True ),
156+ "ResourceLabel" : (str , False ),
157+ }
158+
159+
160+ class PredictiveScalingPredefinedMetricPair (AWSProperty ):
161+ """
162+ `PredictiveScalingPredefinedMetricPair <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedmetricpair.html>`__
163+ """
164+
165+ props : PropsDictType = {
166+ "PredefinedMetricType" : (str , True ),
167+ "ResourceLabel" : (str , False ),
168+ }
169+
170+
171+ class PredictiveScalingPredefinedScalingMetric (AWSProperty ):
172+ """
173+ `PredictiveScalingPredefinedScalingMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedscalingmetric.html>`__
174+ """
175+
176+ props : PropsDictType = {
177+ "PredefinedMetricType" : (str , True ),
178+ "ResourceLabel" : (str , False ),
179+ }
180+
181+
182+ class PredictiveScalingMetricSpecification (AWSProperty ):
183+ """
184+ `PredictiveScalingMetricSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricspecification.html>`__
185+ """
186+
187+ props : PropsDictType = {
188+ "CustomizedCapacityMetricSpecification" : (
189+ PredictiveScalingCustomizedCapacityMetric ,
190+ False ,
191+ ),
192+ "CustomizedLoadMetricSpecification" : (
193+ PredictiveScalingCustomizedLoadMetric ,
194+ False ,
195+ ),
196+ "CustomizedScalingMetricSpecification" : (
197+ PredictiveScalingCustomizedScalingMetric ,
198+ False ,
199+ ),
200+ "PredefinedLoadMetricSpecification" : (
201+ PredictiveScalingPredefinedLoadMetric ,
202+ False ,
203+ ),
204+ "PredefinedMetricPairSpecification" : (
205+ PredictiveScalingPredefinedMetricPair ,
206+ False ,
207+ ),
208+ "PredefinedScalingMetricSpecification" : (
209+ PredictiveScalingPredefinedScalingMetric ,
210+ False ,
211+ ),
212+ "TargetValue" : (double , True ),
213+ }
214+
215+
216+ class PredictiveScalingPolicyConfiguration (AWSProperty ):
217+ """
218+ `PredictiveScalingPolicyConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpolicyconfiguration.html>`__
219+ """
220+
221+ props : PropsDictType = {
222+ "MaxCapacityBreachBehavior" : (str , False ),
223+ "MaxCapacityBuffer" : (integer , False ),
224+ "MetricSpecifications" : ([PredictiveScalingMetricSpecification ], True ),
225+ "Mode" : (str , False ),
226+ "SchedulingBufferTime" : (integer , False ),
227+ }
228+
229+
70230class StepAdjustment (AWSProperty ):
71231 """
72232 `StepAdjustment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepadjustment.html>`__
@@ -204,6 +364,10 @@ class ScalingPolicy(AWSObject):
204364 props : PropsDictType = {
205365 "PolicyName" : (str , True ),
206366 "PolicyType" : (str , True ),
367+ "PredictiveScalingPolicyConfiguration" : (
368+ PredictiveScalingPolicyConfiguration ,
369+ False ,
370+ ),
207371 "ResourceId" : (str , False ),
208372 "ScalableDimension" : (str , False ),
209373 "ScalingTargetId" : (str , False ),
0 commit comments