Skip to content

RiskConfigurationType

Source code in docs_src/capo_cognito_identity_provider/types/risk_configuration_type.py
class RiskConfigurationType(TypedDict, closed=True):
    user_pool_id: NotRequired[
        "capo_cognito_identity_provider.types.user_pool_id_type.UserPoolIdType"
    ]
    """<p>The ID of the user pool that has the risk configuration applied.</p>"""
    client_id: NotRequired[
        "capo_cognito_identity_provider.types.client_id_type.ClientIdType"
    ]
    """<p>The app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.</p>"""
    compromised_credentials_risk_configuration: NotRequired[
        "capo_cognito_identity_provider.types.compromised_credentials_risk_configuration_type.CompromisedCredentialsRiskConfigurationType"
    ]
    """<p>Settings for compromised-credentials actions and authentication types with threat protection in full-function <code>ENFORCED</code> mode.</p>"""
    account_takeover_risk_configuration: NotRequired[
        "capo_cognito_identity_provider.types.account_takeover_risk_configuration_type.AccountTakeoverRiskConfigurationType"
    ]
    """<p>The settings for automated responses and notification templates for adaptive authentication with threat protection.</p>"""
    risk_exception_configuration: NotRequired[
        "capo_cognito_identity_provider.types.risk_exception_configuration_type.RiskExceptionConfigurationType"
    ]
    """<p>Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges. </p>"""
    last_modified_date: NotRequired[
        "capo_cognito_identity_provider.types.date_type.DateType"
    ]
    """<p>The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java <code>Date</code> object.</p>"""

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 app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.

compromised_credentials_risk_configuration instance-attribute

compromised_credentials_risk_configuration: NotRequired[
    CompromisedCredentialsRiskConfigurationType
]

Settings for compromised-credentials actions and authentication types with threat protection in full-function ENFORCED mode.

last_modified_date instance-attribute

last_modified_date: NotRequired[DateType]

The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

risk_exception_configuration instance-attribute

risk_exception_configuration: NotRequired[RiskExceptionConfigurationType]

Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.

user_pool_id instance-attribute

user_pool_id: NotRequired[UserPoolIdType]

The ID of the user pool that has the risk configuration applied.