aws-cdk-lib.aws_amplifyuibuilder.CfnForm.FormStyleProperty

interface FormStyleProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnForm.FormStyleProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_FormStyleProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormStyleProperty
Pythonaws_cdk.aws_amplifyuibuilder.CfnForm.FormStyleProperty
TypeScript aws-cdk-lib » aws_amplifyuibuilder » CfnForm » FormStyleProperty

The FormStyle property specifies the configuration for the form's style.

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 formStyleProperty: amplifyuibuilder.CfnForm.FormStyleProperty = {
  horizontalGap: {
    tokenReference: 'tokenReference',
    value: 'value',
  },
  outerPadding: {
    tokenReference: 'tokenReference',
    value: 'value',
  },
  verticalGap: {
    tokenReference: 'tokenReference',
    value: 'value',
  },
};

Properties

NameTypeDescription
horizontalGap?IResolvable | FormStyleConfigPropertyThe spacing for the horizontal gap.
outerPadding?IResolvable | FormStyleConfigPropertyThe size of the outer padding for the form.
verticalGap?IResolvable | FormStyleConfigPropertyThe spacing for the vertical gap.

horizontalGap?

Type: IResolvable | FormStyleConfigProperty (optional)

The spacing for the horizontal gap.


outerPadding?

Type: IResolvable | FormStyleConfigProperty (optional)

The size of the outer padding for the form.


verticalGap?

Type: IResolvable | FormStyleConfigProperty (optional)

The spacing for the vertical gap.