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.

The constraints that the administrator has put on the parameter.

Inheritance Hierarchy

System.Object
  Amazon.ServiceCatalog.Model.ParameterConstraints

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

Syntax

C#
public class ParameterConstraints

The ParameterConstraints type exposes the following members

Constructors

NameDescription
Public Method ParameterConstraints()

Properties

NameTypeDescription
Public Property AllowedPattern System.String

Gets and sets the property AllowedPattern.

A regular expression that represents the patterns that allow for String types. The pattern must match the entire parameter value provided.

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

Gets and sets the property AllowedValues.

The values that the administrator has allowed for the parameter.

Public Property ConstraintDescription System.String

Gets and sets the property ConstraintDescription.

A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of [A-Za-z0-9]+ displays the following error message when the user specifies an invalid value:

Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+

By adding a constraint description, such as must only contain letters (uppercase and lowercase) and numbers, you can display the following customized error message:

Malformed input-Parameter MyParameter must only contain uppercase and lowercase letters and numbers.

Public Property MaxLength System.String

Gets and sets the property MaxLength.

An integer value that determines the largest number of characters you want to allow for String types.

Public Property MaxValue System.String

Gets and sets the property MaxValue.

A numeric value that determines the largest numeric value you want to allow for Number types.

Public Property MinLength System.String

Gets and sets the property MinLength.

An integer value that determines the smallest number of characters you want to allow for String types.

Public Property MinValue System.String

Gets and sets the property MinValue.

A numeric value that determines the smallest numeric value you want to allow for Number types.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5