@Stability(value=Stable)
public static interface CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder
|
static class |
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Jsii$Proxy
An implementation for
CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder |
builder() |
Object |
getActions()
Account takeover risk configuration actions.
|
default Object |
getNotifyConfiguration()
The notify configuration used to construct email notifications.
|
@Stability(value=Stable) @NotNull Object getActions()
@Stability(value=Stable) @Nullable default Object getNotifyConfiguration()
@Stability(value=Stable) static CfnUserPoolRiskConfigurationAttachment.AccountTakeoverRiskConfigurationTypeProperty.Builder builder()
Copyright © 2022. All rights reserved.