interface FormCTAProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnForm.FormCTAProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_FormCTAProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormCTAProperty |
Python | aws_cdk.aws_amplifyuibuilder.CfnForm.FormCTAProperty |
TypeScript | aws-cdk-lib » aws_amplifyuibuilder » CfnForm » FormCTAProperty |
The FormCTA
property specifies the call to action button configuration for the form.
Example
// 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 formCTAProperty: amplifyuibuilder.CfnForm.FormCTAProperty = {
cancel: {
children: 'children',
excluded: false,
position: {
below: 'below',
fixed: 'fixed',
rightOf: 'rightOf',
},
},
clear: {
children: 'children',
excluded: false,
position: {
below: 'below',
fixed: 'fixed',
rightOf: 'rightOf',
},
},
position: 'position',
submit: {
children: 'children',
excluded: false,
position: {
below: 'below',
fixed: 'fixed',
rightOf: 'rightOf',
},
},
};
Properties
Name | Type | Description |
---|---|---|
cancel? | IResolvable | Form | Displays a cancel button. |
clear? | IResolvable | Form | Displays a clear button. |
position? | string | The position of the button. |
submit? | IResolvable | Form | Displays a submit button. |
cancel?
Type:
IResolvable
|
Form
(optional)
Displays a cancel button.
clear?
Type:
IResolvable
|
Form
(optional)
Displays a clear button.
position?
Type:
string
(optional)
The position of the button.
submit?
Type:
IResolvable
|
Form
(optional)
Displays a submit button.