Skip to content

Commit 496cdac

Browse files
Updates from spec version 221.0.0 (#2341)
1 parent 0809f04 commit 496cdac

File tree

10 files changed

+770
-175
lines changed

10 files changed

+770
-175
lines changed

troposphere/appsync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,9 @@ class LogConfig(AWSProperty):
463463
"""
464464

465465
props: PropsDictType = {
466-
"CloudWatchLogsRoleArn": (str, False),
466+
"CloudWatchLogsRoleArn": (str, True),
467467
"ExcludeVerboseContent": (boolean, False),
468-
"FieldLogLevel": (str, False),
468+
"FieldLogLevel": (str, True),
469469
}
470470

471471

troposphere/bedrock.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@ class AutomatedReasoningPolicy(AWSObject):
376376

377377
props: PropsDictType = {
378378
"Description": (str, False),
379+
"ForceDelete": (boolean, False),
380+
"KmsKeyId": (str, False),
379381
"Name": (str, True),
380382
"PolicyDefinition": (PolicyDefinition, False),
381383
"Tags": (Tags, False),

troposphere/cleanrooms.py

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ class Collaboration(AWSObject):
246246
resource_type = "AWS::CleanRooms::Collaboration"
247247

248248
props: PropsDictType = {
249+
"AllowedResultRegions": ([str], False),
249250
"AnalyticsEngine": (str, False),
250251
"AutoApprovedChangeTypes": ([str], False),
251252
"CreatorDisplayName": (str, True),
@@ -390,6 +391,7 @@ class AthenaTableReference(AWSProperty):
390391
props: PropsDictType = {
391392
"DatabaseName": (str, True),
392393
"OutputLocation": (str, False),
394+
"Region": (str, False),
393395
"TableName": (str, True),
394396
"WorkGroup": (str, True),
395397
}
@@ -402,6 +404,7 @@ class GlueTableReference(AWSProperty):
402404

403405
props: PropsDictType = {
404406
"DatabaseName": (str, True),
407+
"Region": (str, False),
405408
"TableName": (str, True),
406409
}
407410

@@ -779,14 +782,28 @@ class Membership(AWSObject):
779782
}
780783

781784

785+
class BudgetParameter(AWSProperty):
786+
"""
787+
`BudgetParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-budgetparameter.html>`__
788+
"""
789+
790+
props: PropsDictType = {
791+
"AutoRefresh": (str, False),
792+
"Budget": (integer, True),
793+
"Type": (str, True),
794+
}
795+
796+
782797
class Parameters(AWSProperty):
783798
"""
784799
`Parameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html>`__
785800
"""
786801

787802
props: PropsDictType = {
788-
"Epsilon": (integer, True),
789-
"UsersNoisePerQuery": (integer, True),
803+
"BudgetParameters": ([BudgetParameter], False),
804+
"Epsilon": (integer, False),
805+
"ResourceArn": (str, False),
806+
"UsersNoisePerQuery": (integer, False),
790807
}
791808

792809

troposphere/datazone.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ class AwsLocation(AWSProperty):
2323
}
2424

2525

26+
class AmazonQPropertiesInput(AWSProperty):
27+
"""
28+
`AmazonQPropertiesInput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-amazonqpropertiesinput.html>`__
29+
"""
30+
31+
props: PropsDictType = {
32+
"AuthMode": (str, False),
33+
"IsEnabled": (boolean, False),
34+
"ProfileArn": (str, False),
35+
}
36+
37+
2638
class AthenaPropertiesInput(AWSProperty):
2739
"""
2840
`AthenaPropertiesInput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-connection-athenapropertiesinput.html>`__
@@ -302,6 +314,7 @@ class ConnectionPropertiesInput(AWSProperty):
302314
"""
303315

304316
props: PropsDictType = {
317+
"AmazonQProperties": (AmazonQPropertiesInput, False),
305318
"AthenaProperties": (AthenaPropertiesInput, False),
306319
"GlueProperties": (GluePropertiesInput, False),
307320
"HyperPodProperties": (HyperPodPropertiesInput, False),
@@ -329,6 +342,7 @@ class Connection(AWSObject):
329342
"Name": (str, True),
330343
"ProjectIdentifier": (str, False),
331344
"Props": (ConnectionPropertiesInput, False),
345+
"Scope": (str, False),
332346
}
333347

334348

troposphere/glue.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,44 @@ class DevEndpoint(AWSObject):
587587
}
588588

589589

590+
class SourceProcessingProperties(AWSProperty):
591+
"""
592+
`SourceProcessingProperties <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-integrationresourceproperty-sourceprocessingproperties.html>`__
593+
"""
594+
595+
props: PropsDictType = {
596+
"RoleArn": (str, True),
597+
}
598+
599+
600+
class TargetProcessingProperties(AWSProperty):
601+
"""
602+
`TargetProcessingProperties <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-integrationresourceproperty-targetprocessingproperties.html>`__
603+
"""
604+
605+
props: PropsDictType = {
606+
"ConnectionName": (str, False),
607+
"EventBusArn": (str, False),
608+
"KmsArn": (str, False),
609+
"RoleArn": (str, True),
610+
}
611+
612+
613+
class IntegrationResourceProperty(AWSObject):
614+
"""
615+
`IntegrationResourceProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-integrationresourceproperty.html>`__
616+
"""
617+
618+
resource_type = "AWS::Glue::IntegrationResourceProperty"
619+
620+
props: PropsDictType = {
621+
"ResourceArn": (str, True),
622+
"SourceProcessingProperties": (SourceProcessingProperties, False),
623+
"Tags": (Tags, False),
624+
"TargetProcessingProperties": (TargetProcessingProperties, False),
625+
}
626+
627+
590628
class ConnectionsList(AWSProperty):
591629
"""
592630
`ConnectionsList <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-job-connectionslist.html>`__

troposphere/location.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,36 @@
1010
from .validators import boolean
1111

1212

13+
class AndroidApp(AWSProperty):
14+
"""
15+
`AndroidApp <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-apikey-androidapp.html>`__
16+
"""
17+
18+
props: PropsDictType = {
19+
"CertificateFingerprint": (str, True),
20+
"Package": (str, True),
21+
}
22+
23+
24+
class AppleApp(AWSProperty):
25+
"""
26+
`AppleApp <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-apikey-appleapp.html>`__
27+
"""
28+
29+
props: PropsDictType = {
30+
"BundleId": (str, True),
31+
}
32+
33+
1334
class ApiKeyRestrictions(AWSProperty):
1435
"""
1536
`ApiKeyRestrictions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-apikey-apikeyrestrictions.html>`__
1637
"""
1738

1839
props: PropsDictType = {
1940
"AllowActions": ([str], True),
41+
"AllowAndroidApps": ([AndroidApp], False),
42+
"AllowAppleApps": ([AppleApp], False),
2043
"AllowReferers": ([str], False),
2144
"AllowResources": ([str], True),
2245
}

0 commit comments

Comments
 (0)