@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)
129 lines (128 loc) • 4.56 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::TaskTemplate.
*/
export declare class TaskTemplate extends pulumi.CustomResource {
/**
* Get an existing TaskTemplate 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): TaskTemplate;
/**
* Returns true if the given object is an instance of TaskTemplate. 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 TaskTemplate;
/**
* The identifier (arn) of the task template.
*/
readonly arn: pulumi.Output<string>;
/**
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*/
readonly clientToken: pulumi.Output<string | undefined>;
/**
* The constraints for the task template
*/
readonly constraints: pulumi.Output<outputs.connect.ConstraintsProperties | undefined>;
/**
* The identifier of the contact flow.
*/
readonly contactFlowArn: pulumi.Output<string | undefined>;
/**
* The default values for fields when a task is created by referencing this template.
*/
readonly defaults: pulumi.Output<outputs.connect.TaskTemplateDefaultFieldValue[] | undefined>;
/**
* The description of the task template.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The list of task template's fields
*/
readonly fields: pulumi.Output<outputs.connect.TaskTemplateField[] | undefined>;
/**
* The identifier (arn) of the instance.
*/
readonly instanceArn: pulumi.Output<string>;
/**
* The name of the task template.
*/
readonly name: pulumi.Output<string | undefined>;
/**
* The identifier of the contact flow.
*/
readonly selfAssignContactFlowArn: pulumi.Output<string | undefined>;
/**
* The status of the task template.
*/
readonly status: pulumi.Output<enums.connect.TaskTemplateStatus | undefined>;
/**
* One or more tags.
*/
readonly tags: pulumi.Output<outputs.Tag[] | undefined>;
/**
* Create a TaskTemplate 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: TaskTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TaskTemplate resource.
*/
export interface TaskTemplateArgs {
/**
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
*/
clientToken?: pulumi.Input<string>;
/**
* The constraints for the task template
*/
constraints?: pulumi.Input<inputs.connect.ConstraintsPropertiesArgs>;
/**
* The identifier of the contact flow.
*/
contactFlowArn?: pulumi.Input<string>;
/**
* The default values for fields when a task is created by referencing this template.
*/
defaults?: pulumi.Input<pulumi.Input<inputs.connect.TaskTemplateDefaultFieldValueArgs>[]>;
/**
* The description of the task template.
*/
description?: pulumi.Input<string>;
/**
* The list of task template's fields
*/
fields?: pulumi.Input<pulumi.Input<inputs.connect.TaskTemplateFieldArgs>[]>;
/**
* The identifier (arn) of the instance.
*/
instanceArn: pulumi.Input<string>;
/**
* The name of the task template.
*/
name?: pulumi.Input<string>;
/**
* The identifier of the contact flow.
*/
selfAssignContactFlowArn?: pulumi.Input<string>;
/**
* The status of the task template.
*/
status?: pulumi.Input<enums.connect.TaskTemplateStatus>;
/**
* One or more tags.
*/
tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>;
}