# CfnCustomVerificationEmailTemplateProps

Properties for defining a `CfnCustomVerificationEmailTemplate`.

Used as props by: [CfnCustomVerificationEmailTemplate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ses.CfnCustomVerificationEmailTemplate.html)

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `failureRedirectionUrl`: string (required) — The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.

- `fromEmailAddress`: string (required) — The email address that the custom verification email is sent from.

- `successRedirectionUrl`: string (required) — The URL that the recipient of the verification email is sent to if his or her address is successfully verified.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags (keys and values) associated with the custom verification email template.

- `templateContent`: 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.

- `templateName`: string (required) — The name of the custom verification email template.

- `templateSubject`: string (required) — The subject line of the custom verification email.
