Skip to content

Commit

Permalink
Updates from spec version 180.0.0 (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jun 28, 2024
1 parent e05bdbc commit 215b5f7
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 6 deletions.
6 changes: 3 additions & 3 deletions troposphere/amazonmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ class Broker(AWSObject):

props: PropsDictType = {
"AuthenticationStrategy": (str, False),
"AutoMinorVersionUpgrade": (boolean, True),
"AutoMinorVersionUpgrade": (boolean, False),
"BrokerName": (str, True),
"Configuration": (ConfigurationId, False),
"DataReplicationMode": (str, False),
"DataReplicationPrimaryBrokerArn": (str, False),
"DeploymentMode": (str, True),
"EncryptionOptions": (EncryptionOptions, False),
"EngineType": (str, True),
"EngineVersion": (str, True),
"EngineVersion": (str, False),
"HostInstanceType": (str, True),
"LdapServerMetadata": (LdapServerMetadata, False),
"Logs": (LogsConfiguration, False),
Expand All @@ -133,7 +133,7 @@ class Configuration(AWSObject):
"Data": (str, True),
"Description": (str, False),
"EngineType": (str, True),
"EngineVersion": (str, True),
"EngineVersion": (str, False),
"Name": (str, True),
"Tags": (Tags, False),
}
Expand Down
1 change: 0 additions & 1 deletion troposphere/dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,6 @@ class ReplicationConfig(AWSObject):

props: PropsDictType = {
"ComputeConfig": (ComputeConfig, False),
"ReplicationConfigArn": (str, False),
"ReplicationConfigIdentifier": (str, False),
"ReplicationSettings": (dict, False),
"ReplicationType": (str, False),
Expand Down
1 change: 1 addition & 0 deletions troposphere/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ class GlobalCluster(AWSObject):
props: PropsDictType = {
"DeletionProtection": (boolean, False),
"Engine": (str, False),
"EngineLifecycleSupport": (str, False),
"EngineVersion": (str, False),
"GlobalClusterIdentifier": (str, False),
"SourceDBClusterIdentifier": (str, False),
Expand Down
2 changes: 1 addition & 1 deletion troposphere/ses.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class TrackingOptions(AWSProperty):
"""

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


Expand Down
60 changes: 59 additions & 1 deletion troposphere/verifiedpermissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,71 @@ class CognitoUserPoolConfiguration(AWSProperty):
}


class OpenIdConnectGroupConfiguration(AWSProperty):
"""
`OpenIdConnectGroupConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-openidconnectgroupconfiguration.html>`__
"""

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


class OpenIdConnectAccessTokenConfiguration(AWSProperty):
"""
`OpenIdConnectAccessTokenConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-openidconnectaccesstokenconfiguration.html>`__
"""

props: PropsDictType = {
"Audiences": ([str], False),
"PrincipalIdClaim": (str, False),
}


class OpenIdConnectIdentityTokenConfiguration(AWSProperty):
"""
`OpenIdConnectIdentityTokenConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-openidconnectidentitytokenconfiguration.html>`__
"""

props: PropsDictType = {
"ClientIds": ([str], False),
"PrincipalIdClaim": (str, False),
}


class OpenIdConnectTokenSelection(AWSProperty):
"""
`OpenIdConnectTokenSelection <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-openidconnecttokenselection.html>`__
"""

props: PropsDictType = {
"AccessTokenOnly": (OpenIdConnectAccessTokenConfiguration, False),
"IdentityTokenOnly": (OpenIdConnectIdentityTokenConfiguration, False),
}


class OpenIdConnectConfiguration(AWSProperty):
"""
`OpenIdConnectConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-openidconnectconfiguration.html>`__
"""

props: PropsDictType = {
"EntityIdPrefix": (str, False),
"GroupConfiguration": (OpenIdConnectGroupConfiguration, False),
"Issuer": (str, True),
"TokenSelection": (OpenIdConnectTokenSelection, True),
}


class IdentitySourceConfiguration(AWSProperty):
"""
`IdentitySourceConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-identitysourceconfiguration.html>`__
"""

props: PropsDictType = {
"CognitoUserPoolConfiguration": (CognitoUserPoolConfiguration, True),
"CognitoUserPoolConfiguration": (CognitoUserPoolConfiguration, False),
"OpenIdConnectConfiguration": (OpenIdConnectConfiguration, False),
}


Expand Down
52 changes: 52 additions & 0 deletions troposphere/workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,55 @@ class Workspace(AWSObject):
"VolumeEncryptionKey": (str, False),
"WorkspaceProperties": (WorkspaceProperties, False),
}


class ApplicationSettings(AWSProperty):
"""
`ApplicationSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-applicationsettings.html>`__
"""

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


class Capacity(AWSProperty):
"""
`Capacity <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-capacity.html>`__
"""

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


class TimeoutSettings(AWSProperty):
"""
`TimeoutSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspaces-workspacespool-timeoutsettings.html>`__
"""

props: PropsDictType = {
"DisconnectTimeoutInSeconds": (integer, False),
"IdleDisconnectTimeoutInSeconds": (integer, False),
"MaxUserDurationInSeconds": (integer, False),
}


class WorkspacesPool(AWSObject):
"""
`WorkspacesPool <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspaces-workspacespool.html>`__
"""

resource_type = "AWS::WorkSpaces::WorkspacesPool"

props: PropsDictType = {
"ApplicationSettings": (ApplicationSettings, False),
"BundleId": (str, True),
"Capacity": (Capacity, True),
"Description": (str, False),
"DirectoryId": (str, True),
"PoolName": (str, True),
"Tags": (Tags, False),
"TimeoutSettings": (TimeoutSettings, False),
}

0 comments on commit 215b5f7

Please sign in to comment.