interface CfnTemplateProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SES.CfnTemplateProps |
Java | software.amazon.awscdk.services.ses.CfnTemplateProps |
Python | aws_cdk.aws_ses.CfnTemplateProps |
TypeScript | @aws-cdk/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 * as ses from '@aws-cdk/aws-ses';
const cfnTemplateProps: ses.CfnTemplateProps = {
template: {
subjectPart: 'subjectPart',
// the properties below are optional
htmlPart: 'htmlPart',
templateName: 'templateName',
textPart: 'textPart',
},
};
Properties
Name | Type | Description |
---|---|---|
template? | IResolvable | Template | The content of the email, composed of a subject line and either an HTML part or a text-only part. |
template?
Type:
IResolvable
|
Template
(optional)
The content of the email, composed of a subject line and either an HTML part or a text-only part.