Skip to content

cognito: Add configuration for Threat Protection enforcement level for the UserPool construct #33393

@sashee

Description

@sashee

Describe the feature

I could not find any way to set the Threat protection when using the UserPool construct.

To enable auth events logging I could configure the FeaturePlan but then there is no way to set the pool to audit.

Image

This is possible with the CfnUserPool construct.

This should be configurable with the UserPool construct as well.

Use Case

I want to see the login, password change, and other events for users in a user pool. For this, I need to set two things:

  • pricing plan to Plus
  • threat protection level to AUDIT

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.176.0

Environment details (OS name and version, etc.)

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-cognitoRelated to Amazon Cognitoeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions