AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the SetRiskConfiguration operation. Configures actions on detected risks. To delete the risk configuration for UserPoolId or ClientId, pass null values for all four configuration types.

To enable Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns keyAdvancedSecurityMode.

See .

Inheritance Hierarchy


Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z


public class SetRiskConfigurationRequest : AmazonCognitoIdentityProviderRequest

The SetRiskConfigurationRequest type exposes the following members



Public Property AccountTakeoverRiskConfiguration Amazon.CognitoIdentityProvider.Model.AccountTakeoverRiskConfigurationType

Gets and sets the property AccountTakeoverRiskConfiguration.

The account takeover risk configuration.

Public Property ClientId System.String

Gets and sets the property ClientId.

The app client ID. 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.

Otherwise, ClientId is mapped to the client. When the client ID is not null, the user pool configuration is overridden and the risk configuration for the client is used instead.

Public Property CompromisedCredentialsRiskConfiguration Amazon.CognitoIdentityProvider.Model.CompromisedCredentialsRiskConfigurationType

Gets and sets the property CompromisedCredentialsRiskConfiguration.

The compromised credentials risk configuration.

Public Property RiskExceptionConfiguration Amazon.CognitoIdentityProvider.Model.RiskExceptionConfigurationType

Gets and sets the property RiskExceptionConfiguration.

The configuration to override the risk decision.

Public Property UserPoolId System.String

Gets and sets the property UserPoolId.

The user pool ID.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms