AWS SDK Version 3 for .NET
API Reference

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 enumeration validation for attribute values. Allows specifying a list of permitted values and whether custom values beyond the enumerated list are allowed.

Inheritance Hierarchy

System.Object
  Amazon.Connect.Model.ValidationEnum

Namespace: Amazon.Connect.Model
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z

Syntax

C#
public class ValidationEnum

The ValidationEnum type exposes the following members

Constructors

NameDescription
Public Method ValidationEnum()

Properties

NameTypeDescription
Public Property Strict System.Boolean

Gets and sets the property Strict.

Boolean that defaults to false. When true, only values specified in the enum list are allowed. When false, custom values beyond the enumerated list are permitted.

Public Property Values System.Collections.Generic.List<System.String>

Gets and sets the property Values.

A list of predefined values that are allowed for this attribute. These values are always permitted regardless of the Strict setting.

Version Information

.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