@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)
125 lines (124 loc) • 4.31 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::Connect::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 Amazon Resource Name (ARN) for the workspace.
*/
readonly arn: pulumi.Output<string>;
/**
* The resource ARNs associated with the workspace
*/
readonly associations: pulumi.Output<string[] | undefined>;
/**
* The identifier of the workspace.
*/
readonly awsId: pulumi.Output<string>;
/**
* The description of the workspace
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The identifier of the Amazon Connect instance.
*/
readonly instanceArn: pulumi.Output<string>;
/**
* The media items for the workspace
*/
readonly media: pulumi.Output<outputs.connect.WorkspaceMediaItem[] | undefined>;
/**
* The name of the workspace.
*/
readonly name: pulumi.Output<string>;
/**
* The pages associated with the workspace
*/
readonly pages: pulumi.Output<outputs.connect.WorkspacePage[] | undefined>;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* The theme configuration for the workspace
*/
readonly theme: pulumi.Output<outputs.connect.WorkspaceTheme | undefined>;
/**
* The title of the workspace
*/
readonly title: pulumi.Output<string | undefined>;
/**
* The visibility of the workspace. Will always be set to ASSIGNED oninitial creation.
*/
readonly visibility: pulumi.Output<enums.connect.WorkspaceVisibility | 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 resource ARNs associated with the workspace
*/
associations?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The description of the workspace
*/
description?: pulumi.Input<string>;
/**
* The identifier of the Amazon Connect instance.
*/
instanceArn: pulumi.Input<string>;
/**
* The media items for the workspace
*/
media?: pulumi.Input<pulumi.Input<inputs.connect.WorkspaceMediaItemArgs>[]>;
/**
* The name of the workspace.
*/
name?: pulumi.Input<string>;
/**
* The pages associated with the workspace
*/
pages?: pulumi.Input<pulumi.Input<inputs.connect.WorkspacePageArgs>[]>;
/**
* An array of key-value pairs to apply to this resource.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
/**
* The theme configuration for the workspace
*/
theme?: pulumi.Input<inputs.connect.WorkspaceThemeArgs>;
/**
* The title of the workspace
*/
title?: pulumi.Input<string>;
/**
* The visibility of the workspace. Will always be set to ASSIGNED oninitial creation.
*/
visibility?: pulumi.Input<enums.connect.WorkspaceVisibility>;
}