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
2 changes: 2 additions & 0 deletions troposphere/apigatewayv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Api(AWSObject):
"DisableExecuteApiEndpoint": (boolean, False),
"DisableSchemaValidation": (boolean, False),
"FailOnWarnings": (boolean, False),
"IpAddressType": (str, False),
"Name": (str, False),
"ProtocolType": (str, False),
"RouteKey": (str, False),
Expand Down Expand Up @@ -230,6 +231,7 @@ class DomainNameConfiguration(AWSProperty):
"CertificateArn": (str, False),
"CertificateName": (str, False),
"EndpointType": (str, False),
"IpAddressType": (str, False),
"OwnershipVerificationCertificateArn": (str, False),
"SecurityPolicy": (str, False),
}
Expand Down
13 changes: 13 additions & 0 deletions troposphere/applicationsignals.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ class Goal(AWSProperty):
}


class DependencyConfig(AWSProperty):
"""
`DependencyConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dependencyconfig.html>`__
"""

props: PropsDictType = {
"DependencyKeyAttributes": (dict, True),
"DependencyOperationName": (str, True),
}


class Dimension(AWSProperty):
"""
`Dimension <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-dimension.html>`__
Expand Down Expand Up @@ -177,6 +188,7 @@ class RequestBasedSliMetric(AWSProperty):
"""

props: PropsDictType = {
"DependencyConfig": (DependencyConfig, False),
"KeyAttributes": (dict, False),
"MetricType": (str, False),
"MonitoredRequestCountMetric": (MonitoredRequestCountMetric, False),
Expand All @@ -203,6 +215,7 @@ class SliMetric(AWSProperty):
"""

props: PropsDictType = {
"DependencyConfig": (DependencyConfig, False),
"KeyAttributes": (dict, False),
"MetricDataQueries": ([MetricDataQuery], False),
"MetricType": (str, False),
Expand Down
1 change: 0 additions & 1 deletion troposphere/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ class RestoreTestingPlan(AWSObject):
"RestoreTestingPlanName": (str, True),
"ScheduleExpression": (str, True),
"ScheduleExpressionTimezone": (str, False),
"ScheduleStatus": (str, False),
"StartWindowHours": (integer, False),
"Tags": (Tags, False),
}
Expand Down
31 changes: 31 additions & 0 deletions troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,9 @@ class ContentFilterConfig(AWSProperty):
"""

props: PropsDictType = {
"InputModalities": ([str], False),
"InputStrength": (str, True),
"OutputModalities": ([str], False),
"OutputStrength": (str, True),
"Type": (str, True),
}
Expand Down Expand Up @@ -2116,6 +2118,31 @@ class NeptuneAnalyticsConfiguration(AWSProperty):
}


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

props: PropsDictType = {
"MetadataField": (str, True),
"TextField": (str, True),
"VectorField": (str, True),
}


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

props: PropsDictType = {
"DomainArn": (str, True),
"DomainEndpoint": (str, True),
"FieldMapping": (OpenSearchManagedClusterFieldMapping, True),
"VectorIndexName": (str, True),
}


class OpenSearchServerlessFieldMapping(AWSProperty):
"""
`OpenSearchServerlessFieldMapping <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-opensearchserverlessfieldmapping.html>`__
Expand Down Expand Up @@ -2199,6 +2226,10 @@ class StorageConfiguration(AWSProperty):
props: PropsDictType = {
"MongoDbAtlasConfiguration": (MongoDbAtlasConfiguration, False),
"NeptuneAnalyticsConfiguration": (NeptuneAnalyticsConfiguration, False),
"OpensearchManagedClusterConfiguration": (
OpenSearchManagedClusterConfiguration,
False,
),
"OpensearchServerlessConfiguration": (OpenSearchServerlessConfiguration, False),
"PineconeConfiguration": (PineconeConfiguration, False),
"RdsConfiguration": (RdsConfiguration, False),
Expand Down
150 changes: 139 additions & 11 deletions troposphere/cleanrooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,88 @@ class AnalysisParameter(AWSProperty):
}


class AnalysisSchema(AWSProperty):
"""
`AnalysisSchema <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisschema.html>`__
"""

props: PropsDictType = {
"ReferencedTables": ([str], True),
}


class S3Location(AWSProperty):
"""
`S3Location <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-s3location.html>`__
"""

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


class AnalysisTemplateArtifact(AWSProperty):
"""
`AnalysisTemplateArtifact <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifact.html>`__
"""

props: PropsDictType = {
"Location": (S3Location, True),
}


class AnalysisTemplateArtifacts(AWSProperty):
"""
`AnalysisTemplateArtifacts <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifacts.html>`__
"""

props: PropsDictType = {
"AdditionalArtifacts": ([AnalysisTemplateArtifact], False),
"EntryPoint": (AnalysisTemplateArtifact, True),
"RoleArn": (str, True),
}


class AnalysisSource(AWSProperty):
"""
`AnalysisSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysissource.html>`__
"""

props: PropsDictType = {
"Text": (str, True),
"Artifacts": (AnalysisTemplateArtifacts, False),
"Text": (str, False),
}


class Hash(AWSProperty):
"""
`Hash <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-hash.html>`__
"""

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


class AnalysisTemplateArtifactMetadata(AWSProperty):
"""
`AnalysisTemplateArtifactMetadata <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysistemplateartifactmetadata.html>`__
"""

props: PropsDictType = {
"AdditionalArtifactHashes": ([Hash], False),
"EntryPointHash": (Hash, True),
}


class AnalysisSourceMetadata(AWSProperty):
"""
`AnalysisSourceMetadata <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysissourcemetadata.html>`__
"""

props: PropsDictType = {
"Artifacts": (AnalysisTemplateArtifactMetadata, True),
}


Expand All @@ -45,7 +120,9 @@ class AnalysisTemplate(AWSObject):
"Format": (str, True),
"MembershipIdentifier": (str, True),
"Name": (str, True),
"Schema": (AnalysisSchema, False),
"Source": (AnalysisSource, True),
"SourceMetadata": (AnalysisSourceMetadata, False),
"Tags": (Tags, False),
}

Expand Down Expand Up @@ -73,6 +150,16 @@ class MLMemberAbilities(AWSProperty):
}


class JobComputePaymentConfig(AWSProperty):
"""
`JobComputePaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-jobcomputepaymentconfig.html>`__
"""

props: PropsDictType = {
"IsResponsible": (boolean, True),
}


class ModelInferencePaymentConfig(AWSProperty):
"""
`ModelInferencePaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-modelinferencepaymentconfig.html>`__
Expand Down Expand Up @@ -120,6 +207,7 @@ class PaymentConfiguration(AWSProperty):
"""

props: PropsDictType = {
"JobCompute": (JobComputePaymentConfig, False),
"MachineLearning": (MLPaymentConfig, False),
"QueryCompute": (QueryComputePaymentConfig, True),
}
Expand Down Expand Up @@ -154,6 +242,7 @@ class Collaboration(AWSObject):
"CreatorPaymentConfiguration": (PaymentConfiguration, False),
"DataEncryptionMetadata": (DataEncryptionMetadata, False),
"Description": (str, True),
"JobLogStatus": (str, False),
"Members": ([MemberSpecification], True),
"Name": (str, True),
"QueryLogStatus": (str, True),
Expand Down Expand Up @@ -366,6 +455,7 @@ class ConfiguredTable(AWSObject):
"AnalysisRules": ([AnalysisRule], False),
"Description": (str, False),
"Name": (str, True),
"SelectedAnalysisMethods": ([str], False),
"TableReference": (TableReference, True),
"Tags": (Tags, False),
}
Expand Down Expand Up @@ -524,6 +614,16 @@ class IdNamespaceAssociation(AWSObject):
}


class MembershipJobComputePaymentConfig(AWSProperty):
"""
`MembershipJobComputePaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipjobcomputepaymentconfig.html>`__
"""

props: PropsDictType = {
"IsResponsible": (boolean, True),
}


class MembershipModelInferencePaymentConfig(AWSProperty):
"""
`MembershipModelInferencePaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmodelinferencepaymentconfig.html>`__
Expand Down Expand Up @@ -571,11 +671,44 @@ class MembershipPaymentConfiguration(AWSProperty):
"""

props: PropsDictType = {
"JobCompute": (MembershipJobComputePaymentConfig, False),
"MachineLearning": (MembershipMLPaymentConfig, False),
"QueryCompute": (MembershipQueryComputePaymentConfig, True),
}


class ProtectedJobS3OutputConfigurationInput(AWSProperty):
"""
`ProtectedJobS3OutputConfigurationInput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedjobs3outputconfigurationinput.html>`__
"""

props: PropsDictType = {
"Bucket": (str, True),
"KeyPrefix": (str, False),
}


class MembershipProtectedJobOutputConfiguration(AWSProperty):
"""
`MembershipProtectedJobOutputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedjoboutputconfiguration.html>`__
"""

props: PropsDictType = {
"S3": (ProtectedJobS3OutputConfigurationInput, True),
}


class MembershipProtectedJobResultConfiguration(AWSProperty):
"""
`MembershipProtectedJobResultConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipprotectedjobresultconfiguration.html>`__
"""

props: PropsDictType = {
"OutputConfiguration": (MembershipProtectedJobOutputConfiguration, True),
"RoleArn": (str, True),
}


class ProtectedQueryS3OutputConfiguration(AWSProperty):
"""
`ProtectedQueryS3OutputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-protectedquerys3outputconfiguration.html>`__
Expand Down Expand Up @@ -619,10 +752,15 @@ class Membership(AWSObject):

props: PropsDictType = {
"CollaborationIdentifier": (str, True),
"DefaultJobResultConfiguration": (
MembershipProtectedJobResultConfiguration,
False,
),
"DefaultResultConfiguration": (
MembershipProtectedQueryResultConfiguration,
False,
),
"JobLogStatus": (str, False),
"PaymentConfiguration": (MembershipPaymentConfiguration, False),
"QueryLogStatus": (str, True),
"Tags": (Tags, False),
Expand Down Expand Up @@ -656,16 +794,6 @@ class PrivacyBudgetTemplate(AWSObject):
}


class AnalysisSchema(AWSProperty):
"""
`AnalysisSchema <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-analysistemplate-analysisschema.html>`__
"""

props: PropsDictType = {
"ReferencedTables": ([str], True),
}


class IdMappingTableInputSource(AWSProperty):
"""
`IdMappingTableInputSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-idmappingtable-idmappingtableinputsource.html>`__
Expand Down
2 changes: 2 additions & 0 deletions troposphere/codebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ class ScopeConfiguration(AWSProperty):
"""

props: PropsDictType = {
"Domain": (str, False),
"Name": (str, True),
"Scope": (str, False),
}


Expand Down
1 change: 1 addition & 0 deletions troposphere/dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,7 @@ class ReplicationInstance(AWSObject):
"AllowMajorVersionUpgrade": (boolean, False),
"AutoMinorVersionUpgrade": (boolean, False),
"AvailabilityZone": (str, False),
"DnsNameServers": (str, False),
"EngineVersion": (str, False),
"KmsKeyId": (str, False),
"MultiAZ": (boolean, False),
Expand Down
Loading