Class UserPoolProps.Jsii$Proxy
- All Implemented Interfaces:
UserPoolProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- UserPoolProps
UserPoolProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.UserPoolProps
UserPoolProps.Builder, UserPoolProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(UserPoolProps.Builder builder) Constructor that initializes the object based on literal property values passed by theUserPoolProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final AccountRecovery
How will a user be able to recover their account?final AutoVerifiedAttrs
Attributes which Cognito will look to verify automatically upon user sign up.final Map<String,
ICustomAttribute> Define a set of custom attributes that can be configured for each user in the user pool.final IKey
This key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates.final DeviceTracking
Device tracking settings.final UserPoolEmail
getEmail()
Email settings for a user pool.final EmailSettings
(deprecated) Email settings for a user pool.final Boolean
Setting this would explicitly enable or disable SMS role creation.final UserPoolTriggers
Lambda functions to use for supported Cognito triggers.final Mfa
getMfa()
Configure whether users of this user pool can or are required use MFA to sign in.final String
The SMS message template sent during MFA verification.final MfaSecondFactor
Configure the MFA types that users can use in this user pool.final PasswordPolicy
Password policy for this user pool.final RemovalPolicy
Policy to apply when the user pool is removed from the stack.final Boolean
Whether self sign up should be enabled.final SignInAliases
Methods in which a user registers or signs in to a user pool.final Boolean
Whether sign-in aliases should be evaluated with case sensitivity.final IRole
The IAM role that Cognito will assume while sending SMS messages.final String
The 'ExternalId' that Cognito service must using when assuming thesmsRole
, if the role is restricted with an 'sts:ExternalId' conditional.final String
The region to integrate with SNS to send SMS messages.final StandardAttributes
The set of attributes that are required for every user in the user pool.final UserInvitationConfig
Configuration around admins signing up users into a user pool.final String
Name of the user pool.final UserVerificationConfig
Configuration around users signing themselves up to the user pool.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theUserPoolProps.Builder
.
-
-
Method Details
-
getAccountRecovery
Description copied from interface:UserPoolProps
How will a user be able to recover their account?Default: AccountRecovery.PHONE_WITHOUT_MFA_AND_EMAIL
- Specified by:
getAccountRecovery
in interfaceUserPoolProps
-
getAutoVerify
Description copied from interface:UserPoolProps
Attributes which Cognito will look to verify automatically upon user sign up.EMAIL and PHONE are the only available options.
Default: - If `signInAlias` includes email and/or phone, they will be included in `autoVerifiedAttributes` by default. If absent, no attributes will be auto-verified.
- Specified by:
getAutoVerify
in interfaceUserPoolProps
-
getCustomAttributes
Description copied from interface:UserPoolProps
Define a set of custom attributes that can be configured for each user in the user pool.Default: - No custom attributes.
- Specified by:
getCustomAttributes
in interfaceUserPoolProps
-
getCustomSenderKmsKey
Description copied from interface:UserPoolProps
This key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates.Default: - no key ID configured
-
getDeviceTracking
Description copied from interface:UserPoolProps
Device tracking settings.Default: - see defaults on each property of DeviceTracking.
- Specified by:
getDeviceTracking
in interfaceUserPoolProps
-
getEmail
Description copied from interface:UserPoolProps
Email settings for a user pool.Default: - cognito will use the default email configuration
- Specified by:
getEmail
in interfaceUserPoolProps
-
getEmailSettings
Description copied from interface:UserPoolProps
(deprecated) Email settings for a user pool.Default: - see defaults on each property of EmailSettings.
- Specified by:
getEmailSettings
in interfaceUserPoolProps
-
getEnableSmsRole
Description copied from interface:UserPoolProps
Setting this would explicitly enable or disable SMS role creation.When left unspecified, CDK will determine based on other properties if a role is needed or not.
Default: - CDK will determine based on other properties of the user pool if an SMS role should be created or not.
- Specified by:
getEnableSmsRole
in interfaceUserPoolProps
-
getLambdaTriggers
Description copied from interface:UserPoolProps
Lambda functions to use for supported Cognito triggers.Default: - No Lambda triggers.
-
getMfa
Description copied from interface:UserPoolProps
Configure whether users of this user pool can or are required use MFA to sign in.Default: Mfa.OFF
- Specified by:
getMfa
in interfaceUserPoolProps
-
getMfaMessage
Description copied from interface:UserPoolProps
The SMS message template sent during MFA verification.Use '{####}' in the template where Cognito should insert the verification code.
Default: 'Your authentication code is {####}.'
- Specified by:
getMfaMessage
in interfaceUserPoolProps
-
getMfaSecondFactor
Description copied from interface:UserPoolProps
Configure the MFA types that users can use in this user pool.Ignored if
mfa
is set toOFF
.Default: - { sms: true, otp: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`. { sms: false, otp: false }, otherwise
- Specified by:
getMfaSecondFactor
in interfaceUserPoolProps
-
getPasswordPolicy
Description copied from interface:UserPoolProps
Password policy for this user pool.Default: - see defaults on each property of PasswordPolicy.
- Specified by:
getPasswordPolicy
in interfaceUserPoolProps
-
getRemovalPolicy
Description copied from interface:UserPoolProps
Policy to apply when the user pool is removed from the stack.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicy
in interfaceUserPoolProps
-
getSelfSignUpEnabled
Description copied from interface:UserPoolProps
Whether self sign up should be enabled.This can be further configured via the
selfSignUp
property.Default: false
- Specified by:
getSelfSignUpEnabled
in interfaceUserPoolProps
-
getSignInAliases
Description copied from interface:UserPoolProps
Methods in which a user registers or signs in to a user pool.Allows either username with aliases OR sign in with email, phone, or both.
Read the sections on usernames and aliases to learn more - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html
To match with 'Option 1' in the above link, with a verified email, this property should be set to
{ username: true, email: true }
. To match with 'Option 2' in the above link with both a verified email and phone number, this property should be set to{ email: true, phone: true }
.Default: { username: true }
- Specified by:
getSignInAliases
in interfaceUserPoolProps
-
getSignInCaseSensitive
Description copied from interface:UserPoolProps
Whether sign-in aliases should be evaluated with case sensitivity.For example, when this option is set to false, users will be able to sign in using either
MyUsername
ormyusername
.Default: true
- Specified by:
getSignInCaseSensitive
in interfaceUserPoolProps
-
getSmsRole
Description copied from interface:UserPoolProps
The IAM role that Cognito will assume while sending SMS messages.Default: - a new IAM role is created
- Specified by:
getSmsRole
in interfaceUserPoolProps
-
getSmsRoleExternalId
Description copied from interface:UserPoolProps
The 'ExternalId' that Cognito service must using when assuming thesmsRole
, if the role is restricted with an 'sts:ExternalId' conditional.Learn more about ExternalId here - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html
This property will be ignored if
smsRole
is not specified.Default: - No external id will be configured
- Specified by:
getSmsRoleExternalId
in interfaceUserPoolProps
-
getSnsRegion
Description copied from interface:UserPoolProps
The region to integrate with SNS to send SMS messages.This property will do nothing if SMS configuration is not configured
Default: - The same region as the user pool, with a few exceptions - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html#user-pool-sms-settings-first-time
- Specified by:
getSnsRegion
in interfaceUserPoolProps
-
getStandardAttributes
Description copied from interface:UserPoolProps
The set of attributes that are required for every user in the user pool.Read more on attributes here - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html
Default: - All standard attributes are optional and mutable.
- Specified by:
getStandardAttributes
in interfaceUserPoolProps
-
getUserInvitation
Description copied from interface:UserPoolProps
Configuration around admins signing up users into a user pool.Default: - see defaults in UserInvitationConfig
- Specified by:
getUserInvitation
in interfaceUserPoolProps
-
getUserPoolName
Description copied from interface:UserPoolProps
Name of the user pool.Default: - automatically generated name by CloudFormation at deploy time
- Specified by:
getUserPoolName
in interfaceUserPoolProps
-
getUserVerification
Description copied from interface:UserPoolProps
Configuration around users signing themselves up to the user pool.Enable or disable self sign-up via the
selfSignUpEnabled
property.Default: - see defaults in UserVerificationConfig
- Specified by:
getUserVerification
in interfaceUserPoolProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-