aws-cdk-lib.aws_ses.CfnTemplateProps

interface CfnTemplateProps

LanguageType name
.NETAmazon.CDK.AWS.SES.CfnTemplateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsses#CfnTemplateProps
Javasoftware.amazon.awscdk.services.ses.CfnTemplateProps
Pythonaws_cdk.aws_ses.CfnTemplateProps
TypeScript aws-cdk-lib » aws_ses » CfnTemplateProps

Properties for defining a CfnTemplate.

Example

// 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 cfnTemplateProps: ses.CfnTemplateProps = {
  template: {
    subjectPart: 'subjectPart',

    // the properties below are optional
    htmlPart: 'htmlPart',
    templateName: 'templateName',
    textPart: 'textPart',
  },
};

Properties

NameTypeDescription
template?IResolvable | TemplatePropertyThe content of the email, composed of a subject line and either an HTML part or a text-only part.

template?

Type: IResolvable | TemplateProperty (optional)

The content of the email, composed of a subject line and either an HTML part or a text-only part.