Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2fe3c68

Browse files
Updates from spec version 136.0.0 (#2175)
1 parent e7db75a commit 2fe3c68

8 files changed

Lines changed: 118 additions & 2 deletions

File tree

troposphere/backup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class BackupRuleResourceType(AWSProperty):
6161
"RecoveryPointTags": (dict, False),
6262
"RuleName": (str, True),
6363
"ScheduleExpression": (str, False),
64+
"ScheduleExpressionTimezone": (str, False),
6465
"StartWindowMinutes": (double, False),
6566
"TargetBackupVault": (str, True),
6667
}

troposphere/cloudformation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ class DeploymentTargets(AWSProperty):
262262
props: PropsDictType = {
263263
"AccountFilterType": (str, False),
264264
"Accounts": ([str], False),
265+
"AccountsUrl": (str, False),
265266
"OrganizationalUnitIds": ([str], False),
266267
}
267268

troposphere/ec2.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,22 @@ class Instance(AWSObject):
10931093
}
10941094

10951095

1096+
class InstanceConnectEndpoint(AWSObject):
1097+
"""
1098+
`InstanceConnectEndpoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instanceconnectendpoint.html>`__
1099+
"""
1100+
1101+
resource_type = "AWS::EC2::InstanceConnectEndpoint"
1102+
1103+
props: PropsDictType = {
1104+
"ClientToken": (str, False),
1105+
"PreserveClientIp": (boolean, False),
1106+
"SecurityGroupIds": ([str], False),
1107+
"SubnetId": (str, True),
1108+
"Tags": (Tags, False),
1109+
}
1110+
1111+
10961112
class InternetGateway(AWSObject):
10971113
"""
10981114
`InternetGateway <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html>`__

troposphere/ecr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ class Repository(AWSObject):
160160
resource_type = "AWS::ECR::Repository"
161161

162162
props: PropsDictType = {
163+
"EmptyOnDelete": (boolean, False),
163164
"EncryptionConfiguration": (EncryptionConfiguration, False),
164165
"ImageScanningConfiguration": (ImageScanningConfiguration, False),
165166
"ImageTagMutability": (str, False),

troposphere/events.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ class Connection(AWSObject):
134134
resource_type = "AWS::Events::Connection"
135135

136136
props: PropsDictType = {
137-
"AuthParameters": (AuthParameters, True),
138-
"AuthorizationType": (str, True),
137+
"AuthParameters": (AuthParameters, False),
138+
"AuthorizationType": (str, False),
139139
"Description": (str, False),
140140
"Name": (str, False),
141141
}

troposphere/fsx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,11 @@ class OpenZFSConfiguration(AWSProperty):
182182
"DailyAutomaticBackupStartTime": (str, False),
183183
"DeploymentType": (str, True),
184184
"DiskIopsConfiguration": (DiskIopsConfiguration, False),
185+
"EndpointIpAddressRange": (str, False),
185186
"Options": ([str], False),
187+
"PreferredSubnetId": (str, False),
186188
"RootVolumeConfiguration": (RootVolumeConfiguration, False),
189+
"RouteTableIds": ([str], False),
187190
"ThroughputCapacity": (integer, False),
188191
"WeeklyMaintenanceStartTime": (str, False),
189192
}
@@ -229,6 +232,7 @@ class WindowsConfiguration(AWSProperty):
229232
"CopyTagsToBackups": (boolean, False),
230233
"DailyAutomaticBackupStartTime": (str, False),
231234
"DeploymentType": (str, False),
235+
"DiskIopsConfiguration": (DiskIopsConfiguration, False),
232236
"PreferredSubnetId": (str, False),
233237
"SelfManagedActiveDirectoryConfiguration": (
234238
SelfManagedActiveDirectoryConfiguration,

troposphere/mediatailor.py

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,83 @@ class PlaybackConfiguration(AWSObject):
237237
}
238238

239239

240+
class SecretsManagerAccessTokenConfiguration(AWSProperty):
241+
"""
242+
`SecretsManagerAccessTokenConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-secretsmanageraccesstokenconfiguration.html>`__
243+
"""
244+
245+
props: PropsDictType = {
246+
"HeaderName": (str, False),
247+
"SecretArn": (str, False),
248+
"SecretStringKey": (str, False),
249+
}
250+
251+
252+
class AccessConfiguration(AWSProperty):
253+
"""
254+
`AccessConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-accessconfiguration.html>`__
255+
"""
256+
257+
props: PropsDictType = {
258+
"AccessType": (str, False),
259+
"SecretsManagerAccessTokenConfiguration": (
260+
SecretsManagerAccessTokenConfiguration,
261+
False,
262+
),
263+
}
264+
265+
266+
class DefaultSegmentDeliveryConfiguration(AWSProperty):
267+
"""
268+
`DefaultSegmentDeliveryConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-defaultsegmentdeliveryconfiguration.html>`__
269+
"""
270+
271+
props: PropsDictType = {
272+
"BaseUrl": (str, False),
273+
}
274+
275+
276+
class HttpConfiguration(AWSProperty):
277+
"""
278+
`HttpConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-httpconfiguration.html>`__
279+
"""
280+
281+
props: PropsDictType = {
282+
"BaseUrl": (str, True),
283+
}
284+
285+
286+
class SegmentDeliveryConfiguration(AWSProperty):
287+
"""
288+
`SegmentDeliveryConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediatailor-sourcelocation-segmentdeliveryconfiguration.html>`__
289+
"""
290+
291+
props: PropsDictType = {
292+
"BaseUrl": (str, False),
293+
"Name": (str, False),
294+
}
295+
296+
297+
class SourceLocation(AWSObject):
298+
"""
299+
`SourceLocation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-sourcelocation.html>`__
300+
"""
301+
302+
resource_type = "AWS::MediaTailor::SourceLocation"
303+
304+
props: PropsDictType = {
305+
"AccessConfiguration": (AccessConfiguration, False),
306+
"DefaultSegmentDeliveryConfiguration": (
307+
DefaultSegmentDeliveryConfiguration,
308+
False,
309+
),
310+
"HttpConfiguration": (HttpConfiguration, True),
311+
"SegmentDeliveryConfigurations": ([SegmentDeliveryConfiguration], False),
312+
"SourceLocationName": (str, True),
313+
"Tags": (Tags, False),
314+
}
315+
316+
240317
class VodSource(AWSObject):
241318
"""
242319
`VodSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-vodsource.html>`__

troposphere/route53resolver.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,22 @@ class FirewallRuleGroupAssociation(AWSObject):
7373
}
7474

7575

76+
class OutpostResolver(AWSObject):
77+
"""
78+
`OutpostResolver <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-outpostresolver.html>`__
79+
"""
80+
81+
resource_type = "AWS::Route53Resolver::OutpostResolver"
82+
83+
props: PropsDictType = {
84+
"InstanceCount": (integer, False),
85+
"Name": (str, True),
86+
"OutpostArn": (str, True),
87+
"PreferredInstanceType": (str, True),
88+
"Tags": (Tags, False),
89+
}
90+
91+
7692
class ResolverConfig(AWSObject):
7793
"""
7894
`ResolverConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverconfig.html>`__

0 commit comments

Comments
 (0)