Skip to content
v2.277.0

FieldAttributesProperty Struct ​

Union of field attributes.

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

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

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

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

Properties ​

textoptionalIResolvable | CfnField.TextAttributesPropertytextoptionaltyping.Union[IResolvable, TextAttributesProperty]textoptionalIResolvableTextoptionalIResolvableTextoptionalinterface{}#
Field attributes for Text field type.