Skip to content
v2.277.0

FieldPositionProperty Struct ​

The FieldPosition property specifies the field position.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
const fieldPositionProperty: amplifyuibuilder.CfnForm.FieldPositionProperty = {
  below: 'below',
  fixed: 'fixed',
  rightOf: 'rightOf',
};
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_amplifyuibuilder as amplifyuibuilder

field_position_property = amplifyuibuilder.CfnForm.FieldPositionProperty(
    below="below",
    fixed="fixed",
    right_of="rightOf"
)
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.amplifyuibuilder.*;

FieldPositionProperty fieldPositionProperty = FieldPositionProperty.builder()
        .below("below")
        .fixed("fixed")
        .rightOf("rightOf")
        .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.AmplifyUIBuilder;

var fieldPositionProperty = new FieldPositionProperty {
    Below = "below",
    Fixed = "fixed",
    RightOf = "rightOf"
};
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"

fieldPositionProperty := &FieldPositionProperty{
	Below: jsii.String("below"),
	Fixed: jsii.String("fixed"),
	RightOf: jsii.String("rightOf"),
}

Properties ​

belowoptionalstringbelowoptionalstrbelowoptionalStringBelowoptionalstringBelowoptional*string#
The field position is below the field specified by the string.
fixedoptionalstringfixedoptionalstrfixedoptionalStringFixedoptionalstringFixedoptional*string#
The field position is fixed and doesn't change in relation to other fields.
rightOfoptionalstringright_ofoptionalstrrightOfoptionalStringRightOfoptionalstringRightOfoptional*string#
The field position is to the right of the field specified by the string.