package awscognito // 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 "github.com/aws/aws-cdk-go/awscdk" // // notifyConfigurationTypeProperty := &NotifyConfigurationTypeProperty{ // SourceArn: jsii.String("sourceArn"), // // // the properties below are optional // BlockEmail: &NotifyEmailTypeProperty{ // Subject: jsii.String("subject"), // // // the properties below are optional // HtmlBody: jsii.String("htmlBody"), // TextBody: jsii.String("textBody"), // }, // From: jsii.String("from"), // MfaEmail: &NotifyEmailTypeProperty{ // Subject: jsii.String("subject"), // // // the properties below are optional // HtmlBody: jsii.String("htmlBody"), // TextBody: jsii.String("textBody"), // }, // NoActionEmail: &NotifyEmailTypeProperty{ // Subject: jsii.String("subject"), // // // the properties below are optional // HtmlBody: jsii.String("htmlBody"), // TextBody: jsii.String("textBody"), // }, // ReplyTo: jsii.String("replyTo"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html // type CfnUserPoolRiskConfigurationAttachment_NotifyConfigurationTypeProperty struct { // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-sourcearn // SourceArn *string `field:"required" json:"sourceArn" yaml:"sourceArn"` // Email template used when a detected risk event is blocked. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-blockemail // BlockEmail interface{} `field:"optional" json:"blockEmail" yaml:"blockEmail"` // 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. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-from // From *string `field:"optional" json:"from" yaml:"from"` // The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-mfaemail // MfaEmail interface{} `field:"optional" json:"mfaEmail" yaml:"mfaEmail"` // The email template used when a detected risk event is allowed. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-noactionemail // NoActionEmail interface{} `field:"optional" json:"noActionEmail" yaml:"noActionEmail"` // The destination to which the receiver of an email should reply to. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype.html#cfn-cognito-userpoolriskconfigurationattachment-notifyconfigurationtype-replyto // ReplyTo *string `field:"optional" json:"replyTo" yaml:"replyTo"` }