@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)
105 lines (104 loc) • 4.11 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::WorkSpaces::Workspace
*/
export declare class Workspace extends pulumi.CustomResource {
/**
* Get an existing Workspace resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Workspace;
/**
* Returns true if the given object is an instance of Workspace. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Workspace;
/**
* The identifier of the WorkSpace, returned as a string.
*/
readonly awsId: pulumi.Output<string>;
/**
* The identifier of the bundle for the WorkSpace.
*/
readonly bundleId: pulumi.Output<string>;
/**
* The identifier of the Directory Service directory for the WorkSpace.
*/
readonly directoryId: pulumi.Output<string>;
/**
* Indicates whether the data stored on the root volume is encrypted.
*/
readonly rootVolumeEncryptionEnabled: pulumi.Output<boolean | undefined>;
/**
* The tags for the WorkSpace.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
*/
readonly userName: pulumi.Output<string>;
/**
* Indicates whether the data stored on the user volume is encrypted.
*/
readonly userVolumeEncryptionEnabled: pulumi.Output<boolean | undefined>;
/**
* The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
*/
readonly volumeEncryptionKey: pulumi.Output<string | undefined>;
readonly workspaceId: pulumi.Output<string>;
/**
* The WorkSpace properties.
*/
readonly workspaceProperties: pulumi.Output<outputs.workspaces.WorkspaceProperties | undefined>;
/**
* Create a Workspace resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WorkspaceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Workspace resource.
*/
export interface WorkspaceArgs {
/**
* The identifier of the bundle for the WorkSpace.
*/
bundleId: pulumi.Input<string>;
/**
* The identifier of the Directory Service directory for the WorkSpace.
*/
directoryId: pulumi.Input<string>;
/**
* Indicates whether the data stored on the root volume is encrypted.
*/
rootVolumeEncryptionEnabled?: pulumi.Input<boolean>;
/**
* The tags for the WorkSpace.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
/**
* The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.
*/
userName: pulumi.Input<string>;
/**
* Indicates whether the data stored on the user volume is encrypted.
*/
userVolumeEncryptionEnabled?: pulumi.Input<boolean>;
/**
* The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.
*/
volumeEncryptionKey?: pulumi.Input<string>;
/**
* The WorkSpace properties.
*/
workspaceProperties?: pulumi.Input<inputs.workspaces.WorkspacePropertiesArgs>;
}