Skip to content
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
1 change: 0 additions & 1 deletion troposphere/amazonmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class User(AWSProperty):
props: PropsDictType = {
"ConsoleAccess": (boolean, False),
"Groups": ([str], False),
"JolokiaApiAccess": (str, False),
"Password": (str, True),
"ReplicationUser": (boolean, False),
"Username": (str, True),
Expand Down
5 changes: 5 additions & 0 deletions troposphere/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ class Attributes(AWSProperty):
"ContactLens": (boolean, False),
"ContactflowLogs": (boolean, False),
"EarlyMedia": (boolean, False),
"EnhancedChatMonitoring": (boolean, False),
"EnhancedContactMonitoring": (boolean, False),
"HighVolumeOutBound": (boolean, False),
"InboundCalls": (boolean, True),
"MultiPartyChatConference": (boolean, False),
"MultiPartyConference": (boolean, False),
"OutboundCalls": (boolean, True),
"UseCustomTTSVoices": (boolean, False),
}
Expand Down
2 changes: 2 additions & 0 deletions troposphere/docdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ class DBCluster(AWSObject):
"DeletionProtection": (boolean, False),
"EnableCloudwatchLogsExports": ([str], False),
"EngineVersion": (str, False),
"GlobalClusterIdentifier": (str, False),
"KmsKeyId": (str, False),
"ManageMasterUserPassword": (boolean, False),
"MasterUserPassword": (str, False),
"MasterUserSecretKmsKeyId": (str, False),
"MasterUsername": (str, False),
"NetworkType": (str, False),
"Port": (integer, False),
"PreferredBackupWindow": (str, False),
"PreferredMaintenanceWindow": (str, False),
Expand Down
61 changes: 61 additions & 0 deletions troposphere/ecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,31 @@ class DeploymentCircuitBreaker(AWSProperty):
}


class DeploymentLifecycleHook(AWSProperty):
"""
`DeploymentLifecycleHook <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentlifecyclehook.html>`__
"""

props: PropsDictType = {
"HookTargetArn": (str, True),
"LifecycleStages": ([str], True),
"RoleArn": (str, True),
}


class DeploymentConfiguration(AWSProperty):
"""
`DeploymentConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html>`__
"""

props: PropsDictType = {
"Alarms": (DeploymentAlarms, False),
"BakeTimeInMinutes": (integer, False),
"DeploymentCircuitBreaker": (DeploymentCircuitBreaker, False),
"LifecycleHooks": ([DeploymentLifecycleHook], False),
"MaximumPercent": (integer, False),
"MinimumHealthyPercent": (integer, False),
"Strategy": (str, False),
}


Expand All @@ -256,12 +271,26 @@ class DeploymentController(AWSProperty):
}


class AdvancedConfiguration(AWSProperty):
"""
`AdvancedConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-advancedconfiguration.html>`__
"""

props: PropsDictType = {
"AlternateTargetGroupArn": (str, True),
"ProductionListenerRule": (str, False),
"RoleArn": (str, False),
"TestListenerRule": (str, False),
}


class LoadBalancer(AWSProperty):
"""
`LoadBalancer <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-loadbalancer.html>`__
"""

props: PropsDictType = {
"AdvancedConfiguration": (AdvancedConfiguration, False),
"ContainerName": (str, False),
"ContainerPort": (validate_network_port, False),
"LoadBalancerName": (str, False),
Expand Down Expand Up @@ -336,6 +365,37 @@ class LogConfiguration(AWSProperty):
}


class ServiceConnectTestTrafficRulesHeaderValue(AWSProperty):
"""
`ServiceConnectTestTrafficRulesHeaderValue <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheadervalue.html>`__
"""

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


class ServiceConnectTestTrafficRulesHeader(AWSProperty):
"""
`ServiceConnectTestTrafficRulesHeader <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrulesheader.html>`__
"""

props: PropsDictType = {
"Name": (str, True),
"Value": (ServiceConnectTestTrafficRulesHeaderValue, False),
}


class ServiceConnectTestTrafficRules(AWSProperty):
"""
`ServiceConnectTestTrafficRules <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnecttesttrafficrules.html>`__
"""

props: PropsDictType = {
"Header": (ServiceConnectTestTrafficRulesHeader, True),
}


class ServiceConnectClientAlias(AWSProperty):
"""
`ServiceConnectClientAlias <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectclientalias.html>`__
Expand All @@ -344,6 +404,7 @@ class ServiceConnectClientAlias(AWSProperty):
props: PropsDictType = {
"DnsName": (str, False),
"Port": (integer, True),
"TestTrafficRules": (ServiceConnectTestTrafficRules, False),
}


Expand Down
12 changes: 12 additions & 0 deletions troposphere/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,17 @@ class DeadLetterConfig(AWSProperty):
}


class LogConfig(AWSProperty):
"""
`LogConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-eventbus-logconfig.html>`__
"""

props: PropsDictType = {
"IncludeDetail": (str, False),
"Level": (str, False),
}


class EventBus(AWSObject):
"""
`EventBus <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html>`__
Expand All @@ -276,6 +287,7 @@ class EventBus(AWSObject):
"Description": (str, False),
"EventSourceName": (str, False),
"KmsKeyIdentifier": (str, False),
"LogConfig": (LogConfig, False),
"Name": (str, True),
"Policy": (dict, False),
"Tags": (Tags, False),
Expand Down
44 changes: 44 additions & 0 deletions troposphere/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,27 @@ class CatalogConfiguration(AWSProperty):

props: PropsDictType = {
"CatalogArn": (str, False),
"WarehouseLocation": (str, False),
}


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

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


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

props: PropsDictType = {
"Identity": ([PartitionField], False),
}


Expand All @@ -610,11 +631,32 @@ class DestinationTableConfiguration(AWSProperty):
props: PropsDictType = {
"DestinationDatabaseName": (str, True),
"DestinationTableName": (str, True),
"PartitionSpec": (PartitionSpec, False),
"S3ErrorOutputPrefix": (str, False),
"UniqueKeys": ([str], False),
}


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

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


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

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


class IcebergDestinationConfiguration(AWSProperty):
"""
`IcebergDestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-icebergdestinationconfiguration.html>`__
Expand All @@ -630,6 +672,8 @@ class IcebergDestinationConfiguration(AWSProperty):
"RetryOptions": (RetryOptions, False),
"RoleARN": (str, True),
"S3Configuration": (S3DestinationConfiguration, True),
"SchemaEvolutionConfiguration": (SchemaEvolutionConfiguration, False),
"TableCreationConfiguration": (TableCreationConfiguration, False),
"s3BackupMode": (str, False),
}

Expand Down
2 changes: 2 additions & 0 deletions troposphere/guardduty.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class IPSet(AWSObject):
props: PropsDictType = {
"Activate": (boolean, False),
"DetectorId": (str, False),
"ExpectedBucketOwner": (str, False),
"Format": (str, True),
"Location": (str, True),
"Name": (str, False),
Expand Down Expand Up @@ -314,6 +315,7 @@ class ThreatIntelSet(AWSObject):
props: PropsDictType = {
"Activate": (boolean, False),
"DetectorId": (str, False),
"ExpectedBucketOwner": (str, False),
"Format": (str, True),
"Location": (str, True),
"Name": (str, False),
Expand Down
87 changes: 87 additions & 0 deletions troposphere/mediapackagev2.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,87 @@ class ChannelPolicy(AWSObject):
}


class DashBaseUrl(AWSProperty):
"""
`DashBaseUrl <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashbaseurl.html>`__
"""

props: PropsDictType = {
"DvbPriority": (integer, False),
"DvbWeight": (integer, False),
"ServiceLocation": (str, False),
"Url": (str, True),
}


class DashDvbFontDownload(AWSProperty):
"""
`DashDvbFontDownload <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbfontdownload.html>`__
"""

props: PropsDictType = {
"FontFamily": (str, False),
"MimeType": (str, False),
"Url": (str, False),
}


class DashDvbMetricsReporting(AWSProperty):
"""
`DashDvbMetricsReporting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbmetricsreporting.html>`__
"""

props: PropsDictType = {
"Probability": (integer, False),
"ReportingUrl": (str, True),
}


class DashDvbSettings(AWSProperty):
"""
`DashDvbSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashdvbsettings.html>`__
"""

props: PropsDictType = {
"ErrorMetrics": ([DashDvbMetricsReporting], False),
"FontDownload": (DashDvbFontDownload, False),
}


class DashProgramInformation(AWSProperty):
"""
`DashProgramInformation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashprograminformation.html>`__
"""

props: PropsDictType = {
"Copyright": (str, False),
"LanguageCode": (str, False),
"MoreInformationUrl": (str, False),
"Source": (str, False),
"Title": (str, False),
}


class DashTtmlConfiguration(AWSProperty):
"""
`DashTtmlConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashttmlconfiguration.html>`__
"""

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


class DashSubtitleConfiguration(AWSProperty):
"""
`DashSubtitleConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashsubtitleconfiguration.html>`__
"""

props: PropsDictType = {
"TtmlConfiguration": (DashTtmlConfiguration, False),
}


class DashUtcTiming(AWSProperty):
"""
`DashUtcTiming <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackagev2-originendpoint-dashutctiming.html>`__
Expand Down Expand Up @@ -117,15 +198,21 @@ class DashManifestConfiguration(AWSProperty):
"""

props: PropsDictType = {
"BaseUrls": ([DashBaseUrl], False),
"Compactness": (str, False),
"DrmSignaling": (str, False),
"DvbSettings": (DashDvbSettings, False),
"FilterConfiguration": (FilterConfiguration, False),
"ManifestName": (str, True),
"ManifestWindowSeconds": (integer, False),
"MinBufferTimeSeconds": (integer, False),
"MinUpdatePeriodSeconds": (integer, False),
"PeriodTriggers": ([str], False),
"Profiles": ([str], False),
"ProgramInformation": (DashProgramInformation, False),
"ScteDash": (ScteDash, False),
"SegmentTemplateFormat": (str, False),
"SubtitleConfiguration": (DashSubtitleConfiguration, False),
"SuggestedPresentationDelaySeconds": (integer, False),
"UtcTiming": (DashUtcTiming, False),
}
Expand Down
1 change: 1 addition & 0 deletions troposphere/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class DBCluster(AWSObject):
"DBSystemId": (str, False),
"DatabaseInsightsMode": (str, False),
"DatabaseName": (str, False),
"DeleteAutomatedBackups": (boolean, False),
"DeletionProtection": (boolean, False),
"Domain": (str, False),
"DomainIAMRoleName": (str, False),
Expand Down
Loading