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.
Namespace: Amazon.ServiceCatalog.Model
Assembly: AWSSDK.ServiceCatalog.dll
Version: 3.x.y.z
public class ParameterConstraints
The ParameterConstraints type exposes the following members
Name | Description | |
---|---|---|
ParameterConstraints() |
Name | Type | Description | |
---|---|---|---|
AllowedPattern | System.String |
Gets and sets the property AllowedPattern.
A regular expression that represents the patterns that allow for |
|
AllowedValues | System.Collections.Generic.List<System.String> |
Gets and sets the property AllowedValues. The values that the administrator has allowed for the parameter. |
|
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
By adding a constraint description, such as must only contain letters (uppercase and lowercase) and numbers, you can display the following customized error message:
|
|
MaxLength | System.String |
Gets and sets the property MaxLength.
An integer value that determines the largest number of characters you want to allow
for |
|
MaxValue | System.String |
Gets and sets the property MaxValue.
A numeric value that determines the largest numeric value you want to allow for |
|
MinLength | System.String |
Gets and sets the property MinLength.
An integer value that determines the smallest number of characters you want to allow
for |
|
MinValue | System.String |
Gets and sets the property MinValue.
A numeric value that determines the smallest numeric value you want to allow for |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5