Skip to content

Updates from spec version 190.0.0 #2286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions troposphere/aps.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ class Destination(AWSProperty):
}


class RoleConfiguration(AWSProperty):
"""
`RoleConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-roleconfiguration.html>`__
"""

props: PropsDictType = {
"SourceRoleArn": (str, False),
"TargetRoleArn": (str, False),
}


class ScrapeConfiguration(AWSProperty):
"""
`ScrapeConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-scraper-scrapeconfiguration.html>`__
Expand Down Expand Up @@ -86,6 +97,7 @@ class Scraper(AWSObject):
props: PropsDictType = {
"Alias": (str, False),
"Destination": (Destination, True),
"RoleConfiguration": (RoleConfiguration, False),
"ScrapeConfiguration": (ScrapeConfiguration, True),
"Source": (Source, True),
"Tags": (Tags, False),
Expand Down
15 changes: 15 additions & 0 deletions troposphere/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ class EksContainerVolumeMount(AWSProperty):
"MountPath": (str, False),
"Name": (str, False),
"ReadOnly": (boolean, False),
"SubPath": (str, False),
}


Expand Down Expand Up @@ -518,6 +519,17 @@ class EksHostPath(AWSProperty):
}


class EksPersistentVolumeClaim(AWSProperty):
"""
`EksPersistentVolumeClaim <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspersistentvolumeclaim.html>`__
"""

props: PropsDictType = {
"ClaimName": (str, True),
"ReadOnly": (boolean, False),
}


class EksSecret(AWSProperty):
"""
`EksSecret <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekssecret.html>`__
Expand All @@ -538,6 +550,7 @@ class EksVolume(AWSProperty):
"EmptyDir": (EksEmptyDir, False),
"HostPath": (EksHostPath, False),
"Name": (str, True),
"PersistentVolumeClaim": (EksPersistentVolumeClaim, False),
"Secret": (EksSecret, False),
}

Expand All @@ -558,7 +571,9 @@ class Metadata(AWSProperty):
"""

props: PropsDictType = {
"Annotations": (dict, False),
"Labels": (dict, False),
"Namespace": (str, False),
}


Expand Down
13 changes: 13 additions & 0 deletions troposphere/cloudfront.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,18 @@ class S3OriginConfig(AWSProperty):
}


class VpcOriginConfig(AWSProperty):
"""
`VpcOriginConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html>`__
"""

props: PropsDictType = {
"OriginKeepaliveTimeout": (integer, False),
"OriginReadTimeout": (integer, False),
"VpcOriginId": (str, True),
}


class Origin(AWSProperty):
"""
`Origin <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html>`__
Expand All @@ -467,6 +479,7 @@ class Origin(AWSProperty):
"OriginPath": (str, False),
"OriginShield": (OriginShield, False),
"S3OriginConfig": (S3OriginConfig, False),
"VpcOriginConfig": (VpcOriginConfig, False),
}


Expand Down
30 changes: 30 additions & 0 deletions troposphere/deadline.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,22 @@ class LicenseEndpoint(AWSObject):
}


class Limit(AWSObject):
"""
`Limit <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-limit.html>`__
"""

resource_type = "AWS::Deadline::Limit"

props: PropsDictType = {
"AmountRequirementName": (str, True),
"Description": (str, False),
"DisplayName": (str, True),
"FarmId": (str, True),
"MaxCount": (integer, True),
}


class MeteredProduct(AWSObject):
"""
`MeteredProduct <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-meteredproduct.html>`__
Expand Down Expand Up @@ -365,6 +381,20 @@ class QueueFleetAssociation(AWSObject):
}


class QueueLimitAssociation(AWSObject):
"""
`QueueLimitAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-deadline-queuelimitassociation.html>`__
"""

resource_type = "AWS::Deadline::QueueLimitAssociation"

props: PropsDictType = {
"FarmId": (str, True),
"LimitId": (str, True),
"QueueId": (str, True),
}


class FileSystemLocation(AWSProperty):
"""
`FileSystemLocation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-storageprofile-filesystemlocation.html>`__
Expand Down
1 change: 0 additions & 1 deletion troposphere/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ class ServiceManagedEBSVolumeConfiguration(AWSProperty):
"SnapshotId": (str, False),
"TagSpecifications": ([EBSTagSpecification], False),
"Throughput": (integer, False),
"VolumeInitializationRate": (integer, False),
"VolumeType": (str, False),
}

Expand Down
1 change: 1 addition & 0 deletions troposphere/emrcontainers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ class VirtualCluster(AWSObject):
props: PropsDictType = {
"ContainerProvider": (ContainerProvider, True),
"Name": (str, True),
"SecurityConfigurationId": (str, False),
"Tags": (Tags, False),
}
12 changes: 12 additions & 0 deletions troposphere/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,16 @@ class DeliveryStreamEncryptionConfigurationInput(AWSProperty):
}


class DirectPutSourceConfiguration(AWSProperty):
"""
`DirectPutSourceConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-directputsourceconfiguration.html>`__
"""

props: PropsDictType = {
"ThroughputHintInMBs": (integer, False),
}


class RetryOptions(AWSProperty):
"""
`RetryOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-retryoptions.html>`__
Expand Down Expand Up @@ -611,6 +621,7 @@ class IcebergDestinationConfiguration(AWSProperty):
"""

props: PropsDictType = {
"AppendOnly": (boolean, False),
"BufferingHints": (BufferingHints, False),
"CatalogConfiguration": (CatalogConfiguration, True),
"CloudWatchLoggingOptions": (CloudWatchLoggingOptions, False),
Expand Down Expand Up @@ -836,6 +847,7 @@ class DeliveryStream(AWSObject):
),
"DeliveryStreamName": (str, False),
"DeliveryStreamType": (delivery_stream_type_validator, False),
"DirectPutSourceConfiguration": (DirectPutSourceConfiguration, False),
"ElasticsearchDestinationConfiguration": (
ElasticsearchDestinationConfiguration,
False,
Expand Down
44 changes: 44 additions & 0 deletions troposphere/iotfleetwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,49 @@ class StateTemplate(AWSObject):
}


class TimePeriod(AWSProperty):
"""
`TimePeriod <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-timeperiod.html>`__
"""

props: PropsDictType = {
"Unit": (str, True),
"Value": (double, True),
}


class PeriodicStateTemplateUpdateStrategy(AWSProperty):
"""
`PeriodicStateTemplateUpdateStrategy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-periodicstatetemplateupdatestrategy.html>`__
"""

props: PropsDictType = {
"StateTemplateUpdateRate": (TimePeriod, True),
}


class StateTemplateUpdateStrategy(AWSProperty):
"""
`StateTemplateUpdateStrategy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-statetemplateupdatestrategy.html>`__
"""

props: PropsDictType = {
"OnChange": (dict, False),
"Periodic": (PeriodicStateTemplateUpdateStrategy, False),
}


class StateTemplateAssociation(AWSProperty):
"""
`StateTemplateAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-vehicle-statetemplateassociation.html>`__
"""

props: PropsDictType = {
"Identifier": (str, True),
"StateTemplateUpdateStrategy": (StateTemplateUpdateStrategy, True),
}


class Vehicle(AWSObject):
"""
`Vehicle <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleetwise-vehicle.html>`__
Expand All @@ -535,5 +578,6 @@ class Vehicle(AWSObject):
"DecoderManifestArn": (str, True),
"ModelManifestArn": (str, True),
"Name": (str, True),
"StateTemplates": ([StateTemplateAssociation], False),
"Tags": (Tags, False),
}
13 changes: 2 additions & 11 deletions troposphere/iotsitewise.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,22 +341,13 @@ class GatewayCapabilitySummary(AWSProperty):
}


class Greengrass(AWSProperty):
"""
`Greengrass <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrass.html>`__
"""

props: PropsDictType = {
"GroupArn": (str, True),
}


class GreengrassV2(AWSProperty):
"""
`GreengrassV2 <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-greengrassv2.html>`__
"""

props: PropsDictType = {
"CoreDeviceOperatingSystem": (str, False),
"CoreDeviceThingName": (str, True),
}

Expand All @@ -377,7 +368,6 @@ class GatewayPlatform(AWSProperty):
"""

props: PropsDictType = {
"Greengrass": (Greengrass, False),
"GreengrassV2": (GreengrassV2, False),
"SiemensIE": (SiemensIE, False),
}
Expand All @@ -394,6 +384,7 @@ class Gateway(AWSObject):
"GatewayCapabilitySummaries": ([GatewayCapabilitySummary], False),
"GatewayName": (str, True),
"GatewayPlatform": (GatewayPlatform, True),
"GatewayVersion": (str, False),
"Tags": (Tags, False),
}

Expand Down
14 changes: 14 additions & 0 deletions troposphere/ivs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
from .validators import boolean, double, integer


class MultitrackInputConfiguration(AWSProperty):
"""
`MultitrackInputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ivs-channel-multitrackinputconfiguration.html>`__
"""

props: PropsDictType = {
"Enabled": (boolean, False),
"MaximumResolution": (str, False),
"Policy": (str, False),
}


class Channel(AWSObject):
"""
`Channel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-channel.html>`__
Expand All @@ -19,8 +31,10 @@ class Channel(AWSObject):

props: PropsDictType = {
"Authorized": (boolean, False),
"ContainerFormat": (str, False),
"InsecureIngest": (boolean, False),
"LatencyMode": (str, False),
"MultitrackInputConfiguration": (MultitrackInputConfiguration, False),
"Name": (str, False),
"Preset": (str, False),
"RecordingConfigurationArn": (str, False),
Expand Down
24 changes: 24 additions & 0 deletions troposphere/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,29 @@ class LoggingConfiguration(AWSProperty):
}


class S3TablesDestination(AWSProperty):
"""
`S3TablesDestination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html>`__
"""

props: PropsDictType = {
"TableArn": (str, False),
"TableBucketArn": (str, True),
"TableName": (str, True),
"TableNamespace": (str, False),
}


class MetadataTableConfiguration(AWSProperty):
"""
`MetadataTableConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html>`__
"""

props: PropsDictType = {
"S3TablesDestination": (S3TablesDestination, True),
}


class MetricsConfiguration(AWSProperty):
"""
`MetricsConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metricsconfiguration.html>`__
Expand Down Expand Up @@ -817,6 +840,7 @@ class Bucket(AWSObject):
"InventoryConfigurations": ([InventoryConfiguration], False),
"LifecycleConfiguration": (LifecycleConfiguration, False),
"LoggingConfiguration": (LoggingConfiguration, False),
"MetadataTableConfiguration": (MetadataTableConfiguration, False),
"MetricsConfigurations": ([MetricsConfiguration], False),
"NotificationConfiguration": (NotificationConfiguration, False),
"ObjectLockConfiguration": (ObjectLockConfiguration, False),
Expand Down
3 changes: 3 additions & 0 deletions troposphere/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ class Agreement(AWSObject):
"AccessRole": (str, True),
"BaseDirectory": (str, True),
"Description": (str, False),
"EnforceMessageSigning": (str, False),
"LocalProfileId": (str, True),
"PartnerProfileId": (str, True),
"PreserveFilename": (str, False),
"ServerId": (str, True),
"Status": (str, False),
"Tags": (Tags, False),
Expand Down Expand Up @@ -63,6 +65,7 @@ class As2Config(AWSProperty):
"MdnSigningAlgorithm": (str, False),
"MessageSubject": (str, False),
"PartnerProfileId": (str, False),
"PreserveContentType": (str, False),
"SigningAlgorithm": (str, False),
}

Expand Down