Skip to content
Open
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: 1 addition & 0 deletions troposphere/amazonmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class Broker(AWSObject):
"PubliclyAccessible": (boolean, True),
"ResourceShareArns": ([str], False),
"SecurityGroups": ([str], False),
"StorageSize": (integer, False),
"StorageType": (str, False),
"SubnetIds": ([str], False),
"Tags": (validate_tags_or_list, False),
Expand Down
27 changes: 27 additions & 0 deletions troposphere/appstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,32 @@ class ImageBuilder(AWSObject):
}


class AgentAccessSetting(AWSProperty):
"""
`AgentAccessSetting <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-agentaccesssetting.html>`__
"""

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


class AgentAccessConfig(AWSProperty):
"""
`AgentAccessConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-agentaccessconfig.html>`__
"""

props: PropsDictType = {
"S3BucketArn": (str, False),
"ScreenImageFormat": (str, True),
"ScreenResolution": (str, True),
"ScreenshotsUploadEnabled": (boolean, False),
"Settings": ([AgentAccessSetting], True),
"UserControlMode": (str, False),
}


class ApplicationSettings(AWSProperty):
"""
`ApplicationSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-stack-applicationsettings.html>`__
Expand Down Expand Up @@ -382,6 +408,7 @@ class Stack(AWSObject):

props: PropsDictType = {
"AccessEndpoints": ([AccessEndpoint], False),
"AgentAccessConfig": (AgentAccessConfig, False),
"ApplicationSettings": (ApplicationSettings, False),
"AttributesToDelete": ([str], False),
"ContentRedirection": (ContentRedirection, False),
Expand Down
37 changes: 37 additions & 0 deletions troposphere/auditmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,40 @@ class Assessment(AWSObject):
"Status": (str, False),
"Tags": (Tags, False),
}


class ControlSetControl(AWSProperty):
"""
`ControlSetControl <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlsetcontrol.html>`__
"""

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


class ControlSet(AWSProperty):
"""
`ControlSet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-auditmanager-assessmentframework-controlset.html>`__
"""

props: PropsDictType = {
"Controls": ([ControlSetControl], True),
"Name": (str, True),
}


class AssessmentFramework(AWSObject):
"""
`AssessmentFramework <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-auditmanager-assessmentframework.html>`__
"""

resource_type = "AWS::AuditManager::AssessmentFramework"

props: PropsDictType = {
"ComplianceType": (str, False),
"ControlSets": ([ControlSet], True),
"Description": (str, False),
"Name": (str, True),
"Tags": (Tags, False),
}
2 changes: 2 additions & 0 deletions troposphere/awslambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ class Code(AWSProperty):
"ImageUri": (str, False),
"S3Bucket": (str, False),
"S3Key": (str, False),
"S3ObjectStorageMode": (str, False),
"S3ObjectVersion": (str, False),
"SourceKMSKeyArn": (str, False),
"ZipFile": (str, False),
Expand All @@ -523,6 +524,7 @@ class DurableConfig(AWSProperty):

props: PropsDictType = {
"ExecutionTimeout": (integer, True),
"KMSKeyArn": (str, False),
"RetentionPeriodInDays": (integer, False),
}

Expand Down
49 changes: 49 additions & 0 deletions troposphere/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,55 @@ class Framework(AWSObject):
}


class DateRange(AWSProperty):
"""
`DateRange <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-legalhold-daterange.html>`__
"""

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


class RecoveryPointSelection(AWSProperty):
"""
`RecoveryPointSelection <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-legalhold-recoverypointselection.html>`__
"""

props: PropsDictType = {
"DateRange": (DateRange, False),
"ResourceIdentifiers": ([str], False),
"VaultNames": ([str], False),
}


class TagsItems(AWSProperty):
"""
`TagsItems <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-legalhold-tagsitems.html>`__
"""

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


class LegalHold(AWSObject):
"""
`LegalHold <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-legalhold.html>`__
"""

resource_type = "AWS::Backup::LegalHold"

props: PropsDictType = {
"Description": (str, True),
"RecoveryPointSelection": (RecoveryPointSelection, True),
"Tags": ([TagsItems], False),
"Title": (str, True),
}


class LogicallyAirGappedBackupVault(AWSObject):
"""
`LogicallyAirGappedBackupVault <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html>`__
Expand Down
15 changes: 14 additions & 1 deletion troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ class ManagedKnowledgeBaseConfiguration(AWSProperty):
"""

props: PropsDictType = {
"EmbeddingModelArn": (str, True),
"EmbeddingModelArn": (str, False),
"EmbeddingModelConfiguration": (EmbeddingModelConfiguration, False),
"EmbeddingModelType": (str, False),
"ServerSideEncryptionConfiguration": (
Expand Down Expand Up @@ -3004,6 +3004,19 @@ class KnowledgeBase(AWSObject):
}


class KnowledgeBasePolicy(AWSObject):
"""
`KnowledgeBasePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-knowledgebasepolicy.html>`__
"""

resource_type = "AWS::Bedrock::KnowledgeBasePolicy"

props: PropsDictType = {
"KnowledgeBaseId": (str, True),
"PolicyDocument": (dict, True),
}


class PromptAgentResource(AWSProperty):
"""
`PromptAgentResource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-promptversion-promptagentresource.html>`__
Expand Down
Loading