interface FieldProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnTaskTemplate.FieldProperty |
Java | software.amazon.awscdk.services.connect.CfnTaskTemplate.FieldProperty |
Python | aws_cdk.aws_connect.CfnTaskTemplate.FieldProperty |
TypeScript | @aws-cdk/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 * as connect from '@aws-cdk/aws-connect';
const fieldProperty: connect.CfnTaskTemplate.FieldProperty = {
id: {
name: 'name',
},
type: 'type',
// the properties below are optional
description: 'description',
singleSelectOptions: ['singleSelectOptions'],
};
Properties
| Name | Type | Description |
|---|---|---|
| id | IResolvable | Field | The unique identifier for the field. |
| type | string | Indicates the type of field. |
| description? | string | The description of the field. |
| single | string[] | A list of options for a single select field. |
id
Type:
IResolvable | Field
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.

.NET
Java
Python
TypeScript