Table of Contents

Class NumberAttributeConstraints

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

Constraints that can be applied to a custom attribute of number type.

public class NumberAttributeConstraints : INumberAttributeConstraints
Inheritance
NumberAttributeConstraints
Implements
Inherited Members

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

Constructors

NumberAttributeConstraints()

public NumberAttributeConstraints()

Properties

Max

Maximum value of this attribute.

public double? Max { get; set; }

Property Value

double?

Remarks

Default: - no maximum value

Min

Minimum value of this attribute.

public double? Min { get; set; }

Property Value

double?

Remarks

Default: - no minimum value