Interface INumberAttributeConstraints
Constraints that can be applied to a custom attribute of number type.
public interface INumberAttributeConstraints
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
};
Remarks
ExampleMetadata: fixture=_generated
Properties
Max
Maximum value of this attribute.
double? Max { get; }
Property Value
Remarks
Default: - no maximum value
Min
Minimum value of this attribute.
double? Min { get; }
Property Value
Remarks
Default: - no minimum value