We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::WorkSpaces::Workspace
Create Workspace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);@overload
def Workspace(resource_name: str,
args: WorkspaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Workspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
bundle_id: Optional[str] = None,
directory_id: Optional[str] = None,
user_name: Optional[str] = None,
root_volume_encryption_enabled: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_volume_encryption_enabled: Optional[bool] = None,
volume_encryption_key: Optional[str] = None,
workspace_properties: Optional[WorkspacePropertiesArgs] = None)func NewWorkspace(ctx *Context, name string, args WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)public Workspace(string name, WorkspaceArgs args, CustomResourceOptions? opts = null)
public Workspace(String name, WorkspaceArgs args)
public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
type: aws-native:workspaces:Workspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Workspace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Workspace resource accepts the following input properties:
- Bundle
Id string - The identifier of the bundle for the WorkSpace.
- Directory
Id string - The identifier of the Directory Service directory for the WorkSpace.
- User
Name string - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- Root
Volume boolEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags for the WorkSpace.
- User
Volume boolEncryption Enabled - Indicates whether the data stored on the user volume is encrypted.
- Volume
Encryption stringKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- Workspace
Properties Pulumi.Aws Native. Work Spaces. Inputs. Workspace Properties - The WorkSpace properties.
- Bundle
Id string - The identifier of the bundle for the WorkSpace.
- Directory
Id string - The identifier of the Directory Service directory for the WorkSpace.
- User
Name string - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- Root
Volume boolEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
-
Tag
Args - The tags for the WorkSpace.
- User
Volume boolEncryption Enabled - Indicates whether the data stored on the user volume is encrypted.
- Volume
Encryption stringKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- Workspace
Properties WorkspaceProperties Args - The WorkSpace properties.
- bundle
Id String - The identifier of the bundle for the WorkSpace.
- directory
Id String - The identifier of the Directory Service directory for the WorkSpace.
- user
Name String - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- root
Volume BooleanEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
- List<Tag>
- The tags for the WorkSpace.
- user
Volume BooleanEncryption Enabled - Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption StringKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- workspace
Properties WorkspaceProperties - The WorkSpace properties.
- bundle
Id string - The identifier of the bundle for the WorkSpace.
- directory
Id string - The identifier of the Directory Service directory for the WorkSpace.
- user
Name string - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- root
Volume booleanEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
- Tag[]
- The tags for the WorkSpace.
- user
Volume booleanEncryption Enabled - Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption stringKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- workspace
Properties WorkspaceProperties - The WorkSpace properties.
- bundle_
id str - The identifier of the bundle for the WorkSpace.
- directory_
id str - The identifier of the Directory Service directory for the WorkSpace.
- user_
name str - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- root_
volume_ boolencryption_ enabled - Indicates whether the data stored on the root volume is encrypted.
-
Sequence[Tag
Args] - The tags for the WorkSpace.
- user_
volume_ boolencryption_ enabled - Indicates whether the data stored on the user volume is encrypted.
- volume_
encryption_ strkey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- workspace_
properties WorkspaceProperties Args - The WorkSpace properties.
- bundle
Id String - The identifier of the bundle for the WorkSpace.
- directory
Id String - The identifier of the Directory Service directory for the WorkSpace.
- user
Name String - The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
- root
Volume BooleanEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
- List<Property Map>
- The tags for the WorkSpace.
- user
Volume BooleanEncryption Enabled - Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption StringKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
- workspace
Properties Property Map - The WorkSpace properties.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:
- Aws
Id string - The identifier of the WorkSpace, returned as a string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workspace
Id string
- Aws
Id string - The identifier of the WorkSpace, returned as a string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workspace
Id string
- aws
Id String - The identifier of the WorkSpace, returned as a string.
- id String
- The provider-assigned unique ID for this managed resource.
- workspace
Id String
- aws
Id string - The identifier of the WorkSpace, returned as a string.
- id string
- The provider-assigned unique ID for this managed resource.
- workspace
Id string
- aws_
id str - The identifier of the WorkSpace, returned as a string.
- id str
- The provider-assigned unique ID for this managed resource.
- workspace_
id str
- aws
Id String - The identifier of the WorkSpace, returned as a string.
- id String
- The provider-assigned unique ID for this managed resource.
- workspace
Id String
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.WorkspaceProperties, WorkspacePropertiesArgs
- Compute
Type stringName - The compute type. For more information, see Amazon WorkSpaces Bundles .
- Root
Volume intSize Gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- Running
Mode string - The running mode. For more information, see Manage the WorkSpace Running Mode .
- Running
Mode intAuto Stop Timeout In Minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- User
Volume intSize Gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- Compute
Type stringName - The compute type. For more information, see Amazon WorkSpaces Bundles .
- Root
Volume intSize Gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- Running
Mode string - The running mode. For more information, see Manage the WorkSpace Running Mode .
- Running
Mode intAuto Stop Timeout In Minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- User
Volume intSize Gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- compute
Type StringName - The compute type. For more information, see Amazon WorkSpaces Bundles .
- root
Volume IntegerSize Gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- running
Mode String - The running mode. For more information, see Manage the WorkSpace Running Mode .
- running
Mode IntegerAuto Stop Timeout In Minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- user
Volume IntegerSize Gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- compute
Type stringName - The compute type. For more information, see Amazon WorkSpaces Bundles .
- root
Volume numberSize Gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- running
Mode string - The running mode. For more information, see Manage the WorkSpace Running Mode .
- running
Mode numberAuto Stop Timeout In Minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- user
Volume numberSize Gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- compute_
type_ strname - The compute type. For more information, see Amazon WorkSpaces Bundles .
- root_
volume_ intsize_ gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- running_
mode str - The running mode. For more information, see Manage the WorkSpace Running Mode .
- running_
mode_ intauto_ stop_ timeout_ in_ minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- user_
volume_ intsize_ gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- compute
Type StringName - The compute type. For more information, see Amazon WorkSpaces Bundles .
- root
Volume NumberSize Gib - The size of the root volume. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
- running
Mode String - The running mode. For more information, see Manage the WorkSpace Running Mode .
- running
Mode NumberAuto Stop Timeout In Minutes - The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.
- user
Volume NumberSize Gib - The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace .
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
