@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.249Z") @Stability(value=Stable) public interface CfnSmsTemplateProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSmsTemplateProps.Builder
A builder for
CfnSmsTemplateProps |
static class |
CfnSmsTemplateProps.Jsii$Proxy
An implementation for
CfnSmsTemplateProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSmsTemplateProps.Builder |
builder() |
String |
getBody()
The message body to use in text messages that are based on the message template.
|
default String |
getDefaultSubstitutions()
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 |
getTemplateDescription()
A custom description of the message template.
|
String |
getTemplateName()
The name of the message template.
|
@Stability(value=Stable) @NotNull String getBody()
@Stability(value=Stable) @NotNull String getTemplateName()
@Stability(value=Stable) @Nullable default String getDefaultSubstitutions()
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.
@Stability(value=Stable) @Nullable default Object getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default String getTemplateDescription()
@Stability(value=Stable) static CfnSmsTemplateProps.Builder builder()
CfnSmsTemplateProps.Builder of CfnSmsTemplatePropsCopyright © 2022. All rights reserved.