interface FieldValidationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder.CfnFormPropsMixin.FieldValidationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsamplifyuibuilder#CfnFormPropsMixin_FieldValidationConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.FieldValidationConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_amplifyuibuilder.CfnFormPropsMixin.FieldValidationConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_amplifyuibuilder » 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 { aws_amplifyuibuilder as amplifyuibuilder } from '@aws-cdk/cfn-property-mixins';
const fieldValidationConfigurationProperty: amplifyuibuilder.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