SetRiskConfigurationRequest
¶
Source code in docs_src/capo_cognito_identity_provider/types/set_risk_configuration_request.py
account_takeover_risk_configuration
instance-attribute
¶
account_takeover_risk_configuration: NotRequired[AccountTakeoverRiskConfigurationType]
The settings for automated responses and notification templates for adaptive authentication with threat protection.
client_id
instance-attribute
¶
client_id: NotRequired[ClientIdType]
The ID of the app client where you want to set a risk configuration. If ClientId is null, then the risk configuration is mapped to UserPoolId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.
When you include a ClientId parameter, Amazon Cognito maps the configuration to the app client. When you include both ClientId and UserPoolId, Amazon Cognito maps the configuration to the app client only.
compromised_credentials_risk_configuration
instance-attribute
¶
compromised_credentials_risk_configuration: NotRequired[
CompromisedCredentialsRiskConfigurationType
]
The configuration of automated reactions to detected compromised credentials. Includes settings for blocking future sign-in requests and for the types of password-submission events you want to monitor.
risk_exception_configuration
instance-attribute
¶
risk_exception_configuration: NotRequired[RiskExceptionConfigurationType]
A set of IP-address overrides to threat protection. You can set up IP-address always-block and always-allow lists.
user_pool_id
instance-attribute
¶
user_pool_id: UserPoolIdType
The ID of the user pool where you want to set a risk configuration. If you include UserPoolId in your request, don't include ClientId. When the client ID is null, the same risk configuration is applied to all the clients in the userPool. When you include both ClientId and UserPoolId, Amazon Cognito maps the configuration to the app client only.