Skip to content

Commit

Permalink
Updates from spec version 167.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Mar 30, 2024
1 parent 71f6f46 commit 505a329
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
68 changes: 68 additions & 0 deletions troposphere/aps.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,74 @@ class RuleGroupsNamespace(AWSObject):
}


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

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


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

props: PropsDictType = {
"AmpConfiguration": (AmpConfiguration, True),
}


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

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


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

props: PropsDictType = {
"ClusterArn": (str, True),
"SecurityGroupIds": ([str], False),
"SubnetIds": ([str], True),
}


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

props: PropsDictType = {
"EksConfiguration": (EksConfiguration, True),
}


class Scraper(AWSObject):
"""
`Scraper <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-aps-scraper.html>`__
"""

resource_type = "AWS::APS::Scraper"

props: PropsDictType = {
"Alias": (str, False),
"Destination": (Destination, True),
"ScrapeConfiguration": (ScrapeConfiguration, True),
"Source": (Source, True),
"Tags": (Tags, False),
}


class LoggingConfiguration(AWSProperty):
"""
`LoggingConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-aps-workspace-loggingconfiguration.html>`__
Expand Down
21 changes: 21 additions & 0 deletions troposphere/cleanrooms.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,26 @@ class AnalysisRuleAggregation(AWSProperty):
}


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

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


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

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


class AnalysisRuleCustom(AWSProperty):
"""
`AnalysisRuleCustom <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-configuredtable-analysisrulecustom.html>`__
Expand All @@ -163,6 +183,7 @@ class AnalysisRuleCustom(AWSProperty):
props: PropsDictType = {
"AllowedAnalyses": ([str], True),
"AllowedAnalysisProviders": ([str], False),
"DifferentialPrivacy": (DifferentialPrivacy, False),
}


Expand Down
2 changes: 2 additions & 0 deletions troposphere/codestarconnections.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ class SyncConfiguration(AWSObject):
props: PropsDictType = {
"Branch": (str, True),
"ConfigFile": (str, True),
"PublishDeploymentStatus": (str, False),
"RepositoryLinkId": (str, True),
"ResourceName": (str, True),
"RoleArn": (str, True),
"SyncType": (str, True),
"TriggerResourceUpdateOn": (str, False),
}
2 changes: 1 addition & 1 deletion troposphere/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,6 @@ class MaintenanceOptions(AWSProperty):

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


Expand Down Expand Up @@ -2351,6 +2350,7 @@ class Subnet(AWSObject):
"AvailabilityZoneId": (str, False),
"CidrBlock": (str, False),
"EnableDns64": (boolean, False),
"EnableLniAtDeviceIndex": (integer, False),
"Ipv4IpamPoolId": (str, False),
"Ipv4NetmaskLength": (integer, False),
"Ipv6CidrBlock": (str, False),
Expand Down
2 changes: 2 additions & 0 deletions troposphere/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ class Integration(AWSObject):

props: PropsDictType = {
"AdditionalEncryptionContext": (dict, False),
"DataFilter": (str, False),
"Description": (str, False),
"IntegrationName": (str, False),
"KMSKeyId": (str, False),
"SourceArn": (str, True),
Expand Down

0 comments on commit 505a329

Please sign in to comment.