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 AdvancedSecurityMode(deprecated) The user pool's Advanced Security Mode.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 IKeyRefThis key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates.The Type of Threat Protection Enabled for Custom Authentication.final BooleanIndicates whether the user pool should have deletion protection enabled.final DeviceTrackingDevice tracking settings.final UserPoolEmailgetEmail()Email settings for a user pool.final BooleanSetting this would explicitly enable or disable SMS role creation.final FeaturePlanThe user pool feature plan, or tier.final KeepOriginalAttrsAttributes which Cognito will look to handle changes to the value of your users' email address and phone number attributes.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 StringThe authentication domain that passkey providers must use as a relying party (RP) in their configuration.final PasskeyUserVerificationYour user-pool treatment for MFA with a passkey.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 SignInPolicySign-in policy for this user pool.final IRoleRefThe IAM role that Cognito will assume while sending SMS messages.final StringThe 'ExternalId' that Cognito service must be 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.The Type of Threat Protection Enabled for Standard Authentication.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
-
getAdvancedSecurityMode
Description copied from interface:UserPoolProps(deprecated) The user pool's Advanced Security Mode.Default: - no value
- Specified by:
getAdvancedSecurityModein 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
- Specified by:
getCustomSenderKmsKeyin interfaceUserPoolProps- See Also:
-
getCustomThreatProtectionMode
Description copied from interface:UserPoolPropsThe Type of Threat Protection Enabled for Custom Authentication.This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
Default: - no value
- Specified by:
getCustomThreatProtectionModein interfaceUserPoolProps- See Also:
-
getDeletionProtection
Description copied from interface:UserPoolPropsIndicates whether the user pool should have deletion protection enabled.Default: false
- Specified by:
getDeletionProtectionin interfaceUserPoolProps
-
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
-
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
-
getFeaturePlan
Description copied from interface:UserPoolPropsThe user pool feature plan, or tier.This parameter determines the eligibility of the user pool for features like managed login, access-token customization, and threat protection.
Default: - FeaturePlan.ESSENTIALS for a newly created user pool; FeaturePlan.LITE otherwise
- Specified by:
getFeaturePlanin interfaceUserPoolProps- See Also:
-
getKeepOriginal
Description copied from interface:UserPoolPropsAttributes which Cognito will look to handle changes to the value of your users' email address and phone number attributes.EMAIL and PHONE are the only available options.
Default: - Nothing is kept.
- Specified by:
getKeepOriginalin interfaceUserPoolProps
-
getLambdaTriggers
Description copied from interface:UserPoolPropsLambda functions to use for supported Cognito triggers.Default: - No Lambda triggers.
- Specified by:
getLambdaTriggersin interfaceUserPoolProps- See Also:
-
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, email: false }, if `mfa` is set to `OPTIONAL` or `REQUIRED`. { sms: false, otp: false, email:false }, otherwise
- Specified by:
getMfaSecondFactorin interfaceUserPoolProps
-
getPasskeyRelyingPartyId
Description copied from interface:UserPoolPropsThe authentication domain that passkey providers must use as a relying party (RP) in their configuration.Under the following conditions, the passkey relying party ID must be the fully-qualified domain name of your custom domain:
- The user pool is configured for passkey authentication.
- The user pool has a custom domain, whether or not it also has a prefix domain.
- Your application performs authentication with managed login or the classic hosted UI.
Default: - No authentication domain
- Specified by:
getPasskeyRelyingPartyIdin interfaceUserPoolProps
-
getPasskeyUserVerification
Description copied from interface:UserPoolPropsYour user-pool treatment for MFA with a passkey.You can override other MFA options and require passkey MFA, or you can set it as preferred. When passkey MFA is preferred, the hosted UI encourages users to register a passkey at sign-in.
Default: - Cognito default setting is PasskeyUserVerification.PREFERRED
- Specified by:
getPasskeyUserVerificationin 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.To configure self sign-up configuration use the
userVerificationproperty.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
-
getSignInPolicy
Description copied from interface:UserPoolPropsSign-in policy for this user pool.Default: - see defaults on each property of SignInPolicy.
- Specified by:
getSignInPolicyin 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 be 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
-
getStandardThreatProtectionMode
Description copied from interface:UserPoolPropsThe Type of Threat Protection Enabled for Standard Authentication.This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
Default: - StandardThreatProtectionMode.NO_ENFORCEMENT
- Specified by:
getStandardThreatProtectionModein interfaceUserPoolProps- See Also:
-
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()
-