AWS::WorkSpaces::WorkspaceResource Type definition for AWS::WorkSpaces::Workspace
8 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
BundleId | string | Required |
DirectoryId | string | RequiredCreate-only |
UserName | string | RequiredCreate-only |
RootVolumeEncryptionEnabled | boolean | |
Tags | Array<Tag> | |
UserVolumeEncryptionEnabled | boolean | |
VolumeEncryptionKey | string | |
WorkspaceProperties | WorkspaceProperties |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
WorkspaceId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::WorkSpaces::Workspace
Resources:
MyResource:
Type: AWS::WorkSpaces::Workspace
Properties:
BundleId: "my-bundleid"
DirectoryId: "my-directoryid"
UserName: "my-username"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
workspaces:DescribeWorkspacesworkspaces:CreateWorkspacesworkspaces:CreateTagskms:CreateGrantkms:DescribeKeyworkspaces:DescribeWorkspacesworkspaces:DescribeTagsworkspaces:DescribeWorkspacesworkspaces:DescribeWorkspaceBundlesworkspaces:ModifyWorkspacePropertiesworkspaces:DescribeTagsworkspaces:CreateTagsworkspaces:DeleteTagskms:CreateGrantkms:DescribeKeyworkspaces:DescribeWorkspacesworkspaces:TerminateWorkspacesworkspaces:DescribeWorkspacesworkspaces:DescribeTagsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterWorkspaceIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
UserNameDirectoryId