-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnIdentity_MailFromAttributesProperty.go
32 lines (29 loc) · 1.83 KB
/
CfnIdentity_MailFromAttributesProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package awspinpointemail
// A list of attributes that are associated with a MAIL FROM domain.
//
// 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"
//
// mailFromAttributesProperty := &MailFromAttributesProperty{
// BehaviorOnMxFailure: jsii.String("behaviorOnMxFailure"),
// MailFromDomain: jsii.String("mailFromDomain"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html
//
type CfnIdentity_MailFromAttributesProperty struct {
// The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
//
// When you set this value to `UseDefaultValue` , Amazon Pinpoint uses *amazonses.com* as the MAIL FROM domain. When you set this value to `RejectMessage` , Amazon Pinpoint returns a `MailFromDomainNotVerified` error, and doesn't attempt to deliver the email.
//
// These behaviors are taken when the custom MAIL FROM domain configuration is in the `Pending` , `Failed` , and `TemporaryFailure` states.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-behavioronmxfailure
//
BehaviorOnMxFailure *string `field:"optional" json:"behaviorOnMxFailure" yaml:"behaviorOnMxFailure"`
// The name of a domain that an email identity uses as a custom MAIL FROM domain.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpointemail-identity-mailfromattributes.html#cfn-pinpointemail-identity-mailfromattributes-mailfromdomain
//
MailFromDomain *string `field:"optional" json:"mailFromDomain" yaml:"mailFromDomain"`
}