CfnTemplateProps

class aws_cdk.aws_ses.CfnTemplateProps(*, template=None)

Bases: object

Properties for defining a CfnTemplate.

Parameters:

template (Union[IResolvable, TemplateProperty, Dict[str, Any], None]) – The content of the email, composed of a subject line and either an HTML part or a text-only part.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ses as ses

cfn_template_props = ses.CfnTemplateProps(
    template=ses.CfnTemplate.TemplateProperty(
        subject_part="subjectPart",

        # the properties below are optional
        html_part="htmlPart",
        template_name="templateName",
        text_part="textPart"
    )
)

Attributes

template

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html#cfn-ses-template-template