aws-cdk-lib.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
interface AccountTakeoverRiskConfigurationTypeProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolRiskConfigurationAttachment_AccountTakeoverRiskConfigurationTypeProperty |
![]() | software.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty |
![]() | aws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty |
![]() | aws-cdk-lib » aws_cognito » CfnUserPoolRiskConfigurationAttachment » AccountTakeoverRiskConfigurationTypeProperty |
Configuration for mitigation actions and notification for different levels of risk detected for a potential account takeover.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const accountTakeoverRiskConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty = {
actions: {
highAction: {
eventAction: 'eventAction',
notify: false,
},
lowAction: {
eventAction: 'eventAction',
notify: false,
},
mediumAction: {
eventAction: 'eventAction',
notify: false,
},
},
// the properties below are optional
notifyConfiguration: {
sourceArn: 'sourceArn',
// the properties below are optional
blockEmail: {
subject: 'subject',
// the properties below are optional
htmlBody: 'htmlBody',
textBody: 'textBody',
},
from: 'from',
mfaEmail: {
subject: 'subject',
// the properties below are optional
htmlBody: 'htmlBody',
textBody: 'textBody',
},
noActionEmail: {
subject: 'subject',
// the properties below are optional
htmlBody: 'htmlBody',
textBody: 'textBody',
},
replyTo: 'replyTo',
},
};
Properties
Name | Type | Description |
---|---|---|
actions | IResolvable | Account | Account takeover risk configuration actions. |
notify | IResolvable | Notify | The notify configuration used to construct email notifications. |
actions
Type:
IResolvable
|
Account
Account takeover risk configuration actions.
notifyConfiguration?
Type:
IResolvable
|
Notify
(optional)
The notify configuration used to construct email notifications.