We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.54.0 published on Monday, Feb 16, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.54.0 published on Monday, Feb 16, 2026 by Pulumi
Resource Type definition for AWS::WorkSpaces::Workspace
Using getWorkspace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkspace(args: GetWorkspaceArgs, opts?: InvokeOptions): Promise<GetWorkspaceResult>
function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceResult>def get_workspace(workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceResult
def get_workspace_output(workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceResult]func LookupWorkspace(ctx *Context, args *LookupWorkspaceArgs, opts ...InvokeOption) (*LookupWorkspaceResult, error)
func LookupWorkspaceOutput(ctx *Context, args *LookupWorkspaceOutputArgs, opts ...InvokeOption) LookupWorkspaceResultOutput> Note: This function is named LookupWorkspace in the Go SDK.
public static class GetWorkspace
{
public static Task<GetWorkspaceResult> InvokeAsync(GetWorkspaceArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceResult> Invoke(GetWorkspaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
public static Output<GetWorkspaceResult> getWorkspace(GetWorkspaceArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:workspaces:getWorkspace
arguments:
# arguments dictionaryThe following arguments are supported:
- Workspace
Id string
- Workspace
Id string
- workspace
Id String
- workspace
Id string
- workspace_
id str
- workspace
Id String
getWorkspace Result
The following output properties are available:
- Bundle
Id string - The identifier of the bundle for the WorkSpace.
- Id string
- The identifier of the WorkSpace, returned as a string.
- Root
Volume boolEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
-
List<Pulumi.
Aws Native. Outputs. 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
Id string - Workspace
Properties Pulumi.Aws Native. Work Spaces. Outputs. Workspace Properties - The WorkSpace properties.
- Bundle
Id string - The identifier of the bundle for the WorkSpace.
- Id string
- The identifier of the WorkSpace, returned as a string.
- Root
Volume boolEncryption Enabled - Indicates whether the data stored on the root volume is encrypted.
- 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
Id string - Workspace
Properties WorkspaceProperties - The WorkSpace properties.
- bundle
Id String - The identifier of the bundle for the WorkSpace.
- id String
- The identifier of the WorkSpace, returned as a string.
- 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
Id String - workspace
Properties WorkspaceProperties - The WorkSpace properties.
- bundle
Id string - The identifier of the bundle for the WorkSpace.
- id string
- The identifier of the WorkSpace, returned as a string.
- 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
Id string - workspace
Properties WorkspaceProperties - The WorkSpace properties.
- bundle_
id str - The identifier of the bundle for the WorkSpace.
- id str
- The identifier of the WorkSpace, returned as a string.
- root_
volume_ boolencryption_ enabled - Indicates whether the data stored on the root volume is encrypted.
- Sequence[root_Tag]
- 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_
id str - workspace_
properties WorkspaceProperties - The WorkSpace properties.
- bundle
Id String - The identifier of the bundle for the WorkSpace.
- id String
- The identifier of the WorkSpace, returned as a string.
- 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
Id String - workspace
Properties Property Map - The WorkSpace properties.
Supporting Types
Tag
WorkspaceProperties
- 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.
AWS Cloud Control v1.54.0 published on Monday, Feb 16, 2026 by Pulumi
