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
70 changes: 70 additions & 0 deletions troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,29 @@ class ModalityProcessingConfiguration(AWSProperty):
}


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

props: PropsDictType = {
"PiiEntityTypes": ([str], False),
"RedactionMaskMode": (str, False),
}


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

props: PropsDictType = {
"DetectionMode": (str, False),
"DetectionScope": ([str], False),
"PiiEntitiesConfiguration": (PIIEntitiesConfiguration, False),
}


class AudioOverrideConfiguration(AWSProperty):
"""
`AudioOverrideConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-dataautomationproject-audiooverrideconfiguration.html>`__
Expand All @@ -467,6 +490,7 @@ class AudioOverrideConfiguration(AWSProperty):
props: PropsDictType = {
"LanguageConfiguration": (AudioLanguageConfiguration, False),
"ModalityProcessing": (ModalityProcessingConfiguration, False),
"SensitiveDataConfiguration": (SensitiveDataConfiguration, False),
}


Expand All @@ -487,6 +511,7 @@ class DocumentOverrideConfiguration(AWSProperty):

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

Expand All @@ -498,6 +523,7 @@ class ImageOverrideConfiguration(AWSProperty):

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


Expand All @@ -521,6 +547,7 @@ class VideoOverrideConfiguration(AWSProperty):

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


Expand Down Expand Up @@ -842,6 +869,7 @@ class DataAutomationProject(AWSObject):
"OverrideConfiguration": (OverrideConfiguration, False),
"ProjectDescription": (str, False),
"ProjectName": (str, True),
"ProjectType": (str, False),
"StandardOutputConfiguration": (StandardOutputConfiguration, False),
"Tags": (Tags, False),
}
Expand Down Expand Up @@ -2491,14 +2519,56 @@ class SqlKnowledgeBaseConfiguration(AWSProperty):
}


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

props: PropsDictType = {
"FixedLengthDuration": (integer, True),
}


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

props: PropsDictType = {
"SegmentationConfiguration": (AudioSegmentationConfiguration, True),
}


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

props: PropsDictType = {
"FixedLengthDuration": (integer, True),
}


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

props: PropsDictType = {
"SegmentationConfiguration": (VideoSegmentationConfiguration, True),
}


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

props: PropsDictType = {
"Audio": ([AudioConfiguration], False),
"Dimensions": (integer, False),
"EmbeddingDataType": (str, False),
"Video": ([VideoConfiguration], False),
}


Expand Down
45 changes: 45 additions & 0 deletions troposphere/bedrockagentcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,48 @@ class AuthorizerConfiguration(AWSProperty):
}


class LambdaInterceptorConfiguration(AWSProperty):
"""
`LambdaInterceptorConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-lambdainterceptorconfiguration.html>`__
"""

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


class InterceptorConfiguration(AWSProperty):
"""
`InterceptorConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-interceptorconfiguration.html>`__
"""

props: PropsDictType = {
"Lambda": (LambdaInterceptorConfiguration, True),
}


class InterceptorInputConfiguration(AWSProperty):
"""
`InterceptorInputConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-interceptorinputconfiguration.html>`__
"""

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


class GatewayInterceptorConfiguration(AWSProperty):
"""
`GatewayInterceptorConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayinterceptorconfiguration.html>`__
"""

props: PropsDictType = {
"InputConfiguration": (InterceptorInputConfiguration, False),
"InterceptionPoints": ([str], True),
"Interceptor": (InterceptorConfiguration, True),
}


class MCPGatewayConfiguration(AWSProperty):
"""
`MCPGatewayConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html>`__
Expand Down Expand Up @@ -166,6 +208,7 @@ class Gateway(AWSObject):
"AuthorizerType": (str, True),
"Description": (str, False),
"ExceptionLevel": (str, False),
"InterceptorConfigurations": ([GatewayInterceptorConfiguration], False),
"KmsKeyArn": (str, False),
"Name": (str, True),
"ProtocolConfiguration": (GatewayProtocolConfiguration, False),
Expand Down Expand Up @@ -195,6 +238,8 @@ class OAuthCredentialProvider(AWSProperty):

props: PropsDictType = {
"CustomParameters": (dict, False),
"DefaultReturnUrl": (str, False),
"GrantType": (str, False),
"ProviderArn": (str, True),
"Scopes": ([str], True),
}
Expand Down
3 changes: 2 additions & 1 deletion troposphere/billingconductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ class LineItemFilter(AWSProperty):

props: PropsDictType = {
"Attribute": (str, True),
"AttributeValues": ([str], False),
"MatchOption": (str, True),
"Values": ([str], True),
"Values": ([str], False),
}


Expand Down
70 changes: 70 additions & 0 deletions troposphere/cleanrooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,50 @@ class ErrorMessageConfiguration(AWSProperty):
}


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

props: PropsDictType = {
"ColumnName": (str, True),
"ColumnType": (str, True),
"IsPredictiveValue": (boolean, True),
}


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

props: PropsDictType = {
"ColumnMapping": ([SyntheticDataColumnProperties], True),
}


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

props: PropsDictType = {
"ColumnClassification": (ColumnClassificationDetails, True),
"Epsilon": (double, True),
"MaxMembershipInferenceAttackScore": (double, True),
}


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

props: PropsDictType = {
"MlSyntheticDataParameters": (MLSyntheticDataParameters, True),
}


class AnalysisTemplate(AWSObject):
"""
`AnalysisTemplate <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html>`__
Expand All @@ -134,6 +178,7 @@ class AnalysisTemplate(AWSObject):
"Schema": (AnalysisSchema, False),
"Source": (AnalysisSource, True),
"SourceMetadata": (AnalysisSourceMetadata, False),
"SyntheticDataParameters": (SyntheticDataParameters, False),
"Tags": (Tags, False),
}

Expand Down Expand Up @@ -191,6 +236,16 @@ class ModelTrainingPaymentConfig(AWSProperty):
}


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

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


class MLPaymentConfig(AWSProperty):
"""
`MLPaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-collaboration-mlpaymentconfig.html>`__
Expand All @@ -199,6 +254,7 @@ class MLPaymentConfig(AWSProperty):
props: PropsDictType = {
"ModelInference": (ModelInferencePaymentConfig, False),
"ModelTraining": (ModelTrainingPaymentConfig, False),
"SyntheticDataGeneration": (SyntheticDataGenerationPaymentConfig, False),
}


Expand Down Expand Up @@ -659,6 +715,16 @@ class MembershipModelTrainingPaymentConfig(AWSProperty):
}


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

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


class MembershipMLPaymentConfig(AWSProperty):
"""
`MembershipMLPaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipmlpaymentconfig.html>`__
Expand All @@ -667,6 +733,10 @@ class MembershipMLPaymentConfig(AWSProperty):
props: PropsDictType = {
"ModelInference": (MembershipModelInferencePaymentConfig, False),
"ModelTraining": (MembershipModelTrainingPaymentConfig, False),
"SyntheticDataGeneration": (
MembershipSyntheticDataGenerationPaymentConfig,
False,
),
}


Expand Down
34 changes: 21 additions & 13 deletions troposphere/cloudfront.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@
)


class IpamCidrConfig(AWSProperty):
"""
`IpamCidrConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-ipamcidrconfig.html>`__
"""

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


class AnycastIpList(AWSObject):
"""
`AnycastIpList <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html>`__
Expand All @@ -39,6 +50,7 @@ class AnycastIpList(AWSObject):
props: PropsDictType = {
"IpAddressType": (str, False),
"IpCount": (integer, True),
"IpamCidrConfigs": ([IpamCidrConfig], False),
"Name": (str, True),
"Tags": (validate_tags_items_array, False),
}
Expand Down Expand Up @@ -1471,29 +1483,25 @@ class VpcOrigin(AWSObject):
}


class AnycastIpListProperty(AWSProperty):
class DomainResult(AWSProperty):
"""
`AnycastIpListProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html>`__
`DomainResult <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-domainresult.html>`__
"""

props: PropsDictType = {
"AnycastIps": ([str], True),
"Arn": (str, True),
"Id": (str, True),
"IpAddressType": (str, False),
"IpCount": (integer, True),
"LastModifiedTime": (str, True),
"Name": (str, True),
"Status": (str, True),
"Domain": (str, False),
"Status": (str, False),
}


class DomainResult(AWSProperty):
class IpamCidrConfigResult(AWSProperty):
"""
`DomainResult <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-domainresult.html>`__
`IpamCidrConfigResult <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-ipamcidrconfigresult.html>`__
"""

props: PropsDictType = {
"Domain": (str, False),
"AnycastIp": (str, False),
"Cidr": (str, False),
"IpamPoolArn": (str, False),
"Status": (str, False),
}
Loading