Skip to content

Commit 923567a

Browse files
Updates from spec version 199.0.0 (#2307)
1 parent 827f92f commit 923567a

9 files changed

Lines changed: 237 additions & 15 deletions

File tree

troposphere/aps.py

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,47 @@ class LoggingConfiguration(AWSProperty):
115115
}
116116

117117

118+
class CloudWatchLogDestination(AWSProperty):
119+
"""
120+
`CloudWatchLogDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-cloudwatchlogdestination.html>`__
121+
"""
122+
123+
props: PropsDictType = {
124+
"LogGroupArn": (str, True),
125+
}
126+
127+
128+
class LoggingFilter(AWSProperty):
129+
"""
130+
`LoggingFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingfilter.html>`__
131+
"""
132+
133+
props: PropsDictType = {
134+
"QspThreshold": (integer, True),
135+
}
136+
137+
138+
class LoggingDestination(AWSProperty):
139+
"""
140+
`LoggingDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingdestination.html>`__
141+
"""
142+
143+
props: PropsDictType = {
144+
"CloudWatchLogs": (CloudWatchLogDestination, True),
145+
"Filters": (LoggingFilter, True),
146+
}
147+
148+
149+
class QueryLoggingConfiguration(AWSProperty):
150+
"""
151+
`QueryLoggingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-queryloggingconfiguration.html>`__
152+
"""
153+
154+
props: PropsDictType = {
155+
"Destinations": ([LoggingDestination], True),
156+
}
157+
158+
118159
class Label(AWSProperty):
119160
"""
120161
`Label <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-label.html>`__
@@ -170,6 +211,7 @@ class Workspace(AWSObject):
170211
"Alias": (str, False),
171212
"KmsKeyArn": (str, False),
172213
"LoggingConfiguration": (LoggingConfiguration, False),
214+
"QueryLoggingConfiguration": (QueryLoggingConfiguration, False),
173215
"Tags": (Tags, False),
174216
"WorkspaceConfiguration": (WorkspaceConfiguration, False),
175217
}

troposphere/bedrock.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,17 @@ class ConditionFlowNodeConfiguration(AWSProperty):
12531253
}
12541254

12551255

1256+
class InlineCodeFlowNodeConfiguration(AWSProperty):
1257+
"""
1258+
`InlineCodeFlowNodeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-inlinecodeflownodeconfiguration.html>`__
1259+
"""
1260+
1261+
props: PropsDictType = {
1262+
"Code": (str, True),
1263+
"Language": (str, True),
1264+
}
1265+
1266+
12561267
class KnowledgeBaseFlowNodeConfiguration(AWSProperty):
12571268
"""
12581269
`KnowledgeBaseFlowNodeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-knowledgebaseflownodeconfiguration.html>`__
@@ -1578,6 +1589,7 @@ class FlowNodeConfiguration(AWSProperty):
15781589
"Agent": (AgentFlowNodeConfiguration, False),
15791590
"Collector": (dict, False),
15801591
"Condition": (ConditionFlowNodeConfiguration, False),
1592+
"InlineCode": (InlineCodeFlowNodeConfiguration, False),
15811593
"Input": (dict, False),
15821594
"Iterator": (dict, False),
15831595
"KnowledgeBase": (KnowledgeBaseFlowNodeConfiguration, False),
@@ -1659,6 +1671,17 @@ class Flow(AWSObject):
16591671
}
16601672

16611673

1674+
class FlowAliasConcurrencyConfiguration(AWSProperty):
1675+
"""
1676+
`FlowAliasConcurrencyConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasconcurrencyconfiguration.html>`__
1677+
"""
1678+
1679+
props: PropsDictType = {
1680+
"MaxConcurrency": (double, False),
1681+
"Type": (str, True),
1682+
}
1683+
1684+
16621685
class FlowAliasRoutingConfigurationListItem(AWSProperty):
16631686
"""
16641687
`FlowAliasRoutingConfigurationListItem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowalias-flowaliasroutingconfigurationlistitem.html>`__
@@ -1677,6 +1700,7 @@ class FlowAlias(AWSObject):
16771700
resource_type = "AWS::Bedrock::FlowAlias"
16781701

16791702
props: PropsDictType = {
1703+
"ConcurrencyConfiguration": (FlowAliasConcurrencyConfiguration, False),
16801704
"Description": (str, False),
16811705
"FlowArn": (str, True),
16821706
"Name": (str, True),

troposphere/cloudwatch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ class InsightRule(AWSObject):
226226
resource_type = "AWS::CloudWatch::InsightRule"
227227

228228
props: PropsDictType = {
229+
"ApplyOnTransformedLogs": (boolean, False),
229230
"RuleBody": (str, True),
230231
"RuleName": (str, True),
231232
"RuleState": (str, True),

troposphere/datazone.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,46 @@ class ProjectMembership(AWSObject):
780780
}
781781

782782

783+
class DesignationConfiguration(AWSProperty):
784+
"""
785+
`DesignationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-designationconfiguration.html>`__
786+
"""
787+
788+
props: PropsDictType = {
789+
"DesignationId": (str, True),
790+
}
791+
792+
793+
class ProjectScope(AWSProperty):
794+
"""
795+
`ProjectScope <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectprofile-projectscope.html>`__
796+
"""
797+
798+
props: PropsDictType = {
799+
"Name": (str, True),
800+
"Policy": (str, False),
801+
}
802+
803+
804+
class ProjectProfile(AWSObject):
805+
"""
806+
`ProjectProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-projectprofile.html>`__
807+
"""
808+
809+
resource_type = "AWS::DataZone::ProjectProfile"
810+
811+
props: PropsDictType = {
812+
"AllowedDesignations": ([DesignationConfiguration], False),
813+
"ChangeLog": (str, False),
814+
"Description": (str, False),
815+
"DomainIdentifier": (str, False),
816+
"DomainUnitIdentifier": (str, False),
817+
"Name": (str, True),
818+
"ProjectScopes": ([ProjectScope], False),
819+
"Status": (str, False),
820+
}
821+
822+
783823
class SubscriptionTargetForm(AWSProperty):
784824
"""
785825
`SubscriptionTargetForm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-subscriptiontarget-subscriptiontargetform.html>`__

troposphere/deadline.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class CustomerManagedFleetConfiguration(AWSProperty):
118118
props: PropsDictType = {
119119
"Mode": (str, True),
120120
"StorageProfileId": (str, False),
121+
"TagPropagationMode": (str, False),
121122
"WorkerCapabilities": (CustomerManagedWorkerCapabilities, True),
122123
}
123124

@@ -207,6 +208,17 @@ class FleetConfiguration(AWSProperty):
207208
}
208209

209210

211+
class HostConfiguration(AWSProperty):
212+
"""
213+
`HostConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-hostconfiguration.html>`__
214+
"""
215+
216+
props: PropsDictType = {
217+
"ScriptBody": (str, True),
218+
"ScriptTimeoutSeconds": (integer, False),
219+
}
220+
221+
210222
class Fleet(AWSObject):
211223
"""
212224
`Fleet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-fleet.html>`__
@@ -219,6 +231,7 @@ class Fleet(AWSObject):
219231
"Description": (str, False),
220232
"DisplayName": (str, True),
221233
"FarmId": (str, True),
234+
"HostConfiguration": (HostConfiguration, False),
222235
"MaxWorkerCount": (integer, True),
223236
"MinWorkerCount": (integer, False),
224237
"RoleArn": (str, True),

troposphere/ec2.py

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ class IPAM(AWSObject):
803803
),
804804
"Description": (str, False),
805805
"EnablePrivateGua": (boolean, False),
806+
"MeteredAccount": (str, False),
806807
"OperatingRegions": ([IpamOperatingRegion], False),
807808
"Tags": (Tags, False),
808809
"Tier": (str, False),
@@ -1070,6 +1071,20 @@ class LicenseSpecification(AWSProperty):
10701071
}
10711072

10721073

1074+
class MetadataOptions(AWSProperty):
1075+
"""
1076+
`MetadataOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html>`__
1077+
"""
1078+
1079+
props: PropsDictType = {
1080+
"HttpEndpoint": (str, False),
1081+
"HttpProtocolIpv6": (str, False),
1082+
"HttpPutResponseHopLimit": (integer, False),
1083+
"HttpTokens": (str, False),
1084+
"InstanceMetadataTags": (str, False),
1085+
}
1086+
1087+
10731088
class EnaSrdUdpSpecification(AWSProperty):
10741089
"""
10751090
`EnaSrdUdpSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterfaceattachment-enasrdudpspecification.html>`__
@@ -1191,6 +1206,7 @@ class Instance(AWSObject):
11911206
"KeyName": (str, False),
11921207
"LaunchTemplate": (LaunchTemplateSpecification, False),
11931208
"LicenseSpecifications": ([LicenseSpecification], False),
1209+
"MetadataOptions": (MetadataOptions, False),
11941210
"Monitoring": (boolean, False),
11951211
"NetworkInterfaces": ([NetworkInterfaceProperty], False),
11961212
"PlacementGroupName": (str, False),
@@ -1519,20 +1535,6 @@ class MaintenanceOptions(AWSProperty):
15191535
}
15201536

15211537

1522-
class MetadataOptions(AWSProperty):
1523-
"""
1524-
`MetadataOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-metadataoptions.html>`__
1525-
"""
1526-
1527-
props: PropsDictType = {
1528-
"HttpEndpoint": (str, False),
1529-
"HttpProtocolIpv6": (str, False),
1530-
"HttpPutResponseHopLimit": (integer, False),
1531-
"HttpTokens": (str, False),
1532-
"InstanceMetadataTags": (str, False),
1533-
}
1534-
1535-
15361538
class Monitoring(AWSProperty):
15371539
"""
15381540
`Monitoring <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotfleetmonitoring.html>`__

troposphere/pcs.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,17 @@ class Queue(AWSObject):
160160
}
161161

162162

163+
class Accounting(AWSProperty):
164+
"""
165+
`Accounting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html>`__
166+
"""
167+
168+
props: PropsDictType = {
169+
"DefaultPurgeTimeInDays": (integer, False),
170+
"Mode": (str, True),
171+
}
172+
173+
163174
class AuthKey(AWSProperty):
164175
"""
165176
`AuthKey <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html>`__

troposphere/s3express.py

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

1212

13+
class PublicAccessBlockConfiguration(AWSProperty):
14+
"""
15+
`PublicAccessBlockConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-publicaccessblockconfiguration.html>`__
16+
"""
17+
18+
props: PropsDictType = {
19+
"BlockPublicAcls": (boolean, False),
20+
"BlockPublicPolicy": (boolean, False),
21+
"IgnorePublicAcls": (boolean, False),
22+
"RestrictPublicBuckets": (boolean, False),
23+
}
24+
25+
26+
class Scope(AWSProperty):
27+
"""
28+
`Scope <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-scope.html>`__
29+
"""
30+
31+
props: PropsDictType = {
32+
"Permissions": ([str], False),
33+
"Prefixes": ([str], False),
34+
}
35+
36+
37+
class VpcConfiguration(AWSProperty):
38+
"""
39+
`VpcConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-accesspoint-vpcconfiguration.html>`__
40+
"""
41+
42+
props: PropsDictType = {
43+
"VpcId": (str, False),
44+
}
45+
46+
47+
class AccessPoint(AWSObject):
48+
"""
49+
`AccessPoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-accesspoint.html>`__
50+
"""
51+
52+
resource_type = "AWS::S3Express::AccessPoint"
53+
54+
props: PropsDictType = {
55+
"Bucket": (str, True),
56+
"BucketAccountId": (str, False),
57+
"Name": (str, False),
58+
"Policy": (dict, False),
59+
"PublicAccessBlockConfiguration": (PublicAccessBlockConfiguration, False),
60+
"Scope": (Scope, False),
61+
"VpcConfiguration": (VpcConfiguration, False),
62+
}
63+
64+
1365
class BucketPolicy(AWSObject):
1466
"""
1567
`BucketPolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html>`__

0 commit comments

Comments
 (0)