Class CfnSmsTemplateProps
Properties for defining a CfnSmsTemplate.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSmsTemplateProps : ICfnSmsTemplateProps
  Syntax (vb)
Public Class CfnSmsTemplateProps Implements ICfnSmsTemplateProps
  Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Pinpoint;
             var tags;
             var cfnSmsTemplateProps = new CfnSmsTemplateProps {
                 Body = "body",
                 TemplateName = "templateName",
                 // the properties below are optional
                 DefaultSubstitutions = "defaultSubstitutions",
                 Tags = tags,
                 TemplateDescription = "templateDescription"
             };
  Synopsis
Constructors
| CfnSmsTemplateProps() | Properties for defining a   | 
      
Properties
| Body | The message body to use in text messages that are based on the message template.  | 
      
| DefaultSubstitutions | A JSON object that specifies the default values to use for message variables in the message template.  | 
      
| Tags | An array of key-value pairs to apply to this resource.  | 
      
| TemplateDescription | A custom description of the message template.  | 
      
| TemplateName | The name of the message template to use for the message.  | 
      
Constructors
CfnSmsTemplateProps()
Properties for defining a CfnSmsTemplate.
public CfnSmsTemplateProps()
  Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Pinpoint;
             var tags;
             var cfnSmsTemplateProps = new CfnSmsTemplateProps {
                 Body = "body",
                 TemplateName = "templateName",
                 // the properties below are optional
                 DefaultSubstitutions = "defaultSubstitutions",
                 Tags = tags,
                 TemplateDescription = "templateDescription"
             };
  Properties
Body
The message body to use in text messages that are based on the message template.
public string Body { get; set; }
  Property Value
Remarks
DefaultSubstitutions
A JSON object that specifies the default values to use for message variables in the message template.
public string? DefaultSubstitutions { get; set; }
  Property Value
Remarks
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.
Tags
An array of key-value pairs to apply to this resource.
public object? Tags { get; set; }
  Property Value
Remarks
For more information, see Tag .
TemplateDescription
A custom description of the message template.
public string? TemplateDescription { get; set; }
  Property Value
Remarks
TemplateName
The name of the message template to use for the message.
public string TemplateName { get; set; }
  Property Value
Remarks
If specified, this value must match the name of an existing message template.