Show / Hide Table of Contents

Class CfnSmsTemplateProps

Properties for defining a CfnSmsTemplate.

Inheritance
object
CfnSmsTemplateProps
Implements
ICfnSmsTemplateProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnSmsTemplate.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-body

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

string

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-defaultsubstitutions

Tags

An array of key-value pairs to apply to this resource.

public object? Tags { get; set; }
Property Value

object

Remarks

For more information, see Tag .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-tags

TemplateDescription

A custom description of the message template.

public string? TemplateDescription { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-templatedescription

TemplateName

The name of the message template to use for the message.

public string TemplateName { get; set; }
Property Value

string

Remarks

If specified, this value must match the name of an existing message template.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html#cfn-pinpoint-smstemplate-templatename

Implements

ICfnSmsTemplateProps
Back to top Generated by DocFX