interface CfnSmsTemplateMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnSmsTemplateMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnSmsTemplateMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnSmsTemplateMixinProps |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnSmsTemplateMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnSmsTemplateMixinProps |
Properties for CfnSmsTemplatePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-smstemplate.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as pinpoint_mixins } from '@aws-cdk/mixins-preview/aws-pinpoint';
declare const tags: any;
const cfnSmsTemplateMixinProps: pinpoint_mixins.CfnSmsTemplateMixinProps = {
body: 'body',
defaultSubstitutions: 'defaultSubstitutions',
tags: tags,
templateDescription: 'templateDescription',
templateName: 'templateName',
};
Properties
| Name | Type | Description |
|---|---|---|
| body? | string | The message body to use in text messages that are based on the message template. |
| default | string | A JSON object that specifies the default values to use for message variables in the message template. |
| tags? | any | An array of key-value pairs to apply to this resource. |
| template | string | A custom description of the message template. |
| template | string | The name of the message template to use for the message. |
body?
Type:
string
(optional)
The message body to use in text messages that are based on the message template.
defaultSubstitutions?
Type:
string
(optional)
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.
tags?
Type:
any
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
templateDescription?
Type:
string
(optional)
A custom description of the message template.
templateName?
Type:
string
(optional)
The name of the message template to use for the message.
If specified, this value must match the name of an existing message template.

.NET
Go
Java
Python
TypeScript