aws-cdk-lib.aws_amplifyuibuilder.CfnForm.FormCTAProperty

interface FormCTAProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnForm.FormCTAProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_FormCTAProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormCTAProperty
Pythonaws_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

NameTypeDescription
cancel?IResolvable | FormButtonPropertyDisplays a cancel button.
clear?IResolvable | FormButtonPropertyDisplays a clear button.
position?stringThe position of the button.
submit?IResolvable | FormButtonPropertyDisplays a submit button.

cancel?

Type: IResolvable | FormButtonProperty (optional)

Displays a cancel button.


clear?

Type: IResolvable | FormButtonProperty (optional)

Displays a clear button.


position?

Type: string (optional)

The position of the button.


submit?

Type: IResolvable | FormButtonProperty (optional)

Displays a submit button.