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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.UserPoolProps
UserPoolProps.Builder, UserPoolProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(UserPoolProps.Builder builder) Constructor that initializes the object based on literal property values passed by theUserPoolProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal AccountRecoveryHow will a user be able to recover their account?final AutoVerifiedAttrsAttributes 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 IKeyThis key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates.final DeviceTrackingDevice tracking settings.final UserPoolEmailgetEmail()Email settings for a user pool.final EmailSettings(deprecated) Email settings for a user pool.final BooleanSetting this would explicitly enable or disable SMS role creation.final UserPoolTriggersLambda functions to use for supported Cognito triggers.final MfagetMfa()Configure whether users of this user pool can or are required use MFA to sign in.final StringThe SMS message template sent during MFA verification.final MfaSecondFactorConfigure the MFA types that users can use in this user pool.final PasswordPolicyPassword policy for this user pool.final RemovalPolicyPolicy to apply when the user pool is removed from the stack.final BooleanWhether self sign up should be enabled.final SignInAliasesMethods in which a user registers or signs in to a user pool.final BooleanWhether sign-in aliases should be evaluated with case sensitivity.final IRoleThe IAM role that Cognito will assume while sending SMS messages.final StringThe 'ExternalId' that Cognito service must using when assuming thesmsRole, if the role is restricted with an 'sts:ExternalId' conditional.final StringThe region to integrate with SNS to send SMS messages.final StandardAttributesThe set of attributes that are required for every user in the user pool.final UserInvitationConfigConfiguration around admins signing up users into a user pool.final StringName of the user pool.final UserVerificationConfigConfiguration around users signing themselves up to the user pool.final inthashCode()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:UserPoolPropsHow will a user be able to recover their account?Default: AccountRecovery.PHONE_WITHOUT_MFA_AND_EMAIL
- Specified by:
getAccountRecoveryin interfaceUserPoolProps
-
getAutoVerify
Description copied from interface:UserPoolPropsAttributes 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:
getAutoVerifyin interfaceUserPoolProps
-
getCustomAttributes
Description copied from interface:UserPoolPropsDefine a set of custom attributes that can be configured for each user in the user pool.Default: - No custom attributes.
- Specified by:
getCustomAttributesin interfaceUserPoolProps
-
getCustomSenderKmsKey
Description copied from interface:UserPoolPropsThis 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:UserPoolPropsDevice tracking settings.Default: - see defaults on each property of DeviceTracking.
- Specified by:
getDeviceTrackingin interfaceUserPoolProps
-
getEmail
Description copied from interface:UserPoolPropsEmail settings for a user pool.Default: - cognito will use the default email configuration
- Specified by:
getEmailin interfaceUserPoolProps
-
getEmailSettings
Description copied from interface:UserPoolProps(deprecated) Email settings for a user pool.Default: - see defaults on each property of EmailSettings.
- Specified by:
getEmailSettingsin interfaceUserPoolProps
-
getEnableSmsRole
Description copied from interface:UserPoolPropsSetting 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:
getEnableSmsRolein interfaceUserPoolProps
-
getLambdaTriggers
Description copied from interface:UserPoolPropsLambda functions to use for supported Cognito triggers.Default: - No Lambda triggers.
-
getMfa
Description copied from interface:UserPoolPropsConfigure whether users of this user pool can or are required use MFA to sign in.Default: Mfa.OFF
- Specified by:
getMfain interfaceUserPoolProps
-
getMfaMessage
Description copied from interface:UserPoolPropsThe 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:
getMfaMessagein interfaceUserPoolProps
-
getMfaSecondFactor
Description copied from interface:UserPoolPropsConfigure the MFA types that users can use in this user pool.Ignored if
mfais set toOFF.Default: - { sms: true, otp: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`. { sms: false, otp: false }, otherwise
- Specified by:
getMfaSecondFactorin interfaceUserPoolProps
-
getPasswordPolicy
Description copied from interface:UserPoolPropsPassword policy for this user pool.Default: - see defaults on each property of PasswordPolicy.
- Specified by:
getPasswordPolicyin interfaceUserPoolProps
-
getRemovalPolicy
Description copied from interface:UserPoolPropsPolicy to apply when the user pool is removed from the stack.Default: RemovalPolicy.RETAIN
- Specified by:
getRemovalPolicyin interfaceUserPoolProps
-
getSelfSignUpEnabled
Description copied from interface:UserPoolPropsWhether self sign up should be enabled.This can be further configured via the
selfSignUpproperty.Default: false
- Specified by:
getSelfSignUpEnabledin interfaceUserPoolProps
-
getSignInAliases
Description copied from interface:UserPoolPropsMethods 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:
getSignInAliasesin interfaceUserPoolProps
-
getSignInCaseSensitive
Description copied from interface:UserPoolPropsWhether 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
MyUsernameormyusername.Default: true
- Specified by:
getSignInCaseSensitivein interfaceUserPoolProps
-
getSmsRole
Description copied from interface:UserPoolPropsThe IAM role that Cognito will assume while sending SMS messages.Default: - a new IAM role is created
- Specified by:
getSmsRolein interfaceUserPoolProps
-
getSmsRoleExternalId
Description copied from interface:UserPoolPropsThe '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
smsRoleis not specified.Default: - No external id will be configured
- Specified by:
getSmsRoleExternalIdin interfaceUserPoolProps
-
getSnsRegion
Description copied from interface:UserPoolPropsThe 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:
getSnsRegionin interfaceUserPoolProps
-
getStandardAttributes
Description copied from interface:UserPoolPropsThe 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:
getStandardAttributesin interfaceUserPoolProps
-
getUserInvitation
Description copied from interface:UserPoolPropsConfiguration around admins signing up users into a user pool.Default: - see defaults in UserInvitationConfig
- Specified by:
getUserInvitationin interfaceUserPoolProps
-
getUserPoolName
Description copied from interface:UserPoolPropsName of the user pool.Default: - automatically generated name by CloudFormation at deploy time
- Specified by:
getUserPoolNamein interfaceUserPoolProps
-
getUserVerification
Description copied from interface:UserPoolPropsConfiguration around users signing themselves up to the user pool.Enable or disable self sign-up via the
selfSignUpEnabledproperty.Default: - see defaults in UserVerificationConfig
- Specified by:
getUserVerificationin interfaceUserPoolProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-