AdvancedSecurityMode

class aws_cdk.aws_cognito.AdvancedSecurityMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

(deprecated) The different ways in which a user pool’s Advanced Security Mode can be configured.

Deprecated:

Advanced Security Mode is deprecated in favor of user pool feature plans.

See:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html#cfn-cognito-userpool-userpooladdons-advancedsecuritymode

Stability:

deprecated

ExampleMetadata:

infused

Example:

cognito.UserPool(self, "myuserpool",
    # ...
    advanced_security_mode=cognito.AdvancedSecurityMode.ENFORCED
)

Attributes

AUDIT

(deprecated) gather metrics on detected risks without taking action.

Metrics are published to Amazon CloudWatch

Stability:

deprecated

ENFORCED

(deprecated) Enable advanced security mode.

Stability:

deprecated

OFF

(deprecated) Advanced security mode is disabled.

Stability:

deprecated