interface FormStyleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AmplifyUIBuilder.CfnForm.FormStyleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnForm_FormStyleProperty |
Java | software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormStyleProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| horizontal | IResolvable | Form | The spacing for the horizontal gap. |
| outer | IResolvable | Form | The size of the outer padding for the form. |
| vertical | IResolvable | Form | The spacing for the vertical gap. |
horizontalGap?
Type:
IResolvable | Form
(optional)
The spacing for the horizontal gap.
outerPadding?
Type:
IResolvable | Form
(optional)
The size of the outer padding for the form.
verticalGap?
Type:
IResolvable | Form
(optional)
The spacing for the vertical gap.

.NET
Go
Java
Python
TypeScript