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
12 changes: 0 additions & 12 deletions troposphere/appsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,6 @@ class DynamoDBConfig(AWSProperty):
}


class ElasticsearchConfig(AWSProperty):
"""
`ElasticsearchConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html>`__
"""

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


class EventBridgeConfig(AWSProperty):
"""
`EventBridgeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-eventbridgeconfig.html>`__
Expand Down Expand Up @@ -333,7 +322,6 @@ class DataSource(AWSObject):
"ApiId": (str, True),
"Description": (str, False),
"DynamoDBConfig": (DynamoDBConfig, False),
"ElasticsearchConfig": (ElasticsearchConfig, False),
"EventBridgeConfig": (EventBridgeConfig, False),
"HttpConfig": (HttpConfig, False),
"LambdaConfig": (LambdaConfig, False),
Expand Down
14 changes: 14 additions & 0 deletions troposphere/lightsail.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,20 @@ class Disk(AWSObject):
}


class DiskSnapshot(AWSObject):
"""
`DiskSnapshot <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disksnapshot.html>`__
"""

resource_type = "AWS::Lightsail::DiskSnapshot"

props: PropsDictType = {
"DiskName": (str, True),
"DiskSnapshotName": (str, True),
"Tags": (Tags, False),
}


class CacheBehavior(AWSProperty):
"""
`CacheBehavior <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cachebehavior.html>`__
Expand Down
5 changes: 5 additions & 0 deletions troposphere/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class DeliveryDestination(AWSObject):

props: PropsDictType = {
"DeliveryDestinationPolicy": (DestinationPolicy, False),
"DeliveryDestinationType": (str, False),
"DestinationResourceArn": (str, False),
"Name": (str, True),
"OutputFormat": (str, False),
Expand Down Expand Up @@ -230,6 +231,8 @@ class MetricFilter(AWSObject):

props: PropsDictType = {
"ApplyOnTransformedLogs": (boolean, False),
"EmitSystemFieldDimensions": ([str], False),
"FieldSelectionCriteria": (str, False),
"FilterName": (str, False),
"FilterPattern": (str, True),
"LogGroupName": (str, True),
Expand Down Expand Up @@ -276,6 +279,8 @@ class SubscriptionFilter(AWSObject):
"ApplyOnTransformedLogs": (boolean, False),
"DestinationArn": (str, True),
"Distribution": (str, False),
"EmitSystemFields": ([str], False),
"FieldSelectionCriteria": (str, False),
"FilterName": (str, False),
"FilterPattern": (str, True),
"LogGroupName": (str, True),
Expand Down
4 changes: 3 additions & 1 deletion troposphere/neptune.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ class EventSubscription(AWSObject):
props: PropsDictType = {
"Enabled": (boolean, False),
"EventCategories": ([str], False),
"SnsTopicArn": (str, False),
"SnsTopicArn": (str, True),
"SourceIds": ([str], False),
"SourceType": (str, False),
"SubscriptionName": (str, False),
"Tags": (Tags, False),
}
5 changes: 3 additions & 2 deletions troposphere/pcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Scheduler(AWSProperty):

class SlurmCustomSetting(AWSProperty):
"""
`SlurmCustomSetting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-slurmcustomsetting.html>`__
`SlurmCustomSetting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmcustomsetting.html>`__
"""

props: PropsDictType = {
Expand All @@ -46,7 +46,7 @@ class SlurmCustomSetting(AWSProperty):

class SlurmConfiguration(AWSProperty):
"""
`SlurmConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-slurmconfiguration.html>`__
`SlurmConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-slurmconfiguration.html>`__
"""

props: PropsDictType = {
Expand Down Expand Up @@ -157,6 +157,7 @@ class Queue(AWSObject):
"ClusterId": (str, True),
"ComputeNodeGroupConfigurations": ([ComputeNodeGroupConfiguration], False),
"Name": (str, False),
"SlurmConfiguration": (SlurmConfiguration, False),
"Tags": (dict, False),
}

Expand Down
11 changes: 11 additions & 0 deletions troposphere/quicksight.py
Original file line number Diff line number Diff line change
Expand Up @@ -7061,6 +7061,16 @@ class ExportWithHiddenFieldsOption(AWSProperty):
}


class QuickSuiteActionsOption(AWSProperty):
"""
`QuickSuiteActionsOption <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-quicksuiteactionsoption.html>`__
"""

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


class SheetControlsOption(AWSProperty):
"""
`SheetControlsOption <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-sheetcontrolsoption.html>`__
Expand Down Expand Up @@ -7106,6 +7116,7 @@ class DashboardPublishOptions(AWSProperty):
"ExecutiveSummaryOption": (ExecutiveSummaryOption, False),
"ExportToCSVOption": (ExportToCSVOption, False),
"ExportWithHiddenFieldsOption": (ExportWithHiddenFieldsOption, False),
"QuickSuiteActionsOption": (QuickSuiteActionsOption, False),
"SheetControlsOption": (SheetControlsOption, False),
"SheetLayoutElementMaximizationOption": (
SheetLayoutElementMaximizationOption,
Expand Down