1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. workspacesinstances
  5. getWorkspaceInstance

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws-native.workspacesinstances.getWorkspaceInstance

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 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 dictionary

    The following arguments are supported:

    WorkspaceInstanceId string
    Unique identifier for the workspace instance
    WorkspaceInstanceId string
    Unique identifier for the workspace instance
    workspaceInstanceId String
    Unique identifier for the workspace instance
    workspaceInstanceId string
    Unique identifier for the workspace instance
    workspace_instance_id str
    Unique identifier for the workspace instance
    workspaceInstanceId String
    Unique identifier for the workspace instance

    getWorkspaceInstance Result

    The following output properties are available:

    Ec2ManagedInstance WorkspaceInstanceEc2ManagedInstance
    ProvisionState WorkspaceInstanceProvisionState
    The current state of the workspace instance
    Tags Tag
    WorkspaceInstanceId string
    Unique identifier for the workspace instance
    ec2ManagedInstance WorkspaceInstanceEc2ManagedInstance
    provisionState WorkspaceInstanceProvisionState
    The current state of the workspace instance
    tags List<Tag>
    workspaceInstanceId String
    Unique identifier for the workspace instance
    ec2ManagedInstance WorkspaceInstanceEc2ManagedInstance
    provisionState WorkspaceInstanceProvisionState
    The current state of the workspace instance
    tags Tag[]
    workspaceInstanceId string
    Unique identifier for the workspace instance

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    WorkspaceInstanceEc2ManagedInstance

    InstanceId string
    InstanceId string
    instanceId String
    instanceId string
    instanceId String

    WorkspaceInstanceProvisionState

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi