aws-cdk-lib.aws_pinpoint.CfnCampaign.TemplateConfigurationProperty

interface TemplateConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnCampaign.TemplateConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_TemplateConfigurationProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnCampaign.TemplateConfigurationProperty
Pythonaws_cdk.aws_pinpoint.CfnCampaign.TemplateConfigurationProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnCampaign » TemplateConfigurationProperty

Specifies the message template to use for the message, for each type of channel.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const templateConfigurationProperty: pinpoint.CfnCampaign.TemplateConfigurationProperty = {
  emailTemplate: {
    name: 'name',
    version: 'version',
  },
  pushTemplate: {
    name: 'name',
    version: 'version',
  },
  smsTemplate: {
    name: 'name',
    version: 'version',
  },
  voiceTemplate: {
    name: 'name',
    version: 'version',
  },
};

Properties

NameTypeDescription
emailTemplate?IResolvable | TemplatePropertyThe email template to use for the message.
pushTemplate?IResolvable | TemplatePropertyThe push notification template to use for the message.
smsTemplate?IResolvable | TemplatePropertyThe SMS template to use for the message.
voiceTemplate?IResolvable | TemplatePropertyThe voice template to use for the message.

emailTemplate?

Type: IResolvable | TemplateProperty (optional)

The email template to use for the message.


pushTemplate?

Type: IResolvable | TemplateProperty (optional)

The push notification template to use for the message.


smsTemplate?

Type: IResolvable | TemplateProperty (optional)

The SMS template to use for the message.


voiceTemplate?

Type: IResolvable | TemplateProperty (optional)

The voice template to use for the message.

This object isn't supported for campaigns.