Interface CfnCampaign.TemplateConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.TemplateConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnCampaign
@Stability(Stable)
public static interface CfnCampaign.TemplateConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.pinpoint.*;
TemplateConfigurationProperty templateConfigurationProperty = TemplateConfigurationProperty.builder()
.emailTemplate(TemplateProperty.builder()
.name("name")
.version("version")
.build())
.pushTemplate(TemplateProperty.builder()
.name("name")
.version("version")
.build())
.smsTemplate(TemplateProperty.builder()
.name("name")
.version("version")
.build())
.voiceTemplate(TemplateProperty.builder()
.name("name")
.version("version")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.TemplateConfigurationPropertystatic final classAn implementation forCfnCampaign.TemplateConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmailTemplate
The email template to use for the message.Returns union: either
IResolvableorCfnCampaign.TemplateProperty- See Also:
-
getPushTemplate
The push notification template to use for the message.Returns union: either
IResolvableorCfnCampaign.TemplateProperty- See Also:
-
getSmsTemplate
The SMS template to use for the message.Returns union: either
IResolvableorCfnCampaign.TemplateProperty- See Also:
-
getVoiceTemplate
The voice template to use for the message.This object isn't supported for campaigns.
Returns union: either
IResolvableorCfnCampaign.TemplateProperty- See Also:
-
builder
-