We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.workspacesinstances.getWorkspaceInstance
Start a Neo task
Explain and create an aws-native.workspacesinstances.getWorkspaceInstance resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
Resource Type definition for AWS::WorkspacesInstances::WorkspaceInstance
Using getWorkspaceInstance
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 getWorkspaceInstance(args: GetWorkspaceInstanceArgs, opts?: InvokeOptions): Promise<GetWorkspaceInstanceResult>
function getWorkspaceInstanceOutput(args: GetWorkspaceInstanceOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceInstanceResult>def get_workspace_instance(workspace_instance_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkspaceInstanceResult
def get_workspace_instance_output(workspace_instance_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceInstanceResult]func LookupWorkspaceInstance(ctx *Context, args *LookupWorkspaceInstanceArgs, opts ...InvokeOption) (*LookupWorkspaceInstanceResult, error)
func LookupWorkspaceInstanceOutput(ctx *Context, args *LookupWorkspaceInstanceOutputArgs, opts ...InvokeOption) LookupWorkspaceInstanceResultOutput> Note: This function is named LookupWorkspaceInstance in the Go SDK.
public static class GetWorkspaceInstance
{
public static Task<GetWorkspaceInstanceResult> InvokeAsync(GetWorkspaceInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetWorkspaceInstanceResult> Invoke(GetWorkspaceInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceInstanceResult> getWorkspaceInstance(GetWorkspaceInstanceArgs args, InvokeOptions options)
public static Output<GetWorkspaceInstanceResult> getWorkspaceInstance(GetWorkspaceInstanceArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:workspacesinstances:getWorkspaceInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Workspace
Instance stringId - Unique identifier for the workspace instance
- Workspace
Instance stringId - Unique identifier for the workspace instance
- workspace
Instance StringId - Unique identifier for the workspace instance
- workspace
Instance stringId - Unique identifier for the workspace instance
- workspace_
instance_ strid - Unique identifier for the workspace instance
- workspace
Instance StringId - Unique identifier for the workspace instance
getWorkspaceInstance Result
The following output properties are available:
- Ec2Managed
Instance Pulumi.Aws Native. Workspaces Instances. Outputs. Workspace Instance Ec2Managed Instance - Provision
State Pulumi.Aws Native. Workspaces Instances. Workspace Instance Provision State - The current state of the workspace instance
-
List<Pulumi.
Aws Native. Outputs. Tag> - Workspace
Instance stringId - Unique identifier for the workspace instance
- Ec2Managed
Instance WorkspaceInstance Ec2Managed Instance - Provision
State WorkspaceInstance Provision State - The current state of the workspace instance
- Tag
- Workspace
Instance stringId - Unique identifier for the workspace instance
- ec2Managed
Instance WorkspaceInstance Ec2Managed Instance - provision
State WorkspaceInstance Provision State - The current state of the workspace instance
- List<Tag>
- workspace
Instance StringId - Unique identifier for the workspace instance
- ec2Managed
Instance WorkspaceInstance Ec2Managed Instance - provision
State WorkspaceInstance Provision State - The current state of the workspace instance
- Tag[]
- workspace
Instance stringId - Unique identifier for the workspace instance
- ec2_
managed_ Workspaceinstance Instance Ec2Managed Instance - provision_
state WorkspaceInstance Provision State - The current state of the workspace instance
- Sequence[root_Tag]
- workspace_
instance_ strid - Unique identifier for the workspace instance
- ec2Managed
Instance Property Map - provision
State "ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING" - The current state of the workspace instance
- List<Property Map>
- workspace
Instance StringId - Unique identifier for the workspace instance
Supporting Types
Tag
WorkspaceInstanceEc2ManagedInstance
- Instance
Id string
- Instance
Id string
- instance
Id String
- instance
Id string
- instance_
id str
- instance
Id String
WorkspaceInstanceProvisionState
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.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
