Skip to content
v2.273.0

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 ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The description of the field.
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.
typestringtypestrtypeStringTypestringType*stringrequired#
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