AWS::AmplifyUIBuilder::Form FieldValidationConfiguration - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::AmplifyUIBuilder::Form FieldValidationConfiguration

The FieldValidationConfiguration property specifies the validation configuration for a field.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "NumValues" : [ Number, ... ], "StrValues" : [ String, ... ], "Type" : String, "ValidationMessage" : String }

YAML

NumValues: - Number StrValues: - String Type: String ValidationMessage: String

Properties

NumValues

The validation to perform on a number value.

Required: No

Type: Array of Number

Update requires: No interruption

StrValues

The validation to perform on a string value.

Required: No

Type: Array of String

Update requires: No interruption

Type

The validation to perform on an object type.

Required: Yes

Type: String

Update requires: No interruption

ValidationMessage

The validation message to display.

Required: No

Type: String

Update requires: No interruption