FieldProperty Struct
Describes a single task template field.
Example
ts
// 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
The description of the field.
idIResolvable | CfnTaskTemplate.FieldIdentifierPropertyidtyping.Union[IResolvable, FieldIdentifierProperty]idIResolvableIdIResolvableIdinterface{}required#The unique identifier for the field.
singleSelectOptionsstring[]single_select_optionstyping.List[str]singleSelectOptionsList<String>SingleSelectOptionsstring[]SingleSelectOptions*[]*string#A list of options for a single select field.
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