# FieldAttributesProperty

Union of field attributes.

- 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 fieldAttributesProperty: cases.CfnField.FieldAttributesProperty = {
  text: {
    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

field_attributes_property = cases.CfnField.FieldAttributesProperty(
    text=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.*;

FieldAttributesProperty fieldAttributesProperty = FieldAttributesProperty.builder()
        .text(TextAttributesProperty.builder()
                .isMultiline(false)
                .build())
        .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 fieldAttributesProperty = new FieldAttributesProperty {
    Text = 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"

fieldAttributesProperty := &FieldAttributesProperty{
	Text: &TextAttributesProperty{
		IsMultiline: jsii.Boolean(false),
	},
}
```

## Properties

- `text`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnField.TextAttributesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cases.CfnField.TextAttributesProperty.html) — Field attributes for Text field type.
