Skip to content
v2.275.0

FormCTAProperty Struct ​

The FormCTA property specifies the call to action button configuration for the form.

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 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 ​

canceloptionalIResolvable | CfnForm.FormButtonPropertycanceloptionaltyping.Union[IResolvable, FormButtonProperty]canceloptionalIResolvableCanceloptionalIResolvableCanceloptionalinterface{}#
Displays a cancel button.
clearoptionalIResolvable | CfnForm.FormButtonPropertyclearoptionaltyping.Union[IResolvable, FormButtonProperty]clearoptionalIResolvableClearoptionalIResolvableClearoptionalinterface{}#
Displays a clear button.
positionoptionalstringpositionoptionalstrpositionoptionalStringPositionoptionalstringPositionoptional*string#
The position of the button.
submitoptionalIResolvable | CfnForm.FormButtonPropertysubmitoptionaltyping.Union[IResolvable, FormButtonProperty]submitoptionalIResolvableSubmitoptionalIResolvableSubmitoptionalinterface{}#
Displays a submit button.