Skip to content

Commit

Permalink
Add AWS::WorkSpacesThinClient
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Dec 8, 2023
1 parent ba5b495 commit c22d1df
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,5 +224,6 @@
- [AWS::WAFv2](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_WAFv2.html)
- [AWS::Wisdom](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Wisdom.html)
- [AWS::WorkSpaces](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_WorkSpaces.html)
- [AWS::WorkSpacesThinClient](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_WorkSpacesThinClient.html)
- [AWS::WorkSpacesWeb](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_WorkSpacesWeb.html)
- [AWS::XRay](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_XRay.html)
46 changes: 46 additions & 0 deletions troposphere/workspacesthinclient.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright (c) 2012-2022, Mark Peek <[email protected]>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import integer


class MaintenanceWindow(AWSProperty):
"""
`MaintenanceWindow <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesthinclient-environment-maintenancewindow.html>`__
"""

props: PropsDictType = {
"ApplyTimeOf": (str, False),
"DaysOfTheWeek": ([str], False),
"EndTimeHour": (integer, False),
"EndTimeMinute": (integer, False),
"StartTimeHour": (integer, False),
"StartTimeMinute": (integer, False),
"Type": (str, True),
}


class Environment(AWSObject):
"""
`Environment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesthinclient-environment.html>`__
"""

resource_type = "AWS::WorkSpacesThinClient::Environment"

props: PropsDictType = {
"DesiredSoftwareSetId": (str, False),
"DesktopArn": (str, True),
"DesktopEndpoint": (str, False),
"KmsKeyArn": (str, False),
"MaintenanceWindow": (MaintenanceWindow, False),
"Name": (str, False),
"SoftwareSetUpdateMode": (str, False),
"SoftwareSetUpdateSchedule": (str, False),
"Tags": (Tags, False),
}

0 comments on commit c22d1df

Please sign in to comment.