AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Defines validation rules for data table attribute values. Based on JSON Schema Draft 2020-12 with additional Connect-specific validations. Validation rules ensure data integrity and consistency across the data table.
Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z
public class Validation
The Validation type exposes the following members
| Name | Description | |
|---|---|---|
|
Validation() |
| Name | Type | Description | |
|---|---|---|---|
|
Enum | Amazon.Connect.Model.ValidationEnum |
Gets and sets the property Enum. Defines enumeration constraints for attribute values. Can specify a list of allowed values and whether custom values are permitted beyond the enumerated list. |
|
ExclusiveMaximum | System.Double |
Gets and sets the property ExclusiveMaximum. The largest exclusive numeric value for NUMBER value type. Can be provided alongside Maximum where both operate independently. Must be greater than ExclusiveMinimum and Minimum. Applies to NUMBER and values within NUMBER_LIST. |
|
ExclusiveMinimum | System.Double |
Gets and sets the property ExclusiveMinimum. The smallest exclusive numeric value for NUMBER value type. Can be provided alongside Minimum where both operate independently. Must be less than ExclusiveMaximum and Maximum. Applies to NUMBER and values within NUMBER_LIST. |
|
IgnoreCase | System.Boolean |
Gets and sets the property IgnoreCase. Boolean that defaults to false. Applies to text lists and text primary attributes. When true, enforces case-insensitive uniqueness for primary attributes and allows case-insensitive lookups. |
|
Maximum | System.Double |
Gets and sets the property Maximum. The largest inclusive numeric value for NUMBER value type. Can be provided alongside ExclusiveMaximum where both operate independently. Must be greater than or equal to Minimum and greater than ExclusiveMinimum. Applies to NUMBER and values within NUMBER_LIST. |
|
MaxLength | System.Int32 |
Gets and sets the property MaxLength. The maximum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be greater than or equal to MinLength. |
|
MaxValues | System.Int32 |
Gets and sets the property MaxValues. The maximum number of values in a list. Must be an integer greater than or equal to 0 and greater than or equal to MinValues. Applies to all list types. |
|
Minimum | System.Double |
Gets and sets the property Minimum. The smallest inclusive numeric value for NUMBER value type. Cannot be provided when ExclusiveMinimum is also provided. Must be less than or equal to Maximum and less than ExclusiveMaximum. Applies to NUMBER and values within NUMBER_LIST. |
|
MinLength | System.Int32 |
Gets and sets the property MinLength. The minimum number of characters a text value can contain. Applies to TEXT value type and values within a TEXT_LIST. Must be less than or equal to MaxLength. |
|
MinValues | System.Int32 |
Gets and sets the property MinValues. The minimum number of values in a list. Must be an integer greater than or equal to 0 and less than or equal to MaxValues. Applies to all list types. |
|
MultipleOf | System.Double |
Gets and sets the property MultipleOf. Specifies that numeric values must be multiples of this number. Must be greater than 0. The result of dividing a value by this multiple must result in an integer. Applies to NUMBER and values within NUMBER_LIST. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5