Skip to content

Commit

Permalink
Updates from spec version 183.0.0 (#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 2, 2024
1 parent 69c43e0 commit 1de57d3
Show file tree
Hide file tree
Showing 9 changed files with 295 additions and 5 deletions.
12 changes: 12 additions & 0 deletions troposphere/arczonalshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
from . import AWSObject, AWSProperty, PropsDictType


class AutoshiftObserverNotificationStatus(AWSObject):
"""
`AutoshiftObserverNotificationStatus <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-arczonalshift-autoshiftobservernotificationstatus.html>`__
"""

resource_type = "AWS::ARCZonalShift::AutoshiftObserverNotificationStatus"

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


class ControlCondition(AWSProperty):
"""
`ControlCondition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-arczonalshift-zonalautoshiftconfiguration-controlcondition.html>`__
Expand Down
22 changes: 22 additions & 0 deletions troposphere/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,27 @@ class ContentPolicyConfig(AWSProperty):
}


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

props: PropsDictType = {
"Threshold": (double, True),
"Type": (str, True),
}


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

props: PropsDictType = {
"FiltersConfig": ([ContextualGroundingFilterConfig], True),
}


class PiiEntityConfig(AWSProperty):
"""
`PiiEntityConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-guardrail-piientityconfig.html>`__
Expand Down Expand Up @@ -748,6 +769,7 @@ class Guardrail(AWSObject):
"BlockedInputMessaging": (str, True),
"BlockedOutputsMessaging": (str, True),
"ContentPolicyConfig": (ContentPolicyConfig, False),
"ContextualGroundingPolicyConfig": (ContextualGroundingPolicyConfig, False),
"Description": (str, False),
"KmsKeyArn": (str, False),
"Name": (str, True),
Expand Down
172 changes: 172 additions & 0 deletions troposphere/cleanrooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class AnalysisRuleAggregation(AWSProperty):
"""

props: PropsDictType = {
"AdditionalAnalyses": (str, False),
"AggregateColumns": ([AggregateColumn], True),
"AllowedJoinOperators": ([str], False),
"DimensionColumns": ([str], True),
Expand Down Expand Up @@ -181,9 +182,11 @@ class AnalysisRuleCustom(AWSProperty):
"""

props: PropsDictType = {
"AdditionalAnalyses": (str, False),
"AllowedAnalyses": ([str], True),
"AllowedAnalysisProviders": ([str], False),
"DifferentialPrivacy": (DifferentialPrivacy, False),
"DisallowedOutputColumns": ([str], False),
}


Expand All @@ -193,6 +196,7 @@ class AnalysisRuleList(AWSProperty):
"""

props: PropsDictType = {
"AdditionalAnalyses": (str, False),
"AllowedJoinOperators": ([str], False),
"JoinColumns": ([str], True),
"ListColumns": ([str], True),
Expand Down Expand Up @@ -271,6 +275,72 @@ class ConfiguredTable(AWSObject):
}


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

props: PropsDictType = {
"AllowedAdditionalAnalyses": ([str], False),
"AllowedResultReceivers": ([str], False),
}


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

props: PropsDictType = {
"AllowedAdditionalAnalyses": ([str], False),
"AllowedResultReceivers": ([str], False),
}


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

props: PropsDictType = {
"AllowedAdditionalAnalyses": ([str], False),
"AllowedResultReceivers": ([str], False),
}


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

props: PropsDictType = {
"Aggregation": (ConfiguredTableAssociationAnalysisRuleAggregation, False),
"Custom": (ConfiguredTableAssociationAnalysisRuleCustom, False),
"List": (ConfiguredTableAssociationAnalysisRuleList, False),
}


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

props: PropsDictType = {
"V1": (ConfiguredTableAssociationAnalysisRulePolicyV1, True),
}


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

props: PropsDictType = {
"Policy": (ConfiguredTableAssociationAnalysisRulePolicy, True),
"Type": (str, True),
}


class ConfiguredTableAssociation(AWSObject):
"""
`ConfiguredTableAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html>`__
Expand All @@ -279,6 +349,10 @@ class ConfiguredTableAssociation(AWSObject):
resource_type = "AWS::CleanRooms::ConfiguredTableAssociation"

props: PropsDictType = {
"ConfiguredTableAssociationAnalysisRules": (
[ConfiguredTableAssociationAnalysisRule],
False,
),
"ConfiguredTableIdentifier": (str, True),
"Description": (str, False),
"MembershipIdentifier": (str, True),
Expand All @@ -288,6 +362,72 @@ class ConfiguredTableAssociation(AWSObject):
}


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

props: PropsDictType = {
"InputReferenceArn": (str, True),
"ManageResourcePolicies": (boolean, True),
}


class IdMappingTable(AWSObject):
"""
`IdMappingTable <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html>`__
"""

resource_type = "AWS::CleanRooms::IdMappingTable"

props: PropsDictType = {
"Description": (str, False),
"InputReferenceConfig": (IdMappingTableInputReferenceConfig, True),
"KmsKeyArn": (str, False),
"MembershipIdentifier": (str, True),
"Name": (str, True),
"Tags": (Tags, False),
}


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

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


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

props: PropsDictType = {
"InputReferenceArn": (str, True),
"ManageResourcePolicies": (boolean, True),
}


class IdNamespaceAssociation(AWSObject):
"""
`IdNamespaceAssociation <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html>`__
"""

resource_type = "AWS::CleanRooms::IdNamespaceAssociation"

props: PropsDictType = {
"Description": (str, False),
"IdMappingConfig": (IdMappingConfig, False),
"InputReferenceConfig": (IdNamespaceAssociationInputReferenceConfig, True),
"MembershipIdentifier": (str, True),
"Name": (str, True),
"Tags": (Tags, False),
}


class MembershipQueryComputePaymentConfig(AWSProperty):
"""
`MembershipQueryComputePaymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-membership-membershipquerycomputepaymentconfig.html>`__
Expand Down Expand Up @@ -395,3 +535,35 @@ class AnalysisSchema(AWSProperty):
props: PropsDictType = {
"ReferencedTables": ([str], True),
}


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

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


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

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


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

props: PropsDictType = {
"IdMappingWorkflowsSupported": (Tags, False),
"IdNamespaceType": (str, False),
}
1 change: 1 addition & 0 deletions troposphere/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -2890,6 +2890,7 @@ class VPNConnection(AWSObject):

props: PropsDictType = {
"CustomerGatewayId": (str, True),
"EnableAcceleration": (boolean, False),
"StaticRoutesOnly": (boolean, False),
"Tags": (validate_tags_or_list, False),
"TransitGatewayId": (str, False),
Expand Down
12 changes: 12 additions & 0 deletions troposphere/emrserverless.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ class InitialCapacityConfigKeyValuePair(AWSProperty):
}


class InteractiveConfiguration(AWSProperty):
"""
`InteractiveConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-interactiveconfiguration.html>`__
"""

props: PropsDictType = {
"LivyEndpointEnabled": (boolean, False),
"StudioEnabled": (boolean, False),
}


class MaximumAllowedResources(AWSProperty):
"""
`MaximumAllowedResources <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emrserverless-application-maximumallowedresources.html>`__
Expand Down Expand Up @@ -195,6 +206,7 @@ class Application(AWSObject):
"AutoStopConfiguration": (AutoStopConfiguration, False),
"ImageConfiguration": (ImageConfigurationInput, False),
"InitialCapacity": ([InitialCapacityConfigKeyValuePair], False),
"InteractiveConfiguration": (InteractiveConfiguration, False),
"MaximumCapacity": (MaximumAllowedResources, False),
"MonitoringConfiguration": (MonitoringConfiguration, False),
"Name": (str, False),
Expand Down
1 change: 0 additions & 1 deletion troposphere/entityresolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ class IdMappingTechniques(AWSProperty):

props: PropsDictType = {
"IdMappingType": (str, False),
"NormalizationVersion": (str, False),
"ProviderProperties": (ProviderProperties, False),
"RuleBasedProperties": (IdMappingRuleBasedProperties, False),
}
Expand Down
54 changes: 54 additions & 0 deletions troposphere/firehose.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,47 @@ class HttpEndpointDestinationConfiguration(AWSProperty):
}


class CatalogConfiguration(AWSProperty):
"""
`CatalogConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-catalogconfiguration.html>`__
"""

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


class DestinationTableConfiguration(AWSProperty):
"""
`DestinationTableConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-destinationtableconfiguration.html>`__
"""

props: PropsDictType = {
"DestinationDatabaseName": (str, True),
"DestinationTableName": (str, True),
"S3ErrorOutputPrefix": (str, False),
"UniqueKeys": ([str], False),
}


class IcebergDestinationConfiguration(AWSProperty):
"""
`IcebergDestinationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-icebergdestinationconfiguration.html>`__
"""

props: PropsDictType = {
"BufferingHints": (BufferingHints, False),
"CatalogConfiguration": (CatalogConfiguration, True),
"CloudWatchLoggingOptions": (CloudWatchLoggingOptions, False),
"DestinationTableConfigurationList": ([DestinationTableConfiguration], False),
"ProcessingConfiguration": (ProcessingConfiguration, False),
"RetryOptions": (RetryOptions, False),
"RoleARN": (str, True),
"S3Configuration": (S3DestinationConfiguration, True),
"s3BackupMode": (str, False),
}


class KinesisStreamSourceConfiguration(AWSProperty):
"""
`KinesisStreamSourceConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-kinesisstreamsourceconfiguration.html>`__
Expand Down Expand Up @@ -581,6 +622,17 @@ class RedshiftDestinationConfiguration(AWSProperty):
}


class SnowflakeBufferingHints(AWSProperty):
"""
`SnowflakeBufferingHints <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakebufferinghints.html>`__
"""

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


class SnowflakeRetryOptions(AWSProperty):
"""
`SnowflakeRetryOptions <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kinesisfirehose-deliverystream-snowflakeretryoptions.html>`__
Expand Down Expand Up @@ -619,6 +671,7 @@ class SnowflakeDestinationConfiguration(AWSProperty):

props: PropsDictType = {
"AccountUrl": (str, True),
"BufferingHints": (SnowflakeBufferingHints, False),
"CloudWatchLoggingOptions": (CloudWatchLoggingOptions, False),
"ContentColumnName": (str, False),
"DataLoadingOption": (str, False),
Expand Down Expand Up @@ -715,6 +768,7 @@ class DeliveryStream(AWSObject):
HttpEndpointDestinationConfiguration,
False,
),
"IcebergDestinationConfiguration": (IcebergDestinationConfiguration, False),
"KinesisStreamSourceConfiguration": (KinesisStreamSourceConfiguration, False),
"MSKSourceConfiguration": (MSKSourceConfiguration, False),
"RedshiftDestinationConfiguration": (RedshiftDestinationConfiguration, False),
Expand Down
Loading

0 comments on commit 1de57d3

Please sign in to comment.