# TextAttributesProperty

Field attributes for Text field type.

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```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 textAttributesProperty: cases.CfnField.TextAttributesProperty = {
  isMultiline: false,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cases as cases

text_attributes_property = cases.CfnField.TextAttributesProperty(
    is_multiline=False
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cases.*;

TextAttributesProperty textAttributesProperty = TextAttributesProperty.builder()
        .isMultiline(false)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cases;

var textAttributesProperty = new TextAttributesProperty {
    IsMultiline = false
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

textAttributesProperty := &TextAttributesProperty{
	IsMultiline: jsii.Boolean(false),
}
```

## Properties

- `isMultiline`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Attribute that defines rendering component and validation.
