Interface CfnFormMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFormMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:55.408Z")
@Stability(Stable)
public interface CfnFormMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnFormPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.*;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
CfnFormMixinProps cfnFormMixinProps = CfnFormMixinProps.builder()
.appId("appId")
.cta(FormCTAProperty.builder()
.cancel(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.clear(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.position("position")
.submit(FormButtonProperty.builder()
.children("children")
.excluded(false)
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.build())
.build())
.dataType(FormDataTypeConfigProperty.builder()
.dataSourceType("dataSourceType")
.dataTypeName("dataTypeName")
.build())
.environmentName("environmentName")
.fields(Map.of(
"fieldsKey", FieldConfigProperty.builder()
.excluded(false)
.inputType(FieldInputConfigProperty.builder()
.defaultChecked(false)
.defaultCountryCode("defaultCountryCode")
.defaultValue("defaultValue")
.descriptiveText("descriptiveText")
.fileUploaderConfig(FileUploaderFieldConfigProperty.builder()
.acceptedFileTypes(List.of("acceptedFileTypes"))
.accessLevel("accessLevel")
.isResumable(false)
.maxFileCount(123)
.maxSize(123)
.showThumbnails(false)
.build())
.isArray(false)
.maxValue(123)
.minValue(123)
.name("name")
.placeholder("placeholder")
.readOnly(false)
.required(false)
.step(123)
.type("type")
.value("value")
.valueMappings(ValueMappingsProperty.builder()
.bindingProperties(Map.of(
"bindingPropertiesKey", FormInputBindingPropertiesValueProperty.builder()
.bindingProperties(FormInputBindingPropertiesValuePropertiesProperty.builder()
.model("model")
.build())
.type("type")
.build()))
.values(List.of(ValueMappingProperty.builder()
.displayValue(FormInputValuePropertyProperty.builder()
.bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder()
.field("field")
.property("property")
.build())
.concat(List.of(formInputValuePropertyProperty_))
.value("value")
.build())
.value(FormInputValuePropertyProperty.builder()
.bindingProperties(FormInputValuePropertyBindingPropertiesProperty.builder()
.field("field")
.property("property")
.build())
.concat(List.of(formInputValuePropertyProperty_))
.value("value")
.build())
.build()))
.build())
.build())
.label("label")
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.validations(List.of(FieldValidationConfigurationProperty.builder()
.numValues(List.of(123))
.strValues(List.of("strValues"))
.type("type")
.validationMessage("validationMessage")
.build()))
.build()))
.formActionType("formActionType")
.labelDecorator("labelDecorator")
.name("name")
.schemaVersion("schemaVersion")
.sectionalElements(Map.of(
"sectionalElementsKey", SectionalElementProperty.builder()
.excluded(false)
.level(123)
.orientation("orientation")
.position(FieldPositionProperty.builder()
.below("below")
.fixed("fixed")
.rightOf("rightOf")
.build())
.text("text")
.type("type")
.build()))
.style(FormStyleProperty.builder()
.horizontalGap(FormStyleConfigProperty.builder()
.tokenReference("tokenReference")
.value("value")
.build())
.outerPadding(FormStyleConfigProperty.builder()
.tokenReference("tokenReference")
.value("value")
.build())
.verticalGap(FormStyleConfigProperty.builder()
.tokenReference("tokenReference")
.value("value")
.build())
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFormMixinPropsstatic final classAn implementation forCfnFormMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFormMixinProps.Builderbuilder()default StringgetAppId()The unique ID of the Amplify app associated with the form.default ObjectgetCta()TheFormCTAobject that stores the call to action configuration for the form.default ObjectThe type of data source to use to create the form.default StringThe name of the backend environment that is a part of the Amplify app.default ObjectThe configuration information for the form's fields.default StringSpecifies whether to perform a create or update action on the form.default StringSpecifies an icon or decoration to display on the form.default StringgetName()The name of the form.default StringThe schema version of the form.default ObjectThe configuration information for the visual helper elements for the form.default ObjectgetStyle()The configuration for the form's style.getTags()One or more key-value pairs to use when tagging the form data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppId
The unique ID of the Amplify app associated with the form.- See Also:
-
getCta
TheFormCTAobject that stores the call to action configuration for the form.Returns union: either
IResolvableorCfnFormPropsMixin.FormCTAProperty- See Also:
-
getDataType
The type of data source to use to create the form.Returns union: either
IResolvableorCfnFormPropsMixin.FormDataTypeConfigProperty- See Also:
-
getEnvironmentName
The name of the backend environment that is a part of the Amplify app.- See Also:
-
getFields
The configuration information for the form's fields.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnFormPropsMixin.FieldConfigProperty>- See Also:
-
getFormActionType
Specifies whether to perform a create or update action on the form.- See Also:
-
getLabelDecorator
Specifies an icon or decoration to display on the form.- See Also:
-
getName
The name of the form.- See Also:
-
getSchemaVersion
The schema version of the form.- See Also:
-
getSectionalElements
The configuration information for the visual helper elements for the form.These elements are not associated with any data.
Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnFormPropsMixin.SectionalElementProperty>- See Also:
-
getStyle
The configuration for the form's style.Returns union: either
IResolvableorCfnFormPropsMixin.FormStyleProperty- See Also:
-
getTags
One or more key-value pairs to use when tagging the form data.- See Also:
-
builder
- Returns:
- a
CfnFormMixinProps.BuilderofCfnFormMixinProps
-