Skip to content

Commit

Permalink
Updates from spec version 175.0.0 (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 26, 2024
1 parent 98118ec commit be0fbe5
Show file tree
Hide file tree
Showing 8 changed files with 125 additions and 13 deletions.
4 changes: 3 additions & 1 deletion troposphere/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, PropsDictType
from . import AWSObject, PropsDictType, Tags
from .validators import boolean
from .validators.chatbot import validate_logginglevel

Expand All @@ -24,6 +24,7 @@ class MicrosoftTeamsChannelConfiguration(AWSObject):
"IamRoleArn": (str, True),
"LoggingLevel": (str, False),
"SnsTopicArns": ([str], False),
"Tags": (Tags, False),
"TeamId": (str, True),
"TeamsChannelId": (str, True),
"TeamsTenantId": (str, True),
Expand All @@ -46,5 +47,6 @@ class SlackChannelConfiguration(AWSObject):
"SlackChannelId": (str, True),
"SlackWorkspaceId": (str, True),
"SnsTopicArns": ([str], False),
"Tags": (Tags, False),
"UserRoleRequired": (boolean, False),
}
27 changes: 15 additions & 12 deletions troposphere/codebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@
)


class VpcConfig(AWSProperty):
"""
`VpcConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html>`__
"""

props: PropsDictType = {
"SecurityGroupIds": ([str], False),
"Subnets": ([str], False),
"VpcId": (str, False),
}


class Fleet(AWSObject):
"""
`Fleet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html>`__
Expand All @@ -36,7 +48,10 @@ class Fleet(AWSObject):
"BaseCapacity": (integer, False),
"ComputeType": (str, False),
"EnvironmentType": (str, False),
"FleetServiceRole": (str, False),
"FleetVpcConfig": (VpcConfig, False),
"Name": (str, False),
"OverflowBehavior": (str, False),
"Tags": (Tags, False),
}

Expand Down Expand Up @@ -291,18 +306,6 @@ def validate(self):
validate_source(self)


class VpcConfig(AWSProperty):
"""
`VpcConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-vpcconfig.html>`__
"""

props: PropsDictType = {
"SecurityGroupIds": ([str], False),
"Subnets": ([str], False),
"VpcId": (str, False),
}


class Project(AWSObject):
"""
`Project <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html>`__
Expand Down
88 changes: 88 additions & 0 deletions troposphere/datazone.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,20 @@ class EnvironmentProfile(AWSObject):
}


class GroupProfile(AWSObject):
"""
`GroupProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-groupprofile.html>`__
"""

resource_type = "AWS::DataZone::GroupProfile"

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


class Project(AWSObject):
"""
`Project <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-project.html>`__
Expand All @@ -286,6 +300,32 @@ class Project(AWSObject):
}


class Member(AWSProperty):
"""
`Member <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-projectmembership-member.html>`__
"""

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


class ProjectMembership(AWSObject):
"""
`ProjectMembership <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-projectmembership.html>`__
"""

resource_type = "AWS::DataZone::ProjectMembership"

props: PropsDictType = {
"Designation": (str, True),
"DomainIdentifier": (str, True),
"Member": (Member, True),
"ProjectIdentifier": (str, True),
}


class SubscriptionTargetForm(AWSProperty):
"""
`SubscriptionTargetForm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-subscriptiontarget-subscriptiontargetform.html>`__
Expand Down Expand Up @@ -315,3 +355,51 @@ class SubscriptionTarget(AWSObject):
"SubscriptionTargetConfig": ([SubscriptionTargetForm], True),
"Type": (str, True),
}


class UserProfile(AWSObject):
"""
`UserProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-userprofile.html>`__
"""

resource_type = "AWS::DataZone::UserProfile"

props: PropsDictType = {
"DomainIdentifier": (str, True),
"Status": (str, False),
"UserIdentifier": (str, True),
"UserType": (str, False),
}


class IamUserProfileDetails(AWSProperty):
"""
`IamUserProfileDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-userprofile-iamuserprofiledetails.html>`__
"""

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


class SsoUserProfileDetails(AWSProperty):
"""
`SsoUserProfileDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-userprofile-ssouserprofiledetails.html>`__
"""

props: PropsDictType = {
"FirstName": (str, False),
"LastName": (str, False),
"Username": (str, False),
}


class UserProfileDetails(AWSProperty):
"""
`UserProfileDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-userprofile-userprofiledetails.html>`__
"""

props: PropsDictType = {
"Iam": (IamUserProfileDetails, False),
"Sso": (SsoUserProfileDetails, False),
}
1 change: 1 addition & 0 deletions troposphere/glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ class Job(AWSObject):
"ExecutionProperty": (ExecutionProperty, False),
"GlueVersion": (str, False),
"LogUri": (str, False),
"MaintenanceWindow": (str, False),
"MaxCapacity": (double, False),
"MaxRetries": (double, False),
"Name": (str, False),
Expand Down
1 change: 1 addition & 0 deletions troposphere/medialive.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ class AvailConfiguration(AWSProperty):

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


Expand Down
1 change: 1 addition & 0 deletions troposphere/mediatailor.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ class AvailSuppression(AWSProperty):
"""

props: PropsDictType = {
"FillPolicy": (str, False),
"Mode": (str, False),
"Value": (str, False),
}
Expand Down
2 changes: 2 additions & 0 deletions troposphere/mwaa.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class Environment(AWSObject):
"ExecutionRoleArn": (str, False),
"KmsKey": (str, False),
"LoggingConfiguration": (LoggingConfiguration, False),
"MaxWebservers": (integer, False),
"MaxWorkers": (integer, False),
"MinWebservers": (integer, False),
"MinWorkers": (integer, False),
"Name": (str, True),
"NetworkConfiguration": (NetworkConfiguration, False),
Expand Down
14 changes: 14 additions & 0 deletions troposphere/quicksight.py
Original file line number Diff line number Diff line change
Expand Up @@ -6932,6 +6932,19 @@ class IdentityCenterConfiguration(AWSProperty):
}


class RedshiftIAMParameters(AWSProperty):
"""
`RedshiftIAMParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftiamparameters.html>`__
"""

props: PropsDictType = {
"AutoCreateDatabaseUser": (boolean, False),
"DatabaseGroups": ([str], False),
"DatabaseUser": (str, False),
"RoleArn": (str, True),
}


class RedshiftParameters(AWSProperty):
"""
`RedshiftParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-redshiftparameters.html>`__
Expand All @@ -6941,6 +6954,7 @@ class RedshiftParameters(AWSProperty):
"ClusterId": (str, False),
"Database": (str, True),
"Host": (str, False),
"IAMParameters": (RedshiftIAMParameters, False),
"IdentityCenterConfiguration": (IdentityCenterConfiguration, False),
"Port": (double, False),
}
Expand Down

0 comments on commit be0fbe5

Please sign in to comment.