Show / Hide Table of Contents

Class CfnUserPool.SignInPolicyProperty

The policy for allowed types of authentication in a user pool.

Inheritance
object
CfnUserPool.SignInPolicyProperty
Implements
CfnUserPool.ISignInPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserPool.SignInPolicyProperty : CfnUserPool.ISignInPolicyProperty
Syntax (vb)
Public Class CfnUserPool.SignInPolicyProperty Implements CfnUserPool.ISignInPolicyProperty
Remarks

To activate this setting, your user pool must be in the Essentials tier or higher.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-signinpolicy.html

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 signInPolicyProperty = new SignInPolicyProperty {
                 AllowedFirstAuthFactors = new [] { "allowedFirstAuthFactors" }
             };

Synopsis

Constructors

SignInPolicyProperty()

The policy for allowed types of authentication in a user pool.

Properties

AllowedFirstAuthFactors

The sign-in methods that a user pool supports as the first factor.

Constructors

SignInPolicyProperty()

The policy for allowed types of authentication in a user pool.

public SignInPolicyProperty()
Remarks

To activate this setting, your user pool must be in the Essentials tier or higher.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-signinpolicy.html

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 signInPolicyProperty = new SignInPolicyProperty {
                 AllowedFirstAuthFactors = new [] { "allowedFirstAuthFactors" }
             };

Properties

AllowedFirstAuthFactors

The sign-in methods that a user pool supports as the first factor.

public string[]? AllowedFirstAuthFactors { get; set; }
Property Value

string[]

Remarks

You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

Supports values of EMAIL_OTP , SMS_OTP , WEB_AUTHN and PASSWORD ,

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-signinpolicy.html#cfn-cognito-userpool-signinpolicy-allowedfirstauthfactors

Implements

CfnUserPool.ISignInPolicyProperty
Back to top Generated by DocFX