# FieldProperty

Describes a single task template field.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `description`: string — The description of the field.

- `id`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTaskTemplate.FieldIdentifierProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnTaskTemplate.FieldIdentifierProperty.html) (required) — The unique identifier for the field.

- `singleSelectOptions`: string[] — A list of options for a single select field.

- `type`: string (required) — 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`
