Class CfnSmsTemplateMixinProps
Properties for CfnSmsTemplatePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSmsTemplateMixinProps : ICfnSmsTemplateMixinProps
Syntax (vb)
Public Class CfnSmsTemplateMixinProps Implements ICfnSmsTemplateMixinProps
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.Mixins.Preview.AWS.Pinpoint.Mixins;
var tags;
var cfnSmsTemplateMixinProps = new CfnSmsTemplateMixinProps {
Body = "body",
DefaultSubstitutions = "defaultSubstitutions",
Tags = tags,
TemplateDescription = "templateDescription",
TemplateName = "templateName"
};
Synopsis
Constructors
| CfnSmsTemplateMixinProps() | Properties for CfnSmsTemplatePropsMixin. |
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
CfnSmsTemplateMixinProps()
Properties for CfnSmsTemplatePropsMixin.
public CfnSmsTemplateMixinProps()
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.Mixins.Preview.AWS.Pinpoint.Mixins;
var tags;
var cfnSmsTemplateMixinProps = new CfnSmsTemplateMixinProps {
Body = "body",
DefaultSubstitutions = "defaultSubstitutions",
Tags = tags,
TemplateDescription = "templateDescription",
TemplateName = "templateName"
};
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.