Interface CfnUserPoolRiskConfigurationAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPoolRiskConfigurationAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.994Z")
@Stability(Stable)
public interface CfnUserPoolRiskConfigurationAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnUserPoolRiskConfigurationAttachment
.
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.*; CfnUserPoolRiskConfigurationAttachmentProps cfnUserPoolRiskConfigurationAttachmentProps = CfnUserPoolRiskConfigurationAttachmentProps.builder() .clientId("clientId") .userPoolId("userPoolId") // the properties below are optional .accountTakeoverRiskConfiguration(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()) .compromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationTypeProperty.builder() .actions(CompromisedCredentialsActionsTypeProperty.builder() .eventAction("eventAction") .build()) // the properties below are optional .eventFilter(List.of("eventFilter")) .build()) .riskExceptionConfiguration(RiskExceptionConfigurationTypeProperty.builder() .blockedIpRangeList(List.of("blockedIpRangeList")) .skippedIpRangeList(List.of("skippedIpRangeList")) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPoolRiskConfigurationAttachmentProps
static final class
An implementation forCfnUserPoolRiskConfigurationAttachmentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover.The app client ID.default Object
The compromised credentials risk configuration object, including theEventFilter
and theEventAction
.default Object
The configuration to override the risk decision.The user pool ID.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientId
The app client ID.You can specify the risk configuration for a single client (with a specific ClientId) or for all clients (by setting the ClientId to
ALL
). -
getUserPoolId
The user pool ID. -
getAccountTakeoverRiskConfiguration
The account takeover risk configuration object, including theNotifyConfiguration
object andActions
to take if there is an account takeover. -
getCompromisedCredentialsRiskConfiguration
The compromised credentials risk configuration object, including theEventFilter
and theEventAction
. -
getRiskExceptionConfiguration
The configuration to override the risk decision. -
builder
-