AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Connect::TaskTemplate

CfnTaskTemplate

Specifies a task template for a Amazon Connect instance.

Import

import { CfnTaskTemplate } from 'aws-cdk-lib/aws-connect';

Or use the module namespace:

import * as connect from 'aws-cdk-lib/aws-connect';
// connect.CfnTaskTemplate

Properties

Configuration passed to the constructor as CfnTaskTemplateProps.

instanceArnRequired
string

The Amazon Resource Name (ARN) of the Amazon Connect instance.

clientTokenOptional
string

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

constraintsOptional
any

Constraints that are applicable to the fields listed. The values can be represented in either JSON or YAML format. For an example of the JSON configuration, see *Examples* at the bottom of this page.

contactFlowArnOptional
string

The Amazon Resource Name (ARN) of the flow that runs by default when a task is created by referencing this template. `ContactFlowArn` is not required when there is a field with `fieldType` = `QUICK_CONNECT` .

defaultsOptional
IResolvable | IResolvable | DefaultFieldValueProperty[]

The default values for fields when a task is created by referencing this template.

descriptionOptional
string

The description of the task template.

fieldsOptional
IResolvable | IResolvable | FieldProperty[]

Fields that are part of the template. A template requires at least one field that has type `Name` .

nameOptional
string

The name of the task template.

selfAssignContactFlowArnOptional
string

The Amazon Resource Name (ARN) of the flow.

statusOptional
string

The status of the task template.

tagsOptional
CfnTag[]

The tags used to organize, track, or control access for this resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter