Class NumberAttributeConstraints
Constraints that can be applied to a custom attribute of number type.
Inheritance
System.Object
NumberAttributeConstraints
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class NumberAttributeConstraints : Object, INumberAttributeConstraints
Syntax (vb)
Public Class NumberAttributeConstraints
Inherits Object
Implements INumberAttributeConstraints
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var numberAttributeConstraints = new NumberAttributeConstraints {
Max = 123,
Min = 123
};
Synopsis
Constructors
NumberAttributeConstraints() |
Properties
Max | Maximum value of this attribute. |
Min | Minimum value of this attribute. |
Constructors
NumberAttributeConstraints()
public NumberAttributeConstraints()
Properties
Max
Maximum value of this attribute.
public Nullable<double> Max { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - no maximum value
Min
Minimum value of this attribute.
public Nullable<double> Min { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - no minimum value