CfnCustomVerificationEmailTemplateProps Struct
Properties for defining a CfnCustomVerificationEmailTemplate.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const cfnCustomVerificationEmailTemplateProps: ses.CfnCustomVerificationEmailTemplateProps = {
failureRedirectionUrl: 'failureRedirectionUrl',
fromEmailAddress: 'fromEmailAddress',
successRedirectionUrl: 'successRedirectionUrl',
templateContent: 'templateContent',
templateName: 'templateName',
templateSubject: 'templateSubject',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
cfn_custom_verification_email_template_props = ses.CfnCustomVerificationEmailTemplateProps(
failure_redirection_url="failureRedirectionUrl",
from_email_address="fromEmailAddress",
success_redirection_url="successRedirectionUrl",
template_content="templateContent",
template_name="templateName",
template_subject="templateSubject",
# the properties below are optional
tags=[CfnTag(
key="key",
value="value"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
CfnCustomVerificationEmailTemplateProps cfnCustomVerificationEmailTemplateProps = CfnCustomVerificationEmailTemplateProps.builder()
.failureRedirectionUrl("failureRedirectionUrl")
.fromEmailAddress("fromEmailAddress")
.successRedirectionUrl("successRedirectionUrl")
.templateContent("templateContent")
.templateName("templateName")
.templateSubject("templateSubject")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var cfnCustomVerificationEmailTemplateProps = new CfnCustomVerificationEmailTemplateProps {
FailureRedirectionUrl = "failureRedirectionUrl",
FromEmailAddress = "fromEmailAddress",
SuccessRedirectionUrl = "successRedirectionUrl",
TemplateContent = "templateContent",
TemplateName = "templateName",
TemplateSubject = "templateSubject",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
cfnCustomVerificationEmailTemplateProps := &CfnCustomVerificationEmailTemplateProps{
FailureRedirectionUrl: jsii.String("failureRedirectionUrl"),
FromEmailAddress: jsii.String("fromEmailAddress"),
SuccessRedirectionUrl: jsii.String("successRedirectionUrl"),
TemplateContent: jsii.String("templateContent"),
TemplateName: jsii.String("templateName"),
TemplateSubject: jsii.String("templateSubject"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
failureRedirectionUrlstringfailure_redirection_urlstrfailureRedirectionUrlStringFailureRedirectionUrlstringFailureRedirectionUrl*string required #The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
fromEmailAddressstringfrom_email_addressstrfromEmailAddressStringFromEmailAddressstringFromEmailAddress*string required #The email address that the custom verification email is sent from.
successRedirectionUrlstringsuccess_redirection_urlstrsuccessRedirectionUrlStringSuccessRedirectionUrlstringSuccessRedirectionUrl*string required #The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags (keys and values) associated with the custom verification email template.
templateContentstringtemplate_contentstrtemplateContentStringTemplateContentstringTemplateContent*string required #The content of the custom verification email.
The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations.
templateNamestringtemplate_namestrtemplateNameStringTemplateNamestringTemplateName*string required #The name of the custom verification email template.
templateSubjectstringtemplate_subjectstrtemplateSubjectStringTemplateSubjectstringTemplateSubject*string required #The subject line of the custom verification email.