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

Skip to content

Commit 1499c06

Browse files
Updates from spec version 208.0.0 (#2321)
1 parent 95750ef commit 1499c06

11 files changed

Lines changed: 427 additions & 8 deletions

File tree

troposphere/batch.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,3 +877,30 @@ class SchedulingPolicy(AWSObject):
877877
"Name": (str, False),
878878
"Tags": (dict, False),
879879
}
880+
881+
882+
class CapacityLimit(AWSProperty):
883+
"""
884+
`CapacityLimit <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-serviceenvironment-capacitylimit.html>`__
885+
"""
886+
887+
props: PropsDictType = {
888+
"CapacityUnit": (str, False),
889+
"MaxCapacity": (integer, False),
890+
}
891+
892+
893+
class ServiceEnvironment(AWSObject):
894+
"""
895+
`ServiceEnvironment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-serviceenvironment.html>`__
896+
"""
897+
898+
resource_type = "AWS::Batch::ServiceEnvironment"
899+
900+
props: PropsDictType = {
901+
"CapacityLimits": ([CapacityLimit], True),
902+
"ServiceEnvironmentName": (str, False),
903+
"ServiceEnvironmentType": (str, True),
904+
"State": (str, False),
905+
"Tags": (dict, False),
906+
}

troposphere/ecr.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,17 @@ class ImageScanningConfiguration(AWSProperty):
169169
}
170170

171171

172+
class ImageTagMutabilityExclusionFilter(AWSProperty):
173+
"""
174+
`ImageTagMutabilityExclusionFilter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repositorycreationtemplate-imagetagmutabilityexclusionfilter.html>`__
175+
"""
176+
177+
props: PropsDictType = {
178+
"ImageTagMutabilityExclusionFilterType": (str, True),
179+
"ImageTagMutabilityExclusionFilterValue": (str, True),
180+
}
181+
182+
172183
class LifecyclePolicy(AWSProperty):
173184
"""
174185
`LifecyclePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html>`__
@@ -192,6 +203,10 @@ class Repository(AWSObject):
192203
"EncryptionConfiguration": (EncryptionConfiguration, False),
193204
"ImageScanningConfiguration": (ImageScanningConfiguration, False),
194205
"ImageTagMutability": (str, False),
206+
"ImageTagMutabilityExclusionFilters": (
207+
[ImageTagMutabilityExclusionFilter],
208+
False,
209+
),
195210
"LifecyclePolicy": (LifecyclePolicy, False),
196211
"RepositoryName": (str, False),
197212
"RepositoryPolicyText": (policytypes, False),
@@ -212,6 +227,10 @@ class RepositoryCreationTemplate(AWSObject):
212227
"Description": (str, False),
213228
"EncryptionConfiguration": (EncryptionConfiguration, False),
214229
"ImageTagMutability": (str, False),
230+
"ImageTagMutabilityExclusionFilters": (
231+
[ImageTagMutabilityExclusionFilter],
232+
False,
233+
),
215234
"LifecyclePolicy": (str, False),
216235
"Prefix": (str, True),
217236
"RepositoryPolicy": (str, False),

troposphere/entityresolution.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,27 @@ class RuleBasedProperties(AWSProperty):
235235
}
236236

237237

238+
class RuleCondition(AWSProperty):
239+
"""
240+
`RuleCondition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-rulecondition.html>`__
241+
"""
242+
243+
props: PropsDictType = {
244+
"Condition": (str, False),
245+
"RuleName": (str, False),
246+
}
247+
248+
249+
class RuleConditionProperties(AWSProperty):
250+
"""
251+
`RuleConditionProperties <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-ruleconditionproperties.html>`__
252+
"""
253+
254+
props: PropsDictType = {
255+
"Rules": ([RuleCondition], True),
256+
}
257+
258+
238259
class ResolutionTechniques(AWSProperty):
239260
"""
240261
`ResolutionTechniques <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-entityresolution-matchingworkflow-resolutiontechniques.html>`__
@@ -244,6 +265,7 @@ class ResolutionTechniques(AWSProperty):
244265
"ProviderProperties": (ProviderProperties, False),
245266
"ResolutionType": (str, False),
246267
"RuleBasedProperties": (RuleBasedProperties, False),
268+
"RuleConditionProperties": (RuleConditionProperties, False),
247269
}
248270

249271

troposphere/iotsitewise.py

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,77 @@ class AssetModel(AWSObject):
314314
}
315315

316316

317+
class AnomalyDetectionComputationModelConfiguration(AWSProperty):
318+
"""
319+
`AnomalyDetectionComputationModelConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-anomalydetectioncomputationmodelconfiguration.html>`__
320+
"""
321+
322+
props: PropsDictType = {
323+
"InputProperties": (str, True),
324+
"ResultProperty": (str, True),
325+
}
326+
327+
328+
class ComputationModelConfiguration(AWSProperty):
329+
"""
330+
`ComputationModelConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodelconfiguration.html>`__
331+
"""
332+
333+
props: PropsDictType = {
334+
"AnomalyDetection": (AnomalyDetectionComputationModelConfiguration, False),
335+
}
336+
337+
338+
class AssetModelPropertyBindingValue(AWSProperty):
339+
"""
340+
`AssetModelPropertyBindingValue <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetmodelpropertybindingvalue.html>`__
341+
"""
342+
343+
props: PropsDictType = {
344+
"AssetModelId": (str, True),
345+
"PropertyId": (str, True),
346+
}
347+
348+
349+
class AssetPropertyBindingValue(AWSProperty):
350+
"""
351+
`AssetPropertyBindingValue <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-assetpropertybindingvalue.html>`__
352+
"""
353+
354+
props: PropsDictType = {
355+
"AssetId": (str, True),
356+
"PropertyId": (str, True),
357+
}
358+
359+
360+
class ComputationModelDataBindingValue(AWSProperty):
361+
"""
362+
`ComputationModelDataBindingValue <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-computationmodel-computationmodeldatabindingvalue.html>`__
363+
"""
364+
365+
props: PropsDictType = {
366+
"AssetModelProperty": (AssetModelPropertyBindingValue, False),
367+
"AssetProperty": (AssetPropertyBindingValue, False),
368+
"List": ([object], False),
369+
}
370+
371+
372+
class ComputationModel(AWSObject):
373+
"""
374+
`ComputationModel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-computationmodel.html>`__
375+
"""
376+
377+
resource_type = "AWS::IoTSiteWise::ComputationModel"
378+
379+
props: PropsDictType = {
380+
"ComputationModelConfiguration": (ComputationModelConfiguration, True),
381+
"ComputationModelDataBinding": (dict, True),
382+
"ComputationModelDescription": (str, False),
383+
"ComputationModelName": (str, True),
384+
"Tags": (Tags, False),
385+
}
386+
387+
317388
class Dashboard(AWSObject):
318389
"""
319390
`Dashboard <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dashboard.html>`__

troposphere/lightsail.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,34 @@ class Distribution(AWSObject):
398398
}
399399

400400

401+
class DomainEntry(AWSProperty):
402+
"""
403+
`DomainEntry <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html>`__
404+
"""
405+
406+
props: PropsDictType = {
407+
"Id": (str, False),
408+
"IsAlias": (boolean, False),
409+
"Name": (str, True),
410+
"Target": (str, True),
411+
"Type": (str, True),
412+
}
413+
414+
415+
class Domain(AWSObject):
416+
"""
417+
`Domain <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-domain.html>`__
418+
"""
419+
420+
resource_type = "AWS::Lightsail::Domain"
421+
422+
props: PropsDictType = {
423+
"DomainEntries": ([DomainEntry], False),
424+
"DomainName": (str, True),
425+
"Tags": (Tags, False),
426+
}
427+
428+
401429
class DiskProperty(AWSProperty):
402430
"""
403431
`DiskProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.html>`__

troposphere/logs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ class Destination(AWSObject):
102102
"DestinationName": (str, True),
103103
"DestinationPolicy": (str, False),
104104
"RoleArn": (str, True),
105+
"Tags": (Tags, False),
105106
"TargetArn": (str, True),
106107
}
107108

@@ -175,6 +176,7 @@ class LogGroup(AWSObject):
175176
"KmsKeyId": (str, False),
176177
"LogGroupClass": (str, False),
177178
"LogGroupName": (str, False),
179+
"ResourcePolicyDocument": (dict, False),
178180
"RetentionInDays": (validate_loggroup_retention_in_days, False),
179181
"Tags": (Tags, False),
180182
}

troposphere/mediapackagev2.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class InputSwitchConfiguration(AWSProperty):
1717

1818
props: PropsDictType = {
1919
"MQCSInputSwitching": (boolean, False),
20+
"PreferredInput": (integer, False),
2021
}
2122

2223

@@ -383,6 +384,17 @@ class OriginEndpoint(AWSObject):
383384
}
384385

385386

387+
class CdnAuthConfiguration(AWSProperty):
388+
"""
389+
`CdnAuthConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpointpolicy-cdnauthconfiguration.html>`__
390+
"""
391+
392+
props: PropsDictType = {
393+
"CdnIdentifierSecretArns": ([str], True),
394+
"SecretsRoleArn": (str, True),
395+
}
396+
397+
386398
class OriginEndpointPolicy(AWSObject):
387399
"""
388400
`OriginEndpointPolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html>`__
@@ -391,6 +403,7 @@ class OriginEndpointPolicy(AWSObject):
391403
resource_type = "AWS::MediaPackageV2::OriginEndpointPolicy"
392404

393405
props: PropsDictType = {
406+
"CdnAuthConfiguration": (CdnAuthConfiguration, False),
394407
"ChannelGroupName": (str, True),
395408
"ChannelName": (str, True),
396409
"OriginEndpointName": (str, True),

troposphere/quicksight.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8507,6 +8507,16 @@ class Theme(AWSObject):
85078507
}
85088508

85098509

8510+
class CustomInstructions(AWSProperty):
8511+
"""
8512+
`CustomInstructions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-custominstructions.html>`__
8513+
"""
8514+
8515+
props: PropsDictType = {
8516+
"CustomInstructionsString": (str, True),
8517+
}
8518+
8519+
85108520
class DataAggregation(AWSProperty):
85118521
"""
85128522
`DataAggregation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-topic-dataaggregation.html>`__
@@ -8874,6 +8884,7 @@ class Topic(AWSObject):
88748884
props: PropsDictType = {
88758885
"AwsAccountId": (str, False),
88768886
"ConfigOptions": (TopicConfigOptions, False),
8887+
"CustomInstructions": (CustomInstructions, False),
88778888
"DataSets": ([DatasetMetadata], False),
88788889
"Description": (str, False),
88798890
"FolderArns": ([str], False),

troposphere/rds.py

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

208208

209+
class DBInstanceStatusInfo(AWSProperty):
210+
"""
211+
`DBInstanceStatusInfo <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-dbinstancestatusinfo.html>`__
212+
"""
213+
214+
props: PropsDictType = {
215+
"Message": (str, False),
216+
"Normal": (boolean, False),
217+
"Status": (str, False),
218+
"StatusType": (str, False),
219+
}
220+
221+
209222
class Endpoint(AWSProperty):
210223
"""
211224
`Endpoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbinstance-endpoint.html>`__
@@ -310,6 +323,7 @@ class DBInstance(AWSObject):
310323
"SourceDBInstanceIdentifier": (str, False),
311324
"SourceDbiResourceId": (str, False),
312325
"SourceRegion": (str, False),
326+
"StatusInfos": ([DBInstanceStatusInfo], False),
313327
"StorageEncrypted": (boolean, False),
314328
"StorageThroughput": (integer, False),
315329
"StorageType": (str, False),

troposphere/s3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class AccessPoint(AWSObject):
126126
"Name": (str, False),
127127
"Policy": (policytypes, False),
128128
"PublicAccessBlockConfiguration": (PublicAccessBlockConfiguration, False),
129+
"Tags": (Tags, False),
129130
"VpcConfiguration": (VpcConfiguration, False),
130131
}
131132

0 commit comments

Comments
 (0)