Skip to content

Commit c47a047

Browse files
github-actions[bot]wuiscmc
authored andcommitted
Updates from spec version 190.0.0 (cloudtools#2286)
1 parent a1e71b5 commit c47a047

12 files changed

+170
-12
lines changed

troposphere/aps.py

+12
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,17 @@ class Destination(AWSProperty):
4444
}
4545

4646

47+
class RoleConfiguration(AWSProperty):
48+
"""
49+
`RoleConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html>`__
50+
"""
51+
52+
props: PropsDictType = {
53+
"SourceRoleArn": (str, False),
54+
"TargetRoleArn": (str, False),
55+
}
56+
57+
4758
class ScrapeConfiguration(AWSProperty):
4859
"""
4960
`ScrapeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapeconfiguration.html>`__
@@ -86,6 +97,7 @@ class Scraper(AWSObject):
8697
props: PropsDictType = {
8798
"Alias": (str, False),
8899
"Destination": (Destination, True),
100+
"RoleConfiguration": (RoleConfiguration, False),
89101
"ScrapeConfiguration": (ScrapeConfiguration, True),
90102
"Source": (Source, True),
91103
"Tags": (Tags, False),

troposphere/batch.py

+15
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ class EksContainerVolumeMount(AWSProperty):
476476
"MountPath": (str, False),
477477
"Name": (str, False),
478478
"ReadOnly": (boolean, False),
479+
"SubPath": (str, False),
479480
}
480481

481482

@@ -518,6 +519,17 @@ class EksHostPath(AWSProperty):
518519
}
519520

520521

522+
class EksPersistentVolumeClaim(AWSProperty):
523+
"""
524+
`EksPersistentVolumeClaim <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html>`__
525+
"""
526+
527+
props: PropsDictType = {
528+
"ClaimName": (str, True),
529+
"ReadOnly": (boolean, False),
530+
}
531+
532+
521533
class EksSecret(AWSProperty):
522534
"""
523535
`EksSecret <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html>`__
@@ -538,6 +550,7 @@ class EksVolume(AWSProperty):
538550
"EmptyDir": (EksEmptyDir, False),
539551
"HostPath": (EksHostPath, False),
540552
"Name": (str, True),
553+
"PersistentVolumeClaim": (EksPersistentVolumeClaim, False),
541554
"Secret": (EksSecret, False),
542555
}
543556

@@ -558,7 +571,9 @@ class Metadata(AWSProperty):
558571
"""
559572

560573
props: PropsDictType = {
574+
"Annotations": (dict, False),
561575
"Labels": (dict, False),
576+
"Namespace": (str, False),
562577
}
563578

564579

troposphere/cloudfront.py

+13
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,18 @@ class S3OriginConfig(AWSProperty):
451451
}
452452

453453

454+
class VpcOriginConfig(AWSProperty):
455+
"""
456+
`VpcOriginConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html>`__
457+
"""
458+
459+
props: PropsDictType = {
460+
"OriginKeepaliveTimeout": (integer, False),
461+
"OriginReadTimeout": (integer, False),
462+
"VpcOriginId": (str, True),
463+
}
464+
465+
454466
class Origin(AWSProperty):
455467
"""
456468
`Origin <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`__
@@ -467,6 +479,7 @@ class Origin(AWSProperty):
467479
"OriginPath": (str, False),
468480
"OriginShield": (OriginShield, False),
469481
"S3OriginConfig": (S3OriginConfig, False),
482+
"VpcOriginConfig": (VpcOriginConfig, False),
470483
}
471484

472485

troposphere/deadline.py

+30
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,22 @@ class LicenseEndpoint(AWSObject):
241241
}
242242

243243

244+
class Limit(AWSObject):
245+
"""
246+
`Limit <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-limit.html>`__
247+
"""
248+
249+
resource_type = "AWS::Deadline::Limit"
250+
251+
props: PropsDictType = {
252+
"AmountRequirementName": (str, True),
253+
"Description": (str, False),
254+
"DisplayName": (str, True),
255+
"FarmId": (str, True),
256+
"MaxCount": (integer, True),
257+
}
258+
259+
244260
class MeteredProduct(AWSObject):
245261
"""
246262
`MeteredProduct <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html>`__
@@ -365,6 +381,20 @@ class QueueFleetAssociation(AWSObject):
365381
}
366382

367383

384+
class QueueLimitAssociation(AWSObject):
385+
"""
386+
`QueueLimitAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-queuelimitassociation.html>`__
387+
"""
388+
389+
resource_type = "AWS::Deadline::QueueLimitAssociation"
390+
391+
props: PropsDictType = {
392+
"FarmId": (str, True),
393+
"LimitId": (str, True),
394+
"QueueId": (str, True),
395+
}
396+
397+
368398
class FileSystemLocation(AWSProperty):
369399
"""
370400
`FileSystemLocation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.html>`__

troposphere/ecs.py

-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ class ServiceManagedEBSVolumeConfiguration(AWSProperty):
448448
"SnapshotId": (str, False),
449449
"TagSpecifications": ([EBSTagSpecification], False),
450450
"Throughput": (integer, False),
451-
"VolumeInitializationRate": (integer, False),
452451
"VolumeType": (str, False),
453452
}
454453

troposphere/emrcontainers.py

+1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,6 @@ class VirtualCluster(AWSObject):
5151
props: PropsDictType = {
5252
"ContainerProvider": (ContainerProvider, True),
5353
"Name": (str, True),
54+
"SecurityConfigurationId": (str, False),
5455
"Tags": (Tags, False),
5556
}

troposphere/firehose.py

+12
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,16 @@ class DeliveryStreamEncryptionConfigurationInput(AWSProperty):
318318
}
319319

320320

321+
class DirectPutSourceConfiguration(AWSProperty):
322+
"""
323+
`DirectPutSourceConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-directputsourceconfiguration.html>`__
324+
"""
325+
326+
props: PropsDictType = {
327+
"ThroughputHintInMBs": (integer, False),
328+
}
329+
330+
321331
class RetryOptions(AWSProperty):
322332
"""
323333
`RetryOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-retryoptions.html>`__
@@ -611,6 +621,7 @@ class IcebergDestinationConfiguration(AWSProperty):
611621
"""
612622

613623
props: PropsDictType = {
624+
"AppendOnly": (boolean, False),
614625
"BufferingHints": (BufferingHints, False),
615626
"CatalogConfiguration": (CatalogConfiguration, True),
616627
"CloudWatchLoggingOptions": (CloudWatchLoggingOptions, False),
@@ -836,6 +847,7 @@ class DeliveryStream(AWSObject):
836847
),
837848
"DeliveryStreamName": (str, False),
838849
"DeliveryStreamType": (delivery_stream_type_validator, False),
850+
"DirectPutSourceConfiguration": (DirectPutSourceConfiguration, False),
839851
"ElasticsearchDestinationConfiguration": (
840852
ElasticsearchDestinationConfiguration,
841853
False,

troposphere/iotfleetwise.py

+44
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,49 @@ class StateTemplate(AWSObject):
522522
}
523523

524524

525+
class TimePeriod(AWSProperty):
526+
"""
527+
`TimePeriod <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-timeperiod.html>`__
528+
"""
529+
530+
props: PropsDictType = {
531+
"Unit": (str, True),
532+
"Value": (double, True),
533+
}
534+
535+
536+
class PeriodicStateTemplateUpdateStrategy(AWSProperty):
537+
"""
538+
`PeriodicStateTemplateUpdateStrategy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-periodicstatetemplateupdatestrategy.html>`__
539+
"""
540+
541+
props: PropsDictType = {
542+
"StateTemplateUpdateRate": (TimePeriod, True),
543+
}
544+
545+
546+
class StateTemplateUpdateStrategy(AWSProperty):
547+
"""
548+
`StateTemplateUpdateStrategy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-statetemplateupdatestrategy.html>`__
549+
"""
550+
551+
props: PropsDictType = {
552+
"OnChange": (dict, False),
553+
"Periodic": (PeriodicStateTemplateUpdateStrategy, False),
554+
}
555+
556+
557+
class StateTemplateAssociation(AWSProperty):
558+
"""
559+
`StateTemplateAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-statetemplateassociation.html>`__
560+
"""
561+
562+
props: PropsDictType = {
563+
"Identifier": (str, True),
564+
"StateTemplateUpdateStrategy": (StateTemplateUpdateStrategy, True),
565+
}
566+
567+
525568
class Vehicle(AWSObject):
526569
"""
527570
`Vehicle <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.html>`__
@@ -535,5 +578,6 @@ class Vehicle(AWSObject):
535578
"DecoderManifestArn": (str, True),
536579
"ModelManifestArn": (str, True),
537580
"Name": (str, True),
581+
"StateTemplates": ([StateTemplateAssociation], False),
538582
"Tags": (Tags, False),
539583
}

troposphere/iotsitewise.py

+2-11
Original file line numberDiff line numberDiff line change
@@ -341,22 +341,13 @@ class GatewayCapabilitySummary(AWSProperty):
341341
}
342342

343343

344-
class Greengrass(AWSProperty):
345-
"""
346-
`Greengrass <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrass.html>`__
347-
"""
348-
349-
props: PropsDictType = {
350-
"GroupArn": (str, True),
351-
}
352-
353-
354344
class GreengrassV2(AWSProperty):
355345
"""
356346
`GreengrassV2 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrassv2.html>`__
357347
"""
358348

359349
props: PropsDictType = {
350+
"CoreDeviceOperatingSystem": (str, False),
360351
"CoreDeviceThingName": (str, True),
361352
}
362353

@@ -377,7 +368,6 @@ class GatewayPlatform(AWSProperty):
377368
"""
378369

379370
props: PropsDictType = {
380-
"Greengrass": (Greengrass, False),
381371
"GreengrassV2": (GreengrassV2, False),
382372
"SiemensIE": (SiemensIE, False),
383373
}
@@ -394,6 +384,7 @@ class Gateway(AWSObject):
394384
"GatewayCapabilitySummaries": ([GatewayCapabilitySummary], False),
395385
"GatewayName": (str, True),
396386
"GatewayPlatform": (GatewayPlatform, True),
387+
"GatewayVersion": (str, False),
397388
"Tags": (Tags, False),
398389
}
399390

troposphere/ivs.py

+14
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010
from .validators import boolean, double, integer
1111

1212

13+
class MultitrackInputConfiguration(AWSProperty):
14+
"""
15+
`MultitrackInputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-channel-multitrackinputconfiguration.html>`__
16+
"""
17+
18+
props: PropsDictType = {
19+
"Enabled": (boolean, False),
20+
"MaximumResolution": (str, False),
21+
"Policy": (str, False),
22+
}
23+
24+
1325
class Channel(AWSObject):
1426
"""
1527
`Channel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html>`__
@@ -19,8 +31,10 @@ class Channel(AWSObject):
1931

2032
props: PropsDictType = {
2133
"Authorized": (boolean, False),
34+
"ContainerFormat": (str, False),
2235
"InsecureIngest": (boolean, False),
2336
"LatencyMode": (str, False),
37+
"MultitrackInputConfiguration": (MultitrackInputConfiguration, False),
2438
"Name": (str, False),
2539
"Preset": (str, False),
2640
"RecordingConfigurationArn": (str, False),

troposphere/s3.py

+24
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,29 @@ class LoggingConfiguration(AWSProperty):
413413
}
414414

415415

416+
class S3TablesDestination(AWSProperty):
417+
"""
418+
`S3TablesDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html>`__
419+
"""
420+
421+
props: PropsDictType = {
422+
"TableArn": (str, False),
423+
"TableBucketArn": (str, True),
424+
"TableName": (str, True),
425+
"TableNamespace": (str, False),
426+
}
427+
428+
429+
class MetadataTableConfiguration(AWSProperty):
430+
"""
431+
`MetadataTableConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html>`__
432+
"""
433+
434+
props: PropsDictType = {
435+
"S3TablesDestination": (S3TablesDestination, True),
436+
}
437+
438+
416439
class MetricsConfiguration(AWSProperty):
417440
"""
418441
`MetricsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metricsconfiguration.html>`__
@@ -817,6 +840,7 @@ class Bucket(AWSObject):
817840
"InventoryConfigurations": ([InventoryConfiguration], False),
818841
"LifecycleConfiguration": (LifecycleConfiguration, False),
819842
"LoggingConfiguration": (LoggingConfiguration, False),
843+
"MetadataTableConfiguration": (MetadataTableConfiguration, False),
820844
"MetricsConfigurations": ([MetricsConfiguration], False),
821845
"NotificationConfiguration": (NotificationConfiguration, False),
822846
"ObjectLockConfiguration": (ObjectLockConfiguration, False),

troposphere/transfer.py

+3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ class Agreement(AWSObject):
2222
"AccessRole": (str, True),
2323
"BaseDirectory": (str, True),
2424
"Description": (str, False),
25+
"EnforceMessageSigning": (str, False),
2526
"LocalProfileId": (str, True),
2627
"PartnerProfileId": (str, True),
28+
"PreserveFilename": (str, False),
2729
"ServerId": (str, True),
2830
"Status": (str, False),
2931
"Tags": (Tags, False),
@@ -63,6 +65,7 @@ class As2Config(AWSProperty):
6365
"MdnSigningAlgorithm": (str, False),
6466
"MessageSubject": (str, False),
6567
"PartnerProfileId": (str, False),
68+
"PreserveContentType": (str, False),
6669
"SigningAlgorithm": (str, False),
6770
}
6871

0 commit comments

Comments
 (0)