# CfnFieldProps

Properties for defining a `CfnField`.

Extends: CfnFieldProps
Used as props by: CfnField

- Source: Generated code
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cases as cases } from 'aws-cdk-lib';
const cfnFieldProps: cases.CfnFieldProps = {
  name: 'name',
  type: 'type',

  // the properties below are optional
  attributes: {
    text: {
      isMultiline: false,
    },
  },
  description: 'description',
  domainId: 'domainId',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `attributes`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnField.FieldAttributesProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnField.FieldAttributesProperty.html) — Union of field attributes.

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

- `domainId`: string — The unique identifier of the Cases domain.

- `name`: string (required) — Name of the field.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

- `type`: string (required) — Type of the field.
