Interface CfnSmsTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSmsTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.886Z")
@Stability(Stable)
public interface CfnSmsTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSmsTemplate
.
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.pinpoint.*; Object tags; CfnSmsTemplateProps cfnSmsTemplateProps = CfnSmsTemplateProps.builder() .body("body") .templateName("templateName") // the properties below are optional .defaultSubstitutions("defaultSubstitutions") .tags(tags) .templateDescription("templateDescription") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSmsTemplateProps
static final class
An implementation forCfnSmsTemplateProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSmsTemplateProps.Builder
builder()
getBody()
The message body to use in text messages that are based on the message template.default String
A JSON object that specifies the default values to use for message variables in the message template.default Object
getTags()
An array of key-value pairs to apply to this resource.default String
A custom description of the message template.The name of the message template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBody
The message body to use in text messages that are based on the message template. -
getTemplateName
The name of the message template. -
getDefaultSubstitutions
A JSON object that specifies the default values to use for message variables in the message template.This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getTemplateDescription
A custom description of the message template. -
builder
- Returns:
- a
CfnSmsTemplateProps.Builder
ofCfnSmsTemplateProps
-