Interface CfnSmsTemplateProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.886Z") @Stability(Stable) public interface CfnSmsTemplateProps extends
Properties for defining a CfnSmsTemplate.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object tags;
 CfnSmsTemplateProps cfnSmsTemplateProps = CfnSmsTemplateProps.builder()
         // the properties below are optional
  • 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()
      a CfnSmsTemplateProps.Builder of CfnSmsTemplateProps