Interface CfnMessageTemplatePropsMixin.EmailMessageTemplateContentBodyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMessageTemplatePropsMixin.EmailMessageTemplateContentBodyProperty.Jsii$Proxy
- Enclosing class:
CfnMessageTemplatePropsMixin
@Stability(Stable)
public static interface CfnMessageTemplatePropsMixin.EmailMessageTemplateContentBodyProperty
extends software.amazon.jsii.JsiiSerializable
The body to use in email messages.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.wisdom.*;
EmailMessageTemplateContentBodyProperty emailMessageTemplateContentBodyProperty = EmailMessageTemplateContentBodyProperty.builder()
.html(MessageTemplateBodyContentProviderProperty.builder()
.content("content")
.build())
.plainText(MessageTemplateBodyContentProviderProperty.builder()
.content("content")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnMessageTemplatePropsMixin.EmailMessageTemplateContentBodyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHtml
The message body, in HTML format, to use in email messages that are based on the message template.We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
Returns union: either
IResolvableorCfnMessageTemplatePropsMixin.MessageTemplateBodyContentProviderProperty- See Also:
-
getPlainText
The message body, in plain text format, to use in email messages that are based on the message template.We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
Returns union: either
IResolvableorCfnMessageTemplatePropsMixin.MessageTemplateBodyContentProviderProperty- See Also:
-
builder
@Stability(Stable) static CfnMessageTemplatePropsMixin.EmailMessageTemplateContentBodyProperty.Builder builder()
-