# FormButtonProperty

The `FormButton` property specifies the configuration for a button UI element that is a part of a form.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 formButtonProperty: amplifyuibuilder.CfnForm.FormButtonProperty = {
  children: 'children',
  excluded: false,
  position: {
    below: 'below',
    fixed: 'fixed',
    rightOf: 'rightOf',
  },
};
```

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_amplifyuibuilder as amplifyuibuilder

form_button_property = amplifyuibuilder.CfnForm.FormButtonProperty(
    children="children",
    excluded=False,
    position=amplifyuibuilder.CfnForm.FieldPositionProperty(
        below="below",
        fixed="fixed",
        right_of="rightOf"
    )
)
```

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.amplifyuibuilder.*;

FormButtonProperty formButtonProperty = FormButtonProperty.builder()
        .children("children")
        .excluded(false)
        .position(FieldPositionProperty.builder()
                .below("below")
                .fixed("fixed")
                .rightOf("rightOf")
                .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.AmplifyUIBuilder;

var formButtonProperty = new FormButtonProperty {
    Children = "children",
    Excluded = false,
    Position = new FieldPositionProperty {
        Below = "below",
        Fixed = "fixed",
        RightOf = "rightOf"
    }
};
```

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"

formButtonProperty := &FormButtonProperty{
	Children: jsii.String("children"),
	Excluded: jsii.Boolean(false),
	Position: &FieldPositionProperty{
		Below: jsii.String("below"),
		Fixed: jsii.String("fixed"),
		RightOf: jsii.String("rightOf"),
	},
}
```

## Properties

- `children`: string — Describes the button's properties.

- `excluded`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether the button is visible on the form.

- `position`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnForm.FieldPositionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_amplifyuibuilder.CfnForm.FieldPositionProperty.html) — The position of the button.
