Skip to content

Commit dbb8ed0

Browse files
Updates from spec version 188.0.0 (#2278)
1 parent c915c77 commit dbb8ed0

78 files changed

Lines changed: 5942 additions & 771 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

troposphere/accessanalyzer.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,34 @@
1010
from .validators import boolean, integer
1111

1212

13+
class AnalysisRuleCriteria(AWSProperty):
14+
"""
15+
`AnalysisRuleCriteria <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrulecriteria.html>`__
16+
"""
17+
18+
props: PropsDictType = {
19+
"AccountIds": ([str], False),
20+
"ResourceTags": (dict, False),
21+
}
22+
23+
24+
class AnalysisRule(AWSProperty):
25+
"""
26+
`AnalysisRule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrule.html>`__
27+
"""
28+
29+
props: PropsDictType = {
30+
"Exclusions": ([AnalysisRuleCriteria], False),
31+
}
32+
33+
1334
class UnusedAccessConfiguration(AWSProperty):
1435
"""
1536
`UnusedAccessConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-unusedaccessconfiguration.html>`__
1637
"""
1738

1839
props: PropsDictType = {
40+
"AnalysisRule": (AnalysisRule, False),
1941
"UnusedAccessAge": (integer, False),
2042
}
2143

troposphere/amazonmq.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ class User(AWSProperty):
8484
props: PropsDictType = {
8585
"ConsoleAccess": (boolean, False),
8686
"Groups": ([str], False),
87+
"JolokiaApiAccess": (str, False),
8788
"Password": (str, True),
8889
"ReplicationUser": (boolean, False),
8990
"Username": (str, True),
@@ -130,7 +131,7 @@ class Configuration(AWSObject):
130131

131132
props: PropsDictType = {
132133
"AuthenticationStrategy": (str, False),
133-
"Data": (str, True),
134+
"Data": (str, False),
134135
"Description": (str, False),
135136
"EngineType": (str, True),
136137
"EngineVersion": (str, False),

troposphere/apigateway.py

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,21 @@ class BasePathMapping(AWSObject):
9797
}
9898

9999

100+
class BasePathMappingV2(AWSObject):
101+
"""
102+
`BasePathMappingV2 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmappingv2.html>`__
103+
"""
104+
105+
resource_type = "AWS::ApiGateway::BasePathMappingV2"
106+
107+
props: PropsDictType = {
108+
"BasePath": (str, False),
109+
"DomainNameArn": (str, True),
110+
"RestApiId": (str, True),
111+
"Stage": (str, False),
112+
}
113+
114+
100115
class ClientCertificate(AWSObject):
101116
"""
102117
`ClientCertificate <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html>`__
@@ -279,6 +294,38 @@ class DomainName(AWSObject):
279294
}
280295

281296

297+
class DomainNameAccessAssociation(AWSObject):
298+
"""
299+
`DomainNameAccessAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnameaccessassociation.html>`__
300+
"""
301+
302+
resource_type = "AWS::ApiGateway::DomainNameAccessAssociation"
303+
304+
props: PropsDictType = {
305+
"AccessAssociationSource": (str, True),
306+
"AccessAssociationSourceType": (str, True),
307+
"DomainNameArn": (str, True),
308+
"Tags": (Tags, False),
309+
}
310+
311+
312+
class DomainNameV2(AWSObject):
313+
"""
314+
`DomainNameV2 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html>`__
315+
"""
316+
317+
resource_type = "AWS::ApiGateway::DomainNameV2"
318+
319+
props: PropsDictType = {
320+
"CertificateArn": (str, False),
321+
"DomainName": (str, False),
322+
"EndpointConfiguration": (EndpointConfiguration, False),
323+
"Policy": (dict, False),
324+
"SecurityPolicy": (str, False),
325+
"Tags": (Tags, False),
326+
}
327+
328+
282329
class GatewayResponse(AWSObject):
283330
"""
284331
`GatewayResponse <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html>`__

troposphere/appconfig.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class ConfigurationProfile(AWSObject):
4949

5050
props: PropsDictType = {
5151
"ApplicationId": (str, True),
52+
"DeletionProtectionCheck": (str, False),
5253
"Description": (str, False),
5354
"KmsKeyIdentifier": (str, False),
5455
"LocationUri": (str, True),
@@ -131,6 +132,7 @@ class Environment(AWSObject):
131132

132133
props: PropsDictType = {
133134
"ApplicationId": (str, True),
135+
"DeletionProtectionCheck": (str, False),
134136
"Description": (str, False),
135137
"Monitors": ([Monitor], False),
136138
"Name": (str, True),

troposphere/applicationautoscaling.py

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
70230
class 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),

troposphere/applicationinsights.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,6 @@ class Application(AWSObject):
249249
"OpsCenterEnabled": (boolean, False),
250250
"OpsItemSNSTopicArn": (str, False),
251251
"ResourceGroupName": (str, True),
252+
"SNSNotificationArn": (str, False),
252253
"Tags": (Tags, False),
253254
}

troposphere/applicationsignals.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
from .validators import boolean, double, integer
1111

1212

13+
class BurnRateConfiguration(AWSProperty):
14+
"""
15+
`BurnRateConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-burnrateconfiguration.html>`__
16+
"""
17+
18+
props: PropsDictType = {
19+
"LookBackWindowMinutes": (integer, True),
20+
}
21+
22+
1323
class CalendarInterval(AWSProperty):
1424
"""
1525
`CalendarInterval <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-calendarinterval.html>`__
@@ -178,6 +188,7 @@ class ServiceLevelObjective(AWSObject):
178188
resource_type = "AWS::ApplicationSignals::ServiceLevelObjective"
179189

180190
props: PropsDictType = {
191+
"BurnRateConfigurations": ([BurnRateConfiguration], False),
181192
"Description": (str, False),
182193
"Goal": (Goal, False),
183194
"Name": (str, True),

0 commit comments

Comments
 (0)