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();
 
  • Method Details

    • getBody

      @Stability(Stable) @NotNull String getBody()
      The message body to use in text messages that are based on the message template.
    • getTemplateName

      @Stability(Stable) @NotNull String getTemplateName()
      The name of the message template.
    • getDefaultSubstitutions

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Object getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • getTemplateDescription

      @Stability(Stable) @Nullable default String getTemplateDescription()
      A custom description of the message template.
    • builder

      @Stability(Stable) static CfnSmsTemplateProps.Builder builder()
      Returns:
      a CfnSmsTemplateProps.Builder of CfnSmsTemplateProps