Try AWS Native preview for resources not in the classic version.
aws.workspaces.Workspace
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a workspace in AWS Workspaces Service
NOTE: AWS WorkSpaces service requires
workspaces_DefaultRole
IAM role to operate normally.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var valueWindows10 = Aws.Workspaces.GetBundle.Invoke(new()
{
BundleId = "wsb-bh8rsxt14",
});
var example = new Aws.Workspaces.Workspace("example", new()
{
DirectoryId = aws_workspaces_directory.Example.Id,
BundleId = valueWindows10.Apply(getBundleResult => getBundleResult.Id),
UserName = "john.doe",
RootVolumeEncryptionEnabled = true,
UserVolumeEncryptionEnabled = true,
VolumeEncryptionKey = "alias/aws/workspaces",
WorkspaceProperties = new Aws.Workspaces.Inputs.WorkspaceWorkspacePropertiesArgs
{
ComputeTypeName = "VALUE",
UserVolumeSizeGib = 10,
RootVolumeSizeGib = 80,
RunningMode = "AUTO_STOP",
RunningModeAutoStopTimeoutInMinutes = 60,
},
Tags =
{
{ "Department", "IT" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
valueWindows10, err := workspaces.GetBundle(ctx, &workspaces.GetBundleArgs{
BundleId: pulumi.StringRef("wsb-bh8rsxt14"),
}, nil)
if err != nil {
return err
}
_, err = workspaces.NewWorkspace(ctx, "example", &workspaces.WorkspaceArgs{
DirectoryId: pulumi.Any(aws_workspaces_directory.Example.Id),
BundleId: *pulumi.String(valueWindows10.Id),
UserName: pulumi.String("john.doe"),
RootVolumeEncryptionEnabled: pulumi.Bool(true),
UserVolumeEncryptionEnabled: pulumi.Bool(true),
VolumeEncryptionKey: pulumi.String("alias/aws/workspaces"),
WorkspaceProperties: &workspaces.WorkspaceWorkspacePropertiesArgs{
ComputeTypeName: pulumi.String("VALUE"),
UserVolumeSizeGib: pulumi.Int(10),
RootVolumeSizeGib: pulumi.Int(80),
RunningMode: pulumi.String("AUTO_STOP"),
RunningModeAutoStopTimeoutInMinutes: pulumi.Int(60),
},
Tags: pulumi.StringMap{
"Department": pulumi.String("IT"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspaces.WorkspacesFunctions;
import com.pulumi.aws.workspaces.inputs.GetBundleArgs;
import com.pulumi.aws.workspaces.Workspace;
import com.pulumi.aws.workspaces.WorkspaceArgs;
import com.pulumi.aws.workspaces.inputs.WorkspaceWorkspacePropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var valueWindows10 = WorkspacesFunctions.getBundle(GetBundleArgs.builder()
.bundleId("wsb-bh8rsxt14")
.build());
var example = new Workspace("example", WorkspaceArgs.builder()
.directoryId(aws_workspaces_directory.example().id())
.bundleId(valueWindows10.applyValue(getBundleResult -> getBundleResult.id()))
.userName("john.doe")
.rootVolumeEncryptionEnabled(true)
.userVolumeEncryptionEnabled(true)
.volumeEncryptionKey("alias/aws/workspaces")
.workspaceProperties(WorkspaceWorkspacePropertiesArgs.builder()
.computeTypeName("VALUE")
.userVolumeSizeGib(10)
.rootVolumeSizeGib(80)
.runningMode("AUTO_STOP")
.runningModeAutoStopTimeoutInMinutes(60)
.build())
.tags(Map.of("Department", "IT"))
.build());
}
}
import pulumi
import pulumi_aws as aws
value_windows10 = aws.workspaces.get_bundle(bundle_id="wsb-bh8rsxt14")
example = aws.workspaces.Workspace("example",
directory_id=aws_workspaces_directory["example"]["id"],
bundle_id=value_windows10.id,
user_name="john.doe",
root_volume_encryption_enabled=True,
user_volume_encryption_enabled=True,
volume_encryption_key="alias/aws/workspaces",
workspace_properties=aws.workspaces.WorkspaceWorkspacePropertiesArgs(
compute_type_name="VALUE",
user_volume_size_gib=10,
root_volume_size_gib=80,
running_mode="AUTO_STOP",
running_mode_auto_stop_timeout_in_minutes=60,
),
tags={
"Department": "IT",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const valueWindows10 = aws.workspaces.getBundle({
bundleId: "wsb-bh8rsxt14",
});
const example = new aws.workspaces.Workspace("example", {
directoryId: aws_workspaces_directory.example.id,
bundleId: valueWindows10.then(valueWindows10 => valueWindows10.id),
userName: "john.doe",
rootVolumeEncryptionEnabled: true,
userVolumeEncryptionEnabled: true,
volumeEncryptionKey: "alias/aws/workspaces",
workspaceProperties: {
computeTypeName: "VALUE",
userVolumeSizeGib: 10,
rootVolumeSizeGib: 80,
runningMode: "AUTO_STOP",
runningModeAutoStopTimeoutInMinutes: 60,
},
tags: {
Department: "IT",
},
});
resources:
example:
type: aws:workspaces:Workspace
properties:
directoryId: ${aws_workspaces_directory.example.id}
bundleId: ${valueWindows10.id}
userName: john.doe
rootVolumeEncryptionEnabled: true
userVolumeEncryptionEnabled: true
volumeEncryptionKey: alias/aws/workspaces
workspaceProperties:
computeTypeName: VALUE
userVolumeSizeGib: 10
rootVolumeSizeGib: 80
runningMode: AUTO_STOP
runningModeAutoStopTimeoutInMinutes: 60
tags:
Department: IT
variables:
valueWindows10:
fn::invoke:
Function: aws:workspaces:getBundle
Arguments:
bundleId: wsb-bh8rsxt14
Create Workspace Resource
new Workspace(name: string, args: WorkspaceArgs, opts?: CustomResourceOptions);
@overload
def Workspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
bundle_id: Optional[str] = None,
directory_id: Optional[str] = None,
root_volume_encryption_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None,
user_name: Optional[str] = None,
user_volume_encryption_enabled: Optional[bool] = None,
volume_encryption_key: Optional[str] = None,
workspace_properties: Optional[WorkspaceWorkspacePropertiesArgs] = None)
@overload
def Workspace(resource_name: str,
args: WorkspaceArgs,
opts: Optional[ResourceOptions] = 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:workspaces:Workspace
properties: # The arguments to resource properties.
options: # 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.
- 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
The Workspace resource accepts the following input properties:
- Bundle
Id string The ID of the bundle for the WorkSpace.
- Directory
Id string The ID of the directory for the WorkSpace.
- User
Name string The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- Root
Volume boolEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- Dictionary<string, string>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- User
Volume boolEncryption Enabled Indicates whether the data stored on the user volume is encrypted.
- Volume
Encryption stringKey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- Workspace
Properties Pulumi.Aws. Workspaces. Inputs. Workspace Workspace Properties The WorkSpace properties.
- Bundle
Id string The ID of the bundle for the WorkSpace.
- Directory
Id string The ID of the directory for the WorkSpace.
- User
Name string The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- Root
Volume boolEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- map[string]string
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- User
Volume boolEncryption Enabled Indicates whether the data stored on the user volume is encrypted.
- Volume
Encryption stringKey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- Workspace
Properties WorkspaceWorkspace Properties Args The WorkSpace properties.
- bundle
Id String The ID of the bundle for the WorkSpace.
- directory
Id String The ID of the directory for the WorkSpace.
- user
Name String The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- root
Volume BooleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- Map<String,String>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- user
Volume BooleanEncryption Enabled Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption StringKey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace
Properties WorkspaceWorkspace Properties The WorkSpace properties.
- bundle
Id string The ID of the bundle for the WorkSpace.
- directory
Id string The ID of the directory for the WorkSpace.
- user
Name string The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- root
Volume booleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- {[key: string]: string}
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- user
Volume booleanEncryption Enabled Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption stringKey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace
Properties WorkspaceWorkspace Properties The WorkSpace properties.
- bundle_
id str The ID of the bundle for the WorkSpace.
- directory_
id str The ID of the directory for the WorkSpace.
- user_
name str The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- root_
volume_ boolencryption_ enabled Indicates whether the data stored on the root volume is encrypted.
- Mapping[str, str]
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- user_
volume_ boolencryption_ enabled Indicates whether the data stored on the user volume is encrypted.
- volume_
encryption_ strkey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace_
properties WorkspaceWorkspace Properties Args The WorkSpace properties.
- bundle
Id String The ID of the bundle for the WorkSpace.
- directory
Id String The ID of the directory for the WorkSpace.
- user
Name String The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.
- root
Volume BooleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- Map<String>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- user
Volume BooleanEncryption Enabled Indicates whether the data stored on the user volume is encrypted.
- volume
Encryption StringKey The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- 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:
- Computer
Name string The name of the WorkSpace, as seen by the operating system.
- Id string
The provider-assigned unique ID for this managed resource.
- Ip
Address string The IP address of the WorkSpace.
- State string
The operational state of the WorkSpace.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- Computer
Name string The name of the WorkSpace, as seen by the operating system.
- Id string
The provider-assigned unique ID for this managed resource.
- Ip
Address string The IP address of the WorkSpace.
- State string
The operational state of the WorkSpace.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- computer
Name String The name of the WorkSpace, as seen by the operating system.
- id String
The provider-assigned unique ID for this managed resource.
- ip
Address String The IP address of the WorkSpace.
- state String
The operational state of the WorkSpace.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- computer
Name string The name of the WorkSpace, as seen by the operating system.
- id string
The provider-assigned unique ID for this managed resource.
- ip
Address string The IP address of the WorkSpace.
- state string
The operational state of the WorkSpace.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- computer_
name str The name of the WorkSpace, as seen by the operating system.
- id str
The provider-assigned unique ID for this managed resource.
- ip_
address str The IP address of the WorkSpace.
- state str
The operational state of the WorkSpace.
- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- computer
Name String The name of the WorkSpace, as seen by the operating system.
- id String
The provider-assigned unique ID for this managed resource.
- ip
Address String The IP address of the WorkSpace.
- state String
The operational state of the WorkSpace.
- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
Look up Existing Workspace Resource
Get an existing Workspace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WorkspaceState, opts?: CustomResourceOptions): Workspace
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bundle_id: Optional[str] = None,
computer_name: Optional[str] = None,
directory_id: Optional[str] = None,
ip_address: Optional[str] = None,
root_volume_encryption_enabled: Optional[bool] = None,
state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
user_name: Optional[str] = None,
user_volume_encryption_enabled: Optional[bool] = None,
volume_encryption_key: Optional[str] = None,
workspace_properties: Optional[WorkspaceWorkspacePropertiesArgs] = None) -> Workspace
func GetWorkspace(ctx *Context, name string, id IDInput, state *WorkspaceState, opts ...ResourceOption) (*Workspace, error)
public static Workspace Get(string name, Input<string> id, WorkspaceState? state, CustomResourceOptions? opts = null)
public static Workspace get(String name, Output<String> id, WorkspaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bundle
Id string The ID of the bundle for the WorkSpace.
- Computer
Name string The name of the WorkSpace, as seen by the operating system.
- Directory
Id string The ID of the directory for the WorkSpace.
- Ip
Address string The IP address of the WorkSpace.
- Root
Volume boolEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- State string
The operational state of the WorkSpace.
- Dictionary<string, string>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- User
Name string The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- Workspace
Properties Pulumi.Aws. Workspaces. Inputs. Workspace Workspace Properties The WorkSpace properties.
- Bundle
Id string The ID of the bundle for the WorkSpace.
- Computer
Name string The name of the WorkSpace, as seen by the operating system.
- Directory
Id string The ID of the directory for the WorkSpace.
- Ip
Address string The IP address of the WorkSpace.
- Root
Volume boolEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- State string
The operational state of the WorkSpace.
- map[string]string
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- User
Name string The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- Workspace
Properties WorkspaceWorkspace Properties Args The WorkSpace properties.
- bundle
Id String The ID of the bundle for the WorkSpace.
- computer
Name String The name of the WorkSpace, as seen by the operating system.
- directory
Id String The ID of the directory for the WorkSpace.
- ip
Address String The IP address of the WorkSpace.
- root
Volume BooleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- state String
The operational state of the WorkSpace.
- Map<String,String>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- user
Name String The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace
Properties WorkspaceWorkspace Properties The WorkSpace properties.
- bundle
Id string The ID of the bundle for the WorkSpace.
- computer
Name string The name of the WorkSpace, as seen by the operating system.
- directory
Id string The ID of the directory for the WorkSpace.
- ip
Address string The IP address of the WorkSpace.
- root
Volume booleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- state string
The operational state of the WorkSpace.
- {[key: string]: string}
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- user
Name string The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace
Properties WorkspaceWorkspace Properties The WorkSpace properties.
- bundle_
id str The ID of the bundle for the WorkSpace.
- computer_
name str The name of the WorkSpace, as seen by the operating system.
- directory_
id str The ID of the directory for the WorkSpace.
- ip_
address str The IP address of the WorkSpace.
- root_
volume_ boolencryption_ enabled Indicates whether the data stored on the root volume is encrypted.
- state str
The operational state of the WorkSpace.
- Mapping[str, str]
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- user_
name str The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace_
properties WorkspaceWorkspace Properties Args The WorkSpace properties.
- bundle
Id String The ID of the bundle for the WorkSpace.
- computer
Name String The name of the WorkSpace, as seen by the operating system.
- directory
Id String The ID of the directory for the WorkSpace.
- ip
Address String The IP address of the WorkSpace.
- root
Volume BooleanEncryption Enabled Indicates whether the data stored on the root volume is encrypted.
- state String
The operational state of the WorkSpace.
- Map<String>
The tags for the WorkSpace. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- user
Name String The user name of the user for the WorkSpace. This user name must exist in the directory 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 customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.
- workspace
Properties Property Map The WorkSpace properties.
Supporting Types
WorkspaceWorkspaceProperties, WorkspaceWorkspacePropertiesArgs
- Compute
Type stringName The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- Root
Volume intSize Gib The size of the root volume.
- Running
Mode string The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
- Compute
Type stringName The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- Root
Volume intSize Gib The size of the root volume.
- Running
Mode string The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
- compute
Type StringName The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- root
Volume IntegerSize Gib The size of the root volume.
- running
Mode String The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
- compute
Type stringName The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- root
Volume numberSize Gib The size of the root volume.
- running
Mode string The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
- compute_
type_ strname The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- root_
volume_ intsize_ gib The size of the root volume.
- running_
mode str The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
- compute
Type StringName The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are
VALUE
,STANDARD
,PERFORMANCE
,POWER
,GRAPHICS
,POWERPRO
,GRAPHICSPRO
,GRAPHICS_G4DN
, andGRAPHICSPRO_G4DN
.- root
Volume NumberSize Gib The size of the root volume.
- running
Mode String The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are
AUTO_STOP
andALWAYS_ON
.- 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.
Import
Using pulumi import
, import Workspaces using their ID. For example:
$ pulumi import aws:workspaces/workspace:Workspace example ws-9z9zmbkhv
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.