Skip to content

Commit 6844be9

Browse files
Updates from spec version 197.0.0 (#2302)
1 parent f99545c commit 6844be9

5 files changed

Lines changed: 100 additions & 0 deletions

File tree

troposphere/budgets.py

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,57 @@ class CostTypes(AWSProperty):
5151
}
5252

5353

54+
class CostCategoryValues(AWSProperty):
55+
"""
56+
`CostCategoryValues <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-costcategoryvalues.html>`__
57+
"""
58+
59+
props: PropsDictType = {
60+
"Key": (str, False),
61+
"MatchOptions": ([str], False),
62+
"Values": ([str], False),
63+
}
64+
65+
66+
class ExpressionDimensionValues(AWSProperty):
67+
"""
68+
`ExpressionDimensionValues <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-expressiondimensionvalues.html>`__
69+
"""
70+
71+
props: PropsDictType = {
72+
"Key": (str, False),
73+
"MatchOptions": ([str], False),
74+
"Values": ([str], False),
75+
}
76+
77+
78+
class TagValues(AWSProperty):
79+
"""
80+
`TagValues <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-tagvalues.html>`__
81+
"""
82+
83+
props: PropsDictType = {
84+
"Key": (str, False),
85+
"MatchOptions": ([str], False),
86+
"Values": ([str], False),
87+
}
88+
89+
90+
class Expression(AWSProperty):
91+
"""
92+
`Expression <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-expression.html>`__
93+
"""
94+
95+
props: PropsDictType = {
96+
"And": ([object], False),
97+
"CostCategories": (CostCategoryValues, False),
98+
"Dimensions": (ExpressionDimensionValues, False),
99+
"Not": (object, False),
100+
"Or": ([object], False),
101+
"Tags": (TagValues, False),
102+
}
103+
104+
54105
class Spend(AWSProperty):
55106
"""
56107
`Spend <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-budgets-budget-spend.html>`__
@@ -85,6 +136,8 @@ class BudgetData(AWSProperty):
85136
"BudgetType": (str, True),
86137
"CostFilters": (dict, False),
87138
"CostTypes": (CostTypes, False),
139+
"FilterExpression": (Expression, False),
140+
"Metrics": ([str], False),
88141
"PlannedBudgetLimits": (dict, False),
89142
"TimePeriod": (TimePeriod, False),
90143
"TimeUnit": (str, True),

troposphere/cognito.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,17 @@ class AnalyticsConfiguration(AWSProperty):
545545
}
546546

547547

548+
class RefreshTokenRotation(AWSProperty):
549+
"""
550+
`RefreshTokenRotation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html>`__
551+
"""
552+
553+
props: PropsDictType = {
554+
"Feature": (str, False),
555+
"RetryGracePeriodSeconds": (integer, False),
556+
}
557+
558+
548559
class TokenValidityUnits(AWSProperty):
549560
"""
550561
`TokenValidityUnits <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-tokenvalidityunits.html>`__
@@ -582,6 +593,7 @@ class UserPoolClient(AWSObject):
582593
"LogoutURLs": ([str], False),
583594
"PreventUserExistenceErrors": (str, False),
584595
"ReadAttributes": ([str], False),
596+
"RefreshTokenRotation": (RefreshTokenRotation, False),
585597
"RefreshTokenValidity": (integer, False),
586598
"SupportedIdentityProviders": ([str], False),
587599
"TokenValidityUnits": (TokenValidityUnits, False),

troposphere/ec2.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ class ClientLoginBannerOptions(AWSProperty):
206206
}
207207

208208

209+
class ClientRouteEnforcementOptions(AWSProperty):
210+
"""
211+
`ClientRouteEnforcementOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-clientrouteenforcementoptions.html>`__
212+
"""
213+
214+
props: PropsDictType = {
215+
"Enforced": (boolean, False),
216+
}
217+
218+
209219
class ConnectionLogOptions(AWSProperty):
210220
"""
211221
`ConnectionLogOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-clientvpnendpoint-connectionlogoptions.html>`__
@@ -230,6 +240,7 @@ class ClientVpnEndpoint(AWSObject):
230240
"ClientCidrBlock": (str, True),
231241
"ClientConnectOptions": (ClientConnectOptions, False),
232242
"ClientLoginBannerOptions": (ClientLoginBannerOptions, False),
243+
"ClientRouteEnforcementOptions": (ClientRouteEnforcementOptions, False),
233244
"ConnectionLogOptions": (ConnectionLogOptions, True),
234245
"Description": (str, False),
235246
"DisconnectOnSessionTimeout": (boolean, False),

troposphere/imagebuilder.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,18 @@ class LaunchTemplateConfiguration(AWSProperty):
225225
}
226226

227227

228+
class SsmParameterConfiguration(AWSProperty):
229+
"""
230+
`SsmParameterConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-ssmparameterconfiguration.html>`__
231+
"""
232+
233+
props: PropsDictType = {
234+
"AmiAccountId": (str, False),
235+
"DataType": (str, False),
236+
"ParameterName": (str, True),
237+
}
238+
239+
228240
class Distribution(AWSProperty):
229241
"""
230242
`Distribution <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-distributionconfiguration-distribution.html>`__
@@ -240,6 +252,7 @@ class Distribution(AWSProperty):
240252
"LaunchTemplateConfigurations": ([LaunchTemplateConfiguration], False),
241253
"LicenseConfigurationArns": ([str], False),
242254
"Region": (str, True),
255+
"SsmParameterConfigurations": ([SsmParameterConfiguration], False),
243256
}
244257

245258

troposphere/mediatailor.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,16 @@ class LiveSource(AWSObject):
138138
}
139139

140140

141+
class AdConditioningConfiguration(AWSProperty):
142+
"""
143+
`AdConditioningConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-adconditioningconfiguration.html>`__
144+
"""
145+
146+
props: PropsDictType = {
147+
"StreamingMediaFileConditioning": (str, True),
148+
}
149+
150+
141151
class AvailSuppression(AWSProperty):
142152
"""
143153
`AvailSuppression <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-playbackconfiguration-availsuppression.html>`__
@@ -233,6 +243,7 @@ class PlaybackConfiguration(AWSObject):
233243
resource_type = "AWS::MediaTailor::PlaybackConfiguration"
234244

235245
props: PropsDictType = {
246+
"AdConditioningConfiguration": (AdConditioningConfiguration, False),
236247
"AdDecisionServerUrl": (str, True),
237248
"AvailSuppression": (AvailSuppression, False),
238249
"Bumper": (Bumper, False),

0 commit comments

Comments
 (0)