Interface CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Jsii$Proxy
- Enclosing class:
CfnUserPoolRiskConfigurationAttachment
@Stability(Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
extends software.amazon.jsii.JsiiSerializable
The settings for automated responses and notification templates for adaptive authentication with advanced security features.
Example:
// 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.*;
AccountTakeoverRiskConfigurationTypeProperty accountTakeoverRiskConfigurationTypeProperty = AccountTakeoverRiskConfigurationTypeProperty.builder()
.actions(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())
// the properties below are optional
.notifyConfiguration(NotifyConfigurationTypeProperty.builder()
.sourceArn("sourceArn")
// the properties below are optional
.blockEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.from("from")
.mfaEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.noActionEmail(NotifyEmailTypeProperty.builder()
.subject("subject")
// the properties below are optional
.htmlBody("htmlBody")
.textBody("textBody")
.build())
.replyTo("replyTo")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection.default ObjectThe settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
A list of account-takeover actions for each level of risk that Amazon Cognito might assess with threat protection.- See Also:
-
getNotifyConfiguration
The settings for composing and sending an email message when threat protection assesses a risk level with adaptive authentication.When you choose to notify users in
AccountTakeoverRiskConfiguration, Amazon Cognito sends an email message using the method and template that you set with this data type.- See Also:
-
builder
@Stability(Stable) static CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder builder()
-