@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)
70 lines (69 loc) • 2.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::Connect::Workspace
*/
export declare function getWorkspace(args: GetWorkspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceResult>;
export interface GetWorkspaceArgs {
/**
* The Amazon Resource Name (ARN) for the workspace.
*/
arn: string;
}
export interface GetWorkspaceResult {
/**
* The Amazon Resource Name (ARN) for the workspace.
*/
readonly arn?: string;
/**
* The resource ARNs associated with the workspace
*/
readonly associations?: string[];
/**
* The description of the workspace
*/
readonly description?: string;
/**
* The identifier of the workspace.
*/
readonly id?: string;
/**
* The media items for the workspace
*/
readonly media?: outputs.connect.WorkspaceMediaItem[];
/**
* The name of the workspace.
*/
readonly name?: string;
/**
* The pages associated with the workspace
*/
readonly pages?: outputs.connect.WorkspacePage[];
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
/**
* The theme configuration for the workspace
*/
readonly theme?: outputs.connect.WorkspaceTheme;
/**
* The title of the workspace
*/
readonly title?: string;
/**
* The visibility of the workspace. Will always be set to ASSIGNED oninitial creation.
*/
readonly visibility?: enums.connect.WorkspaceVisibility;
}
/**
* Resource Type definition for AWS::Connect::Workspace
*/
export declare function getWorkspaceOutput(args: GetWorkspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceResult>;
export interface GetWorkspaceOutputArgs {
/**
* The Amazon Resource Name (ARN) for the workspace.
*/
arn: pulumi.Input<string>;
}