aws-cdk-lib.aws_cognito.CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty

interface NotifyConfigurationTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnUserPoolRiskConfigurationAttachment_NotifyConfigurationTypeProperty
Javasoftware.amazon.awscdk.services.cognito.CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
Pythonaws_cdk.aws_cognito.CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty
TypeScript aws-cdk-lib » aws_cognito » CfnUserPoolRiskConfigurationAttachment » NotifyConfigurationTypeProperty

The notify configuration type.

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 notifyConfigurationTypeProperty: cognito.CfnUserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty = {
  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

NameTypeDescription
sourceArnstringThe Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
blockEmail?IResolvable | NotifyEmailTypePropertyEmail template used when a detected risk event is blocked.
from?stringThe email address that is sending the email.
mfaEmail?IResolvable | NotifyEmailTypePropertyThe multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
noActionEmail?IResolvable | NotifyEmailTypePropertyThe email template used when a detected risk event is allowed.
replyTo?stringThe destination to which the receiver of an email should reply to.

sourceArn

Type: string

The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.

This identity permits Amazon Cognito to send for the email address specified in the From parameter.


blockEmail?

Type: IResolvable | NotifyEmailTypeProperty (optional)

Email template used when a detected risk event is blocked.


from?

Type: string (optional)

The email address that is sending the email.

The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.


mfaEmail?

Type: IResolvable | NotifyEmailTypeProperty (optional)

The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.


noActionEmail?

Type: IResolvable | NotifyEmailTypeProperty (optional)

The email template used when a detected risk event is allowed.


replyTo?

Type: string (optional)

The destination to which the receiver of an email should reply to.