aws logo
AWS Classic v5.29.1, Feb 4 23

aws.workspaces.Workspace

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 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/v5/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:

BundleId string

The ID of the bundle for the WorkSpace.

DirectoryId string

The ID of the directory for the WorkSpace.

UserName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

RootVolumeEncryptionEnabled bool

Indicates whether the data stored on the root volume is encrypted.

Tags 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.

UserVolumeEncryptionEnabled bool

Indicates whether the data stored on the user volume is encrypted.

VolumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

WorkspaceProperties Pulumi.Aws.Workspaces.Inputs.WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

BundleId string

The ID of the bundle for the WorkSpace.

DirectoryId string

The ID of the directory for the WorkSpace.

UserName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

RootVolumeEncryptionEnabled bool

Indicates whether the data stored on the root volume is encrypted.

Tags 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.

UserVolumeEncryptionEnabled bool

Indicates whether the data stored on the user volume is encrypted.

VolumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

WorkspaceProperties WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId String

The ID of the bundle for the WorkSpace.

directoryId String

The ID of the directory for the WorkSpace.

userName String

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

rootVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the root volume is encrypted.

tags 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.

userVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey String

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId string

The ID of the bundle for the WorkSpace.

directoryId string

The ID of the directory for the WorkSpace.

userName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

rootVolumeEncryptionEnabled boolean

Indicates whether the data stored on the root volume is encrypted.

tags {[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.

userVolumeEncryptionEnabled boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties WorkspaceWorkspacePropertiesArgs

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_encryption_enabled bool

Indicates whether the data stored on the root volume is encrypted.

tags 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_encryption_enabled bool

Indicates whether the data stored on the user volume is encrypted.

volume_encryption_key str

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 WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId String

The ID of the bundle for the WorkSpace.

directoryId String

The ID of the directory for the WorkSpace.

userName String

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

rootVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the root volume is encrypted.

tags 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.

userVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey String

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties Property Map

The WorkSpace properties.

Outputs

All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:

ComputerName string

The name of the WorkSpace, as seen by the operating system.

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

The IP address of the WorkSpace.

State string

The operational state of the WorkSpace.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

ComputerName string

The name of the WorkSpace, as seen by the operating system.

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

The IP address of the WorkSpace.

State string

The operational state of the WorkSpace.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

computerName String

The name of the WorkSpace, as seen by the operating system.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

The IP address of the WorkSpace.

state String

The operational state of the WorkSpace.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

computerName string

The name of the WorkSpace, as seen by the operating system.

id string

The provider-assigned unique ID for this managed resource.

ipAddress string

The IP address of the WorkSpace.

state string

The operational state of the WorkSpace.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

computerName String

The name of the WorkSpace, as seen by the operating system.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

The IP address of the WorkSpace.

state String

The operational state of the WorkSpace.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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.
The following state arguments are supported:
BundleId string

The ID of the bundle for the WorkSpace.

ComputerName string

The name of the WorkSpace, as seen by the operating system.

DirectoryId string

The ID of the directory for the WorkSpace.

IpAddress string

The IP address of the WorkSpace.

RootVolumeEncryptionEnabled bool

Indicates whether the data stored on the root volume is encrypted.

State string

The operational state of the WorkSpace.

Tags 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.

TagsAll Dictionary<string, string>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

UserName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

UserVolumeEncryptionEnabled bool

Indicates whether the data stored on the user volume is encrypted.

VolumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

WorkspaceProperties Pulumi.Aws.Workspaces.Inputs.WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

BundleId string

The ID of the bundle for the WorkSpace.

ComputerName string

The name of the WorkSpace, as seen by the operating system.

DirectoryId string

The ID of the directory for the WorkSpace.

IpAddress string

The IP address of the WorkSpace.

RootVolumeEncryptionEnabled bool

Indicates whether the data stored on the root volume is encrypted.

State string

The operational state of the WorkSpace.

Tags 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.

TagsAll map[string]string

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

UserName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

UserVolumeEncryptionEnabled bool

Indicates whether the data stored on the user volume is encrypted.

VolumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

WorkspaceProperties WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId String

The ID of the bundle for the WorkSpace.

computerName String

The name of the WorkSpace, as seen by the operating system.

directoryId String

The ID of the directory for the WorkSpace.

ipAddress String

The IP address of the WorkSpace.

rootVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the root volume is encrypted.

state String

The operational state of the WorkSpace.

tags 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.

tagsAll Map<String,String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

userName String

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

userVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey String

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId string

The ID of the bundle for the WorkSpace.

computerName string

The name of the WorkSpace, as seen by the operating system.

directoryId string

The ID of the directory for the WorkSpace.

ipAddress string

The IP address of the WorkSpace.

rootVolumeEncryptionEnabled boolean

Indicates whether the data stored on the root volume is encrypted.

state string

The operational state of the WorkSpace.

tags {[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.

tagsAll {[key: string]: string}

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

userName string

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

userVolumeEncryptionEnabled boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey string

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties WorkspaceWorkspacePropertiesArgs

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_encryption_enabled bool

Indicates whether the data stored on the root volume is encrypted.

state str

The operational state of the WorkSpace.

tags 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.

tags_all Mapping[str, str]

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

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_encryption_enabled bool

Indicates whether the data stored on the user volume is encrypted.

volume_encryption_key str

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 WorkspaceWorkspacePropertiesArgs

The WorkSpace properties.

bundleId String

The ID of the bundle for the WorkSpace.

computerName String

The name of the WorkSpace, as seen by the operating system.

directoryId String

The ID of the directory for the WorkSpace.

ipAddress String

The IP address of the WorkSpace.

rootVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the root volume is encrypted.

state String

The operational state of the WorkSpace.

tags 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.

tagsAll Map<String>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

userName String

The user name of the user for the WorkSpace. This user name must exist in the directory for the WorkSpace.

userVolumeEncryptionEnabled Boolean

Indicates whether the data stored on the user volume is encrypted.

volumeEncryptionKey String

The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.

workspaceProperties Property Map

The WorkSpace properties.

Supporting Types

WorkspaceWorkspaceProperties

ComputeTypeName string

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

RootVolumeSizeGib int

The size of the root volume.

RunningMode string

The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are AUTO_STOP and ALWAYS_ON.

RunningModeAutoStopTimeoutInMinutes int

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

UserVolumeSizeGib int

The size of the user storage.

ComputeTypeName string

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

RootVolumeSizeGib int

The size of the root volume.

RunningMode string

The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are AUTO_STOP and ALWAYS_ON.

RunningModeAutoStopTimeoutInMinutes int

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

UserVolumeSizeGib int

The size of the user storage.

computeTypeName String

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

rootVolumeSizeGib Integer

The size of the root volume.

runningMode String

The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are AUTO_STOP and ALWAYS_ON.

runningModeAutoStopTimeoutInMinutes Integer

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

userVolumeSizeGib Integer

The size of the user storage.

computeTypeName string

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

rootVolumeSizeGib number

The size of the root volume.

runningMode string

The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are AUTO_STOP and ALWAYS_ON.

runningModeAutoStopTimeoutInMinutes number

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

userVolumeSizeGib number

The size of the user storage.

compute_type_name str

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

root_volume_size_gib int

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 and ALWAYS_ON.

running_mode_auto_stop_timeout_in_minutes int

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

user_volume_size_gib int

The size of the user storage.

computeTypeName String

The compute type. For more information, see Amazon WorkSpaces Bundles. Valid values are VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO, GRAPHICS_G4DN, and GRAPHICSPRO_G4DN.

rootVolumeSizeGib Number

The size of the root volume.

runningMode String

The running mode. For more information, see Manage the WorkSpace Running Mode. Valid values are AUTO_STOP and ALWAYS_ON.

runningModeAutoStopTimeoutInMinutes Number

The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60-minute intervals.

userVolumeSizeGib Number

The size of the user storage.

Import

Workspaces can be imported using their ID, e.g.,

 $ 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.