CognitoStackProps
Defined in: packages/stacks/src/cognito-stack.ts:39
Extends
Section titled “Extends”BaseStackProps<T>.Omit<AtfCognitoProps,"envConfig"|"triggers"|"groups">
Type Parameters
Section titled “Type Parameters”T extends BaseEnvConfig
Properties
Section titled “Properties”accountRecovery?
Section titled “accountRecovery?”
readonlyoptionalaccountRecovery?:AccountRecovery
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:766
How will a user be able to recover their account?
Default
Section titled “Default”AccountRecovery.PHONE_WITHOUT_MFA_AND_EMAILInherited from
Section titled “Inherited from”Omit.accountRecovery
advancedSecurityMode?
Section titled “advancedSecurityMode?”
readonlyoptionaladvancedSecurityMode?:AdvancedSecurityMode
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:795
The user pool’s Advanced Security Mode
Default
Section titled “Default”- no valueInherited from
Section titled “Inherited from”Omit.advancedSecurityMode
analyticsReporting?
Section titled “analyticsReporting?”
readonlyoptionalanalyticsReporting?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:141
Include runtime versioning information in this Stack
Default
Section titled “Default”analyticsReporting setting of containing App, or value of
‘aws:cdk:version-reporting’ context key
Inherited from
Section titled “Inherited from”BaseStackProps.analyticsReporting
autoVerify?
Section titled “autoVerify?”
readonlyoptionalautoVerify?:AutoVerifiedAttrs
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:673
Attributes which Cognito will look to verify automatically upon user sign up. EMAIL and PHONE are the only available options.
Default
Section titled “Default”- If
signInAliasincludes email and/or phone, they will be included inautoVerifiedAttributesby default. If absent, no attributes will be auto-verified.
Inherited from
Section titled “Inherited from”Omit.autoVerify
callbackUrls?
Section titled “callbackUrls?”
optionalcallbackUrls?:string[]
Defined in: packages/constructs/src/auth/cognito.ts:108
OAuth callback URLs for hosted UI
Inherited from
Section titled “Inherited from”crossRegionReferences?
Section titled “crossRegionReferences?”
readonlyoptionalcrossRegionReferences?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:152
Enable this flag to allow native cross region stack references.
Enabling this will create a CloudFormation custom resource in both the producing stack and consuming stack in order to perform the export/import
This feature is currently experimental
Default
Section titled “Default”falseInherited from
Section titled “Inherited from”BaseStackProps.crossRegionReferences
customSenderKmsKey?
Section titled “customSenderKmsKey?”
readonlyoptionalcustomSenderKmsKey?:IKeyRef
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:789
This key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates.
Default
Section titled “Default”- no key ID configuredInherited from
Section titled “Inherited from”Omit.customSenderKmsKey
customThreatProtectionMode?
Section titled “customThreatProtectionMode?”
readonlyoptionalcustomThreatProtectionMode?:CustomThreatProtectionMode
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:826
The Type of Threat Protection Enabled for Custom Authentication
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
Acceptable values are strings with values ‘ENFORCED’, or ‘AUDIT’. For ‘OFF’ behavior, don’t define this value
Default
Section titled “Default”- no valueInherited from
Section titled “Inherited from”Omit.customThreatProtectionMode
deletionProtection?
Section titled “deletionProtection?”
readonlyoptionaldeletionProtection?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:778
Indicates whether the user pool should have deletion protection enabled.
Default
Section titled “Default”falseInherited from
Section titled “Inherited from”Omit.deletionProtection
description?
Section titled “description?”
readonlyoptionaldescription?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:19
A description of the stack.
Default
Section titled “Default”- No description.Inherited from
Section titled “Inherited from”deviceTracking?
Section titled “deviceTracking?”
readonlyoptionaldeviceTracking?:DeviceTracking
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:783
Device tracking settings
Default
Section titled “Default”- see defaults on each property of DeviceTracking.Inherited from
Section titled “Inherited from”Omit.deviceTracking
domainPrefix?
Section titled “domainPrefix?”
optionaldomainPrefix?:string
Defined in: packages/constructs/src/auth/cognito.ts:117
Custom domain prefix override. Defaults to: {appName}-{stage}-{accountId}
Inherited from
Section titled “Inherited from”email?
Section titled “email?”
readonlyoptionalemail?:UserPoolEmail
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:748
Email settings for a user pool.
Default
Section titled “Default”- cognito will use the default email configurationInherited from
Section titled “Inherited from”Omit.email
enableSmsRole?
Section titled “enableSmsRole?”
readonlyoptionalenableSmsRole?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:651
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
Section titled “Default”- CDK will determine based on other properties of the user pool if an SMS role should be created or not.Inherited from
Section titled “Inherited from”Omit.enableSmsRole
readonlyoptionalenv?:Environment
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:84
The AWS environment (account/region) where this stack will be deployed.
Set the region/account fields of env to either a concrete value to
select the indicated environment (recommended for production stacks), or to
the values of environment variables
CDK_DEFAULT_REGION/CDK_DEFAULT_ACCOUNT to let the target environment
depend on the AWS credentials/configuration that the CDK CLI is executed
under (recommended for development stacks).
If the Stack is instantiated inside a Stage, any undefined
region/account fields from env will default to the same field on the
encompassing Stage, if configured there.
If either region or account are not set nor inherited from Stage, the
Stack will be considered “environment-agnostic"". Environment-agnostic
stacks can be deployed to any environment but may not be able to take
advantage of all features of the CDK. For example, they will not be able to
use environmental context lookups such as ec2.Vpc.fromLookup and will not
automatically translate Service Principals to the right format based on the
environment’s AWS partition, and other such enhancements.
Example
Section titled “Example”// Use a concrete account and region to deploy this stack to:// `.account` and `.region` will simply return these values.new Stack(app, 'Stack1', { env: { account: '123456789012', region: 'us-east-1' },});
// Use the CLI's current credentials to determine the target environment:// `.account` and `.region` will reflect the account+region the CLI// is configured to use (based on the user CLI credentials)new Stack(app, 'Stack2', { env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },});
// Define multiple stacks stage associated with an environmentconst myStage = new Stage(app, 'MyStage', { env: { account: '123456789012', region: 'us-east-1' }});
// both of these stacks will use the stage's account/region:// `.account` and `.region` will resolve to the concrete values as abovenew MyStack(myStage, 'Stack1');new YourStack(myStage, 'Stack2');
// Define an environment-agnostic stack:// `.account` and `.region` will resolve to `{ "Ref": "AWS::AccountId" }` and `{ "Ref": "AWS::Region" }` respectively.// which will only resolve to actual values by CloudFormation during deployment.new MyStack(app, 'Stack1');Default
Section titled “Default”- The environment of the containing
Stageif available, otherwise create the stack will be environment-agnostic.
Inherited from
Section titled “Inherited from”envConfig
Section titled “envConfig”envConfig:
T
Defined in: packages/stacks/src/base-stack.ts:15
Inherited from
Section titled “Inherited from”extraCustomAttributes?
Section titled “extraCustomAttributes?”
optionalextraCustomAttributes?:Record<string,cognito.ICustomAttribute>
Defined in: packages/constructs/src/auth/cognito.ts:99
Extra custom attributes beyond the Axis defaults (custom:userId, custom:tenantId). Merged after Axis defaults.
Inherited from
Section titled “Inherited from”AtfCognitoProps.extraCustomAttributes
extraGroups?
Section titled “extraGroups?”
optionalextraGroups?:AxisGroupConfig[]
Defined in: packages/stacks/src/cognito-stack.ts:60
User pool groups to create (super-admin is always created)
featurePlan?
Section titled “featurePlan?”
readonlyoptionalfeaturePlan?:FeaturePlan
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:802
The 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.
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-sign-in-feature-plans.html
Default
Section titled “Default”- FeaturePlan.ESSENTIALS for a newly created user pool; FeaturePlan.LITE otherwiseInherited from
Section titled “Inherited from”Omit.featurePlan
keepOriginal?
Section titled “keepOriginal?”
readonlyoptionalkeepOriginal?:KeepOriginalAttrs
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:680
Attributes 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
Section titled “Default”- Nothing is kept.Inherited from
Section titled “Inherited from”Omit.keepOriginal
logoutUrls?
Section titled “logoutUrls?”
optionallogoutUrls?:string[]
Defined in: packages/constructs/src/auth/cognito.ts:111
OAuth logout URLs
Inherited from
Section titled “Inherited from”
readonlyoptionalmfa?:Mfa
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:701
Configure whether users of this user pool can or are required use MFA to sign in.
Default
Section titled “Default”Mfa.OFFInherited from
Section titled “Inherited from”Omit.mfa
mfaMessage?
Section titled “mfaMessage?”
readonlyoptionalmfaMessage?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:707
The SMS message template sent during MFA verification. Use ’{####}’ in the template where Cognito should insert the verification code.
Default
Section titled “Default”'Your authentication code is {####}.'Inherited from
Section titled “Inherited from”Omit.mfaMessage
mfaSecondFactor?
Section titled “mfaSecondFactor?”
readonlyoptionalmfaSecondFactor?:MfaSecondFactor
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:714
Configure the MFA types that users can use in this user pool. Ignored if mfa is set to OFF.
Default
Section titled “Default”- { sms: true, otp: false, email: false }, if
mfais set toOPTIONALorREQUIRED. { sms: false, otp: false, email:false }, otherwise
Inherited from
Section titled “Inherited from”Omit.mfaSecondFactor
notificationArns?
Section titled “notificationArns?”
readonlyoptionalnotificationArns?:string[]
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:112
SNS Topic ARNs that will receive stack events.
Default
Section titled “Default”- no notification arns.Inherited from
Section titled “Inherited from”BaseStackProps.notificationArns
passkeyRelyingPartyId?
Section titled “passkeyRelyingPartyId?”
readonlyoptionalpasskeyRelyingPartyId?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:735
The 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
Section titled “Default”- No authentication domainInherited from
Section titled “Inherited from”Omit.passkeyRelyingPartyId
passkeyUserVerification?
Section titled “passkeyUserVerification?”
readonlyoptionalpasskeyUserVerification?:PasskeyUserVerification
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:743
Your 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
Section titled “Default”- Cognito default setting is PasskeyUserVerification.PREFERREDInherited from
Section titled “Inherited from”Omit.passkeyUserVerification
passwordPolicy?
Section titled “passwordPolicy?”
readonlyoptionalpasswordPolicy?:PasswordPolicy
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:719
Password policy for this user pool.
Default
Section titled “Default”- see defaults on each property of PasswordPolicy.Inherited from
Section titled “Inherited from”Omit.passwordPolicy
permissionsBoundary?
Section titled “permissionsBoundary?”
readonlyoptionalpermissionsBoundary?:PermissionsBoundary
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:159
Options for applying a permissions boundary to all IAM Roles and Users created within this Stage
Default
Section titled “Default”- no permissions boundary is appliedInherited from
Section titled “Inherited from”BaseStackProps.permissionsBoundary
projectRoot
Section titled “projectRoot”projectRoot:
string
Defined in: packages/stacks/src/cognito-stack.ts:63
Project root for Lambda entry path resolution
propertyInjectors?
Section titled “propertyInjectors?”
readonlyoptionalpropertyInjectors?:IPropertyInjector[]
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:175
A list of IPropertyInjector attached to this Stack.
Default
Section titled “Default”- no PropertyInjectorsInherited from
Section titled “Inherited from”BaseStackProps.propertyInjectors
selfSignUpEnabled?
Section titled “selfSignUpEnabled?”
readonlyoptionalselfSignUpEnabled?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:608
Whether self sign-up should be enabled.
To configure self sign-up configuration use the userVerification property.
Default
Section titled “Default”- falseInherited from
Section titled “Inherited from”Omit.selfSignUpEnabled
signInAliases?
Section titled “signInAliases?”
readonlyoptionalsignInAliases?:SignInAliases
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:665
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
Section titled “Default”{ username: true }Inherited from
Section titled “Inherited from”Omit.signInAliases
signInCaseSensitive?
Section titled “signInCaseSensitive?”
readonlyoptionalsignInCaseSensitive?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:760
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 or myusername.
Default
Section titled “Default”trueInherited from
Section titled “Inherited from”Omit.signInCaseSensitive
signInPolicy?
Section titled “signInPolicy?”
readonlyoptionalsignInPolicy?:SignInPolicy
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:724
Sign-in policy for this user pool.
Default
Section titled “Default”- see defaults on each property of SignInPolicy.Inherited from
Section titled “Inherited from”Omit.signInPolicy
smsRole?
Section titled “smsRole?”
readonlyoptionalsmsRole?:IRoleRef
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:627
The IAM role that Cognito will assume while sending SMS messages.
Default
Section titled “Default”- a new IAM role is created.Inherited from
Section titled “Inherited from”Omit.smsRole
smsRoleExternalId?
Section titled “smsRoleExternalId?”
readonlyoptionalsmsRoleExternalId?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:636
The ‘ExternalId’ that Cognito service must be using when assuming the smsRole, 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
Section titled “Default”- No external id will be configured.Inherited from
Section titled “Inherited from”Omit.smsRoleExternalId
snsRegion?
Section titled “snsRegion?”
readonlyoptionalsnsRegion?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:644
The region to integrate with SNS to send SMS messages.
This property will do nothing if SMS configuration is not configured.
Default
Section titled “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-timeInherited from
Section titled “Inherited from”Omit.snsRegion
stackName?
Section titled “stackName?”
readonlyoptionalstackName?:string
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:90
Name to deploy the stack with
Default
Section titled “Default”- Derived from construct path.Inherited from
Section titled “Inherited from”standardAttributes?
Section titled “standardAttributes?”
readonlyoptionalstandardAttributes?:StandardAttributes
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:687
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
Section titled “Default”- All standard attributes are optional and mutable.Inherited from
Section titled “Inherited from”Omit.standardAttributes
standardThreatProtectionMode?
Section titled “standardThreatProtectionMode?”
readonlyoptionalstandardThreatProtectionMode?:StandardThreatProtectionMode
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:814
The Type of Threat Protection Enabled for Standard Authentication
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
Acceptable values are strings with values ‘ENFORCED’, ‘AUDIT’, or ‘OFF’
Default
Section titled “Default”- StandardThreatProtectionMode.NO_ENFORCEMENTInherited from
Section titled “Inherited from”Omit.standardThreatProtectionMode
suppressTemplateIndentation?
Section titled “suppressTemplateIndentation?”
readonlyoptionalsuppressTemplateIndentation?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:170
Enable this flag to suppress indentation in generated CloudFormation templates.
If not specified, the value of the @aws-cdk/core:suppressTemplateIndentation
context key will be used. If that is not specified, then the
default value false will be used.
Default
Section titled “Default”- the value of
@aws-cdk/core:suppressTemplateIndentation, orfalseif that is not set.
Inherited from
Section titled “Inherited from”BaseStackProps.suppressTemplateIndentation
synthesizer?
Section titled “synthesizer?”
readonlyoptionalsynthesizer?:IStackSynthesizer
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:128
Synthesis method to use while deploying this stack
The Stack Synthesizer controls aspects of synthesis and deployment, like how assets are referenced and what IAM roles to use. For more information, see the README of the main CDK package.
If not specified, the defaultStackSynthesizer from App will be used.
If that is not specified, DefaultStackSynthesizer is used if
@aws-cdk/core:newStyleStackSynthesis is set to true or the CDK major
version is v2. In CDK v1 LegacyStackSynthesizer is the default if no
other synthesizer is specified.
Default
Section titled “Default”- The synthesizer specified on
App, orDefaultStackSynthesizerotherwise.
Inherited from
Section titled “Inherited from”
readonlyoptionaltags?:object
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:104
Tags that will be applied to the Stack
These tags are applied to the CloudFormation Stack itself. They will not appear in the CloudFormation template.
However, at deployment time, CloudFormation will apply these tags to all
resources in the stack that support tagging. You will not be able to exempt
resources from tagging (using the excludeResourceTypes property of
Tags.of(...).add()) for tags applied in this way.
Index Signature
Section titled “Index Signature”[key: string]: string
Default
Section titled “Default”{}Inherited from
Section titled “Inherited from”terminationProtection?
Section titled “terminationProtection?”
readonlyoptionalterminationProtection?:boolean
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/core/lib/stack.d.ts:134
Whether to enable termination protection for this stack.
Default
Section titled “Default”falseInherited from
Section titled “Inherited from”BaseStackProps.terminationProtection
triggerConfigs?
Section titled “triggerConfigs?”
optionaltriggerConfigs?:CognitoTriggerConfig[]
Defined in: packages/stacks/src/cognito-stack.ts:57
Explicit trigger configs — each entry maps a lambda to a trigger slot.
Example: triggerConfigs: [ { triggerType: “postConfirmation”, config: postConfirmConfig }, { triggerType: “preSignUp”, config: preSignUpConfig }, ]
userInvitation?
Section titled “userInvitation?”
readonlyoptionaluserInvitation?:UserInvitationConfig
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:621
Configuration around admins signing up users into a user pool.
Default
Section titled “Default”- see defaults in UserInvitationConfig.Inherited from
Section titled “Inherited from”Omit.userInvitation
userVerification?
Section titled “userVerification?”
readonlyoptionaluserVerification?:UserVerificationConfig
Defined in: node_modules/.pnpm/aws-cdk-lib@2.261.0_constructs@10.7.0/node_modules/aws-cdk-lib/aws-cognito/lib/user-pool.d.ts:615
Configuration around users signing themselves up to the user pool.
Enable or disable self sign-up via the selfSignUpEnabled property.
Default
Section titled “Default”- see defaults in UserVerificationConfig.Inherited from
Section titled “Inherited from”Omit.userVerification
© 2026 Axis Tech. Powered by axis-tech.co.