10000 Updates from spec version 196.0.0 by github-actions[bot] · Pull Request #2301 · cloudtools/troposphere · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updates from spec version 196.0.0 #2301

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
Apr 30, 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
54 changes: 44 additions & 10 deletions troposphere/appsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,49 @@ class ApiKey(AWSObject):
}


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

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


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

props: PropsDictType = {
"DataSourceName": (str, True),
"LambdaConfig": (LambdaConfig, False),
}


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

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


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

props: PropsDictType = {
"OnPublish": (HandlerConfig, False),
"OnSubscribe": (HandlerConfig, False),
}


class ChannelNamespace(AWSObject):
"""
`ChannelNamespace <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-channelnamespace.html>`__
Expand All @@ -155,6 +198,7 @@ class ChannelNamespace(AWSObject):
"ApiId": (str, True),
"CodeHandlers": (str, False),
"CodeS3Location": (str, False),
"HandlerConfigs": (HandlerConfigs, False),
"Name": (str, True),
"PublishAuthModes": ([AuthMode], False),
"SubscribeAuthModes": ([AuthMode], False),
Expand Down Expand Up @@ -242,16 +286,6 @@ class HttpConfig(AWSProperty):
}


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

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


class OpenSearchServiceConfig(AWSProperty):
"""
`OpenSearchServiceConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html>`__
Expand Down
45 changes: 45 additions & 0 deletions troposphere/aps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import integer


class RuleGroupsNamespace(AWSObject):
Expand Down Expand Up @@ -114,6 +115,49 @@ class LoggingConfiguration(AWSProperty):
}


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

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


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

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


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

props: PropsDictType = {
"LabelSet": ([Label], True),
"Limits": (LimitsPerLabelSetEntry, True),
}


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

props: PropsDictType = {
"LimitsPerLabelSets": ([LimitsPerLabelSet], False),
"RetentionPeriodInDays": (integer, False),
}


class Workspace(AWSObject):
"""
`Workspace <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-workspace.html>`__
Expand All @@ -127,4 +171,5 @@ class Workspace(AWSObject):
"KmsKeyArn": (str, False),
"LoggingConfiguration": (LoggingConfiguration, False),
"Tags": (Tags, False),
"WorkspaceConfiguration": (WorkspaceConfiguration, False),
}
16 changes: 16 additions & 0 deletions troposphere/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ class ContainerProperties(AWSProperty):

props: PropsDictType = {
"Command": ([str], False),
"EnableExecuteCommand": (boolean, False),
"Environment": ([Environment], False),
"EphemeralStorage": (EphemeralStorage, False),
"ExecutionRoleArn": (str, False),
Expand All @@ -401,6 +402,17 @@ class ContainerProperties(AWSProperty):
}


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

props: PropsDictType = {
"Options": (dict, False),
"Type": (str, True),
}


class TaskContainerDependency(AWSProperty):
"""
`TaskContainerDependency <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-taskcontainerdependency.html>`__
Expand All @@ -422,6 +434,7 @@ class TaskContainerProperties(AWSProperty):
"DependsOn": ([TaskContainerDependency], False),
"Environment": ([Environment], False),
"Essential": (boolean, False),
"FirelensConfiguration": (FirelensConfiguration, False),
"Image": (str, True),
"LinuxParameters": (LinuxParameters, False),
"LogConfiguration": (LogConfiguration, False),
Expand All @@ -444,6 +457,7 @@ class EcsTaskProperties(AWSProperty):

props: PropsDictType = {
"Containers": ([TaskContainerProperties], False),
"EnableExecuteCommand": (boolean, False),
"EphemeralStorage": (EphemeralStorage, False),
"ExecutionRoleArn": (str, False),
"IpcMode": (str, False),
Expand Down Expand Up @@ -648,6 +662,7 @@ class MultiNodeContainerProperties(AWSProperty):

props: PropsDictType = {
"Command": ([str], False),
"EnableExecuteCommand": (boolean, False),
"Environment": ([Environment], False),
"EphemeralStorage": (EphemeralStorage, False),
"ExecutionRoleArn": (str, False),
Expand Down Expand Up @@ -678,6 +693,7 @@ class MultiNodeEcsTaskProperties(AWSProperty):

props: PropsDictType = {
"Containers": ([TaskContainerProperties], False),
"EnableExecuteCommand": (boolean, False),
"ExecutionRoleArn": (str, False),
"IpcMode": (str, False),
"PidMode": (str, False),
Expand Down
86 changes: 86 additions & 0 deletions troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,26 @@ class CustomOutputConfiguration(AWSProperty):
}


class ModalityProcessingConfiguration(AWSProperty):
"""
`ModalityProcessingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityprocessingconfiguration.html>`__
"""

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


class AudioOverrideConfiguration(AWSProperty):
"""
`AudioOverrideConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html>`__
"""

props: PropsDictType = {
"ModalityProcessing": (ModalityProcessingConfiguration, False),
}


class SplitterConfiguration(AWSProperty):
"""
`SplitterConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-splitterconfiguration.html>`__
Expand All @@ -362,17 +382,55 @@ class DocumentOverrideConfiguration(AWSProperty):
"""

props: PropsDictType = {
"ModalityProcessing": (ModalityProcessingConfiguration, False),
"Splitter": (SplitterConfiguration, False),
}


class ImageOverrideConfiguration(AWSProperty):
"""
`ImageOverrideConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-imageoverrideconfiguration.html>`__
"""

props: PropsDictType = {
"ModalityProcessing": (ModalityProcessingConfiguration, False),
}


class ModalityRoutingConfiguration(AWSProperty):
"""
`ModalityRoutingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-modalityroutingconfiguration.html>`__
"""

props: PropsDictType = {
"jpeg": (str, False),
"mov": (str, False),
"mp4": (str, False),
"png": (str, False),
}


class VideoOverrideConfiguration(AWSProperty):
"""
`VideoOverrideConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-videooverrideconfiguration.html>`__
"""

props: PropsDictType = {
"ModalityProcessing": (ModalityProcessingConfiguration, False),
}


class OverrideConfiguration(AWSProperty):
"""
`OverrideConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-overrideconfiguration.html>`__
"""

props: PropsDictType = {
"Audio": (AudioOverrideConfiguration, False),
"Document": (DocumentOverrideConfiguration, False),
"Image": (ImageOverrideConfiguration, False),
"ModalityRouting": (ModalityRoutingConfiguration, False),
"Video": (VideoOverrideConfiguration, False),
}


Expand Down Expand Up @@ -1646,8 +1704,12 @@ class ContentFilterConfig(AWSProperty):
"""

props: PropsDictType = {
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"InputModalities": ([str], False),
"InputStrength": (str, True),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"OutputModalities": ([str], False),
"OutputStrength": (str, True),
"Type": (str, True),
Expand All @@ -1670,6 +1732,8 @@ class ContextualGroundingFilterConfig(AWSProperty):
"""

props: PropsDictType = {
"Action": (str, False),
"Enabled": (boolean, False),
"Threshold": (double, True),
"Type": (str, True),
}
Expand All @@ -1692,6 +1756,10 @@ class PiiEntityConfig(AWSProperty):

props: PropsDictType = {
"Action": (str, True),
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"Type": (str, True),
}

Expand All @@ -1704,7 +1772,11 @@ class RegexConfig(AWSProperty):
props: PropsDictType = {
"Action": (str, True),
"Description": (str, False),
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"Name": (str, True),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"Pattern": (str, True),
}

Expand All @@ -1728,7 +1800,11 @@ class TopicConfig(AWSProperty):
props: PropsDictType = {
"Definition": (str, True),
"Examples": ([str], False),
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"Name": (str, True),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"Type": (str, True),
}

Expand All @@ -1749,6 +1825,10 @@ class ManagedWordsConfig(AWSProperty):
"""

props: PropsDictType = {
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"Type": (str, True),
}

Expand All @@ -1759,6 +1839,10 @@ class WordConfig(AWSProperty):
"""

props: PropsDictType = {
"InputAction": (str, False),
"InputEnabled": (boolean, False),
"OutputAction": (str, False),
"OutputEnabled": (boolean, False),
"Text": (str, True),
}

Expand Down Expand Up @@ -2092,6 +2176,7 @@ class MongoDbAtlasConfiguration(AWSProperty):
"Endpoint": (str, True),
"EndpointServiceName": (str, False),
"FieldMapping": (MongoDbAtlasFieldMapping, True),
"TextIndexName": (str, False),
"VectorIndexName": (str, True),
}

Expand Down Expand Up @@ -2197,6 +2282,7 @@ class RdsFieldMapping(AWSProperty):
"""

props: PropsDictType = {
"CustomMetadataField": (str, False),
"MetadataField": (str, True),
"PrimaryKeyField": (str, True),
"TextField": (str, True),
Expand Down
Loading
0