aws-cdk-lib.aws_connect.CfnTaskTemplate.FieldProperty

interface FieldProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnTaskTemplate.FieldProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnTaskTemplate_FieldProperty
Javasoftware.amazon.awscdk.services.connect.CfnTaskTemplate.FieldProperty
Pythonaws_cdk.aws_connect.CfnTaskTemplate.FieldProperty
TypeScript aws-cdk-lib » aws_connect » CfnTaskTemplate » FieldProperty

Describes a single task template field.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const fieldProperty: connect.CfnTaskTemplate.FieldProperty = {
  id: {
    name: 'name',
  },
  type: 'type',

  // the properties below are optional
  description: 'description',
  singleSelectOptions: ['singleSelectOptions'],
};

Properties

NameTypeDescription
idIResolvable | FieldIdentifierPropertyThe unique identifier for the field.
typestringIndicates the type of field.
description?stringThe description of the field.
singleSelectOptions?string[]A list of options for a single select field.

id

Type: IResolvable | FieldIdentifierProperty

The unique identifier for the field.


type

Type: string

Indicates the type of field.

Following are the valid field types: NAME DESCRIPTION | SCHEDULED_TIME | QUICK_CONNECT | URL | NUMBER | TEXT | TEXT_AREA | DATE_TIME | BOOLEAN | SINGLE_SELECT | EMAIL


description?

Type: string (optional)

The description of the field.


singleSelectOptions?

Type: string[] (optional)

A list of options for a single select field.