CfnTemplateProps
- class aws_cdk.aws_ses.CfnTemplateProps(*, tags=None, template=None)
Bases:
objectProperties for defining a
CfnTemplate.- Parameters:
tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags (keys and values) associated with the email template.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.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html
- ExampleMetadata:
fixture=_generated
Example:
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_template_props = ses.CfnTemplateProps( tags=[CfnTag( key="key", value="value" )], template=ses.CfnTemplate.TemplateProperty( subject_part="subjectPart", # the properties below are optional html_part="htmlPart", template_name="templateName", text_part="textPart" ) )
Attributes
- tags
The tags (keys and values) associated with the email template.
- template
The content of the email, composed of a subject line and either an HTML part or a text-only part.