Skip to content
v2.277.0

TextAttributesProperty Struct ​

Field attributes for Text field type.

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

isMultilineboolean | IResolvableis_multilinetyping.Union[bool, IResolvable]isMultilineBooleanIsMultilineboolIsMultilineinterface{}required#
Attribute that defines rendering component and validation.