Skip to content
v2.278.0

AccountTakeoverActionsTypeProperty Struct ​

A list of account-takeover actions for each level of risk that Amazon Cognito might assess with advanced security features.

Example ​

ts
// 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 accountTakeoverActionsTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty = {
  highAction: {
    eventAction: 'eventAction',
    notify: false,
  },
  lowAction: {
    eventAction: 'eventAction',
    notify: false,
  },
  mediumAction: {
    eventAction: 'eventAction',
    notify: false,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

account_takeover_actions_type_property = cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionsTypeProperty(
    high_action=cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty(
        event_action="eventAction",
        notify=False
    ),
    low_action=cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty(
        event_action="eventAction",
        notify=False
    ),
    medium_action=cognito.CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypeProperty(
        event_action="eventAction",
        notify=False
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;

AccountTakeoverActionsTypeProperty accountTakeoverActionsTypeProperty = AccountTakeoverActionsTypeProperty.builder()
        .highAction(AccountTakeoverActionTypeProperty.builder()
                .eventAction("eventAction")
                .notify(false)
                .build())
        .lowAction(AccountTakeoverActionTypeProperty.builder()
                .eventAction("eventAction")
                .notify(false)
                .build())
        .mediumAction(AccountTakeoverActionTypeProperty.builder()
                .eventAction("eventAction")
                .notify(false)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;

var accountTakeoverActionsTypeProperty = new AccountTakeoverActionsTypeProperty {
    HighAction = new AccountTakeoverActionTypeProperty {
        EventAction = "eventAction",
        Notify = false
    },
    LowAction = new AccountTakeoverActionTypeProperty {
        EventAction = "eventAction",
        Notify = false
    },
    MediumAction = new AccountTakeoverActionTypeProperty {
        EventAction = "eventAction",
        Notify = false
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

accountTakeoverActionsTypeProperty := &AccountTakeoverActionsTypeProperty{
	HighAction: &AccountTakeoverActionTypeProperty{
		EventAction: jsii.String("eventAction"),
		Notify: jsii.Boolean(false),
	},
	LowAction: &AccountTakeoverActionTypeProperty{
		EventAction: jsii.String("eventAction"),
		Notify: jsii.Boolean(false),
	},
	MediumAction: &AccountTakeoverActionTypeProperty{
		EventAction: jsii.String("eventAction"),
		Notify: jsii.Boolean(false),
	},
}

Properties ​

highActionoptionalIResolvable | CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypePropertyhigh_actionoptionaltyping.Union[IResolvable, AccountTakeoverActionTypeProperty]highActionoptionalIResolvableHighActionoptionalIResolvableHighActionoptionalinterface{} #
The action that you assign to a high-risk assessment by threat protection.
lowActionoptionalIResolvable | CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypePropertylow_actionoptionaltyping.Union[IResolvable, AccountTakeoverActionTypeProperty]lowActionoptionalIResolvableLowActionoptionalIResolvableLowActionoptionalinterface{} #
The action that you assign to a low-risk assessment by threat protection.
mediumActionoptionalIResolvable | CfnUserPoolRiskConfigurationAttachment.AccountTakeoverActionTypePropertymedium_actionoptionaltyping.Union[IResolvable, AccountTakeoverActionTypeProperty]mediumActionoptionalIResolvableMediumActionoptionalIResolvableMediumActionoptionalinterface{} #
The action that you assign to a medium-risk assessment by threat protection.