UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

48 lines (47 loc) 1.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::WorkSpaces::Workspace */ export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceResult>; export interface GetWorkspaceArgs { workspaceId: string; } export interface GetWorkspaceResult { /** * The identifier of the bundle for the WorkSpace. */ readonly bundleId?: string; /** * The identifier of the WorkSpace, returned as a string. */ readonly id?: string; /** * Indicates whether the data stored on the root volume is encrypted. */ readonly rootVolumeEncryptionEnabled?: boolean; /** * The tags for the WorkSpace. */ readonly tags?: outputs.Tag[]; /** * Indicates whether the data stored on the user volume is encrypted. */ readonly userVolumeEncryptionEnabled?: boolean; /** * The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys. */ readonly volumeEncryptionKey?: string; readonly workspaceId?: string; /** * The WorkSpace properties. */ readonly workspaceProperties?: outputs.workspaces.WorkspaceProperties; } /** * Resource Type definition for AWS::WorkSpaces::Workspace */ export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceResult>; export interface GetWorkspaceOutputArgs { workspaceId: pulumi.Input<string>; }