Interface CfnTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-23T18:58:27.330Z")
@Stability(Stable)
public interface CfnTemplateProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ses.*;
CfnTemplateProps cfnTemplateProps = CfnTemplateProps.builder()
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.template(TemplateProperty.builder()
.subjectPart("subjectPart")
// the properties below are optional
.htmlPart("htmlPart")
.templateName("templateName")
.textPart("textPart")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplatePropsstatic final classAn implementation forCfnTemplateProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTemplateProps.Builderbuilder()getTags()The tags (keys and values) associated with the email template.default ObjectThe content of the email, composed of a subject line and either an HTML part or a text-only part.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTags
The tags (keys and values) associated with the email template.- See Also:
-
getTemplate
The content of the email, composed of a subject line and either an HTML part or a text-only part.Returns union: either
IResolvableorCfnTemplate.TemplateProperty- See Also:
-
builder
- Returns:
- a
CfnTemplateProps.BuilderofCfnTemplateProps
-