interface FieldValidationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AmplifyUIBuilder.Mixins.CfnFormPropsMixin.FieldValidationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsamplifyuibuilder/mixins#CfnFormPropsMixin_FieldValidationConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.amplifyuibuilder.mixins.CfnFormPropsMixin.FieldValidationConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_amplifyuibuilder.mixins.CfnFormPropsMixin.FieldValidationConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_amplifyuibuilder » mixins » CfnFormPropsMixin » FieldValidationConfigurationProperty |
The FieldValidationConfiguration property specifies the validation configuration for a field.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as amplifyuibuilder_mixins } from '@aws-cdk/mixins-preview/aws-amplifyuibuilder';
const fieldValidationConfigurationProperty: amplifyuibuilder_mixins.CfnFormPropsMixin.FieldValidationConfigurationProperty = {
numValues: [123],
strValues: ['strValues'],
type: 'type',
validationMessage: 'validationMessage',
};
Properties
| Name | Type | Description |
|---|---|---|
| num | number[] | IResolvable | The validation to perform on a number value. |
| str | string[] | The validation to perform on a string value. |
| type? | string | The validation to perform on an object type. |
| validation | string | The validation message to display. |
numValues?
Type:
number[] | IResolvable
(optional)
The validation to perform on a number value.
strValues?
Type:
string[]
(optional)
The validation to perform on a string value.
type?
Type:
string
(optional)
The validation to perform on an object type.
``
validationMessage?
Type:
string
(optional)
The validation message to display.

.NET
Go
Java
Python
TypeScript