Class CfnCampaign
- All Implemented Interfaces:
IInspectable,ITaggable,ICampaignRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
A campaign is a messaging initiative that engages a specific segment of users for an Amazon Pinpoint application.
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.*;
Object attributes;
Object customConfig;
Object metrics;
Object tags;
CfnCampaign cfnCampaign = CfnCampaign.Builder.create(this, "MyCfnCampaign")
.applicationId("applicationId")
.name("name")
.schedule(ScheduleProperty.builder()
.endTime("endTime")
.eventFilter(CampaignEventFilterProperty.builder()
.dimensions(EventDimensionsProperty.builder()
.attributes(attributes)
.eventType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.metrics(metrics)
.build())
.filterType("filterType")
.build())
.frequency("frequency")
.isLocalTime(false)
.quietTime(QuietTimeProperty.builder()
.end("end")
.start("start")
.build())
.startTime("startTime")
.timeZone("timeZone")
.build())
.segmentId("segmentId")
// the properties below are optional
.additionalTreatments(List.of(WriteTreatmentResourceProperty.builder()
.customDeliveryConfiguration(CustomDeliveryConfigurationProperty.builder()
.deliveryUri("deliveryUri")
.endpointTypes(List.of("endpointTypes"))
.build())
.messageConfiguration(MessageConfigurationProperty.builder()
.admMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.apnsMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.baiduMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.customMessage(CampaignCustomMessageProperty.builder()
.data("data")
.build())
.defaultMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.emailMessage(CampaignEmailMessageProperty.builder()
.body("body")
.fromAddress("fromAddress")
.htmlBody("htmlBody")
.title("title")
.build())
.gcmMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.inAppMessage(CampaignInAppMessageProperty.builder()
.content(List.of(InAppMessageContentProperty.builder()
.backgroundColor("backgroundColor")
.bodyConfig(InAppMessageBodyConfigProperty.builder()
.alignment("alignment")
.body("body")
.textColor("textColor")
.build())
.headerConfig(InAppMessageHeaderConfigProperty.builder()
.alignment("alignment")
.header("header")
.textColor("textColor")
.build())
.imageUrl("imageUrl")
.primaryBtn(InAppMessageButtonProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.secondaryBtn(InAppMessageButtonProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.build()))
.customConfig(customConfig)
.layout("layout")
.build())
.smsMessage(CampaignSmsMessageProperty.builder()
.body("body")
.entityId("entityId")
.messageType("messageType")
.originationNumber("originationNumber")
.senderId("senderId")
.templateId("templateId")
.build())
.build())
.schedule(ScheduleProperty.builder()
.endTime("endTime")
.eventFilter(CampaignEventFilterProperty.builder()
.dimensions(EventDimensionsProperty.builder()
.attributes(attributes)
.eventType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.metrics(metrics)
.build())
.filterType("filterType")
.build())
.frequency("frequency")
.isLocalTime(false)
.quietTime(QuietTimeProperty.builder()
.end("end")
.start("start")
.build())
.startTime("startTime")
.timeZone("timeZone")
.build())
.sizePercent(123)
.templateConfiguration(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())
.treatmentDescription("treatmentDescription")
.treatmentName("treatmentName")
.build()))
.campaignHook(CampaignHookProperty.builder()
.lambdaFunctionName("lambdaFunctionName")
.mode("mode")
.webUrl("webUrl")
.build())
.customDeliveryConfiguration(CustomDeliveryConfigurationProperty.builder()
.deliveryUri("deliveryUri")
.endpointTypes(List.of("endpointTypes"))
.build())
.description("description")
.holdoutPercent(123)
.isPaused(false)
.limits(LimitsProperty.builder()
.daily(123)
.maximumDuration(123)
.messagesPerSecond(123)
.session(123)
.total(123)
.build())
.messageConfiguration(MessageConfigurationProperty.builder()
.admMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.apnsMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.baiduMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.customMessage(CampaignCustomMessageProperty.builder()
.data("data")
.build())
.defaultMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.emailMessage(CampaignEmailMessageProperty.builder()
.body("body")
.fromAddress("fromAddress")
.htmlBody("htmlBody")
.title("title")
.build())
.gcmMessage(MessageProperty.builder()
.action("action")
.body("body")
.imageIconUrl("imageIconUrl")
.imageSmallIconUrl("imageSmallIconUrl")
.imageUrl("imageUrl")
.jsonBody("jsonBody")
.mediaUrl("mediaUrl")
.rawContent("rawContent")
.silentPush(false)
.timeToLive(123)
.title("title")
.url("url")
.build())
.inAppMessage(CampaignInAppMessageProperty.builder()
.content(List.of(InAppMessageContentProperty.builder()
.backgroundColor("backgroundColor")
.bodyConfig(InAppMessageBodyConfigProperty.builder()
.alignment("alignment")
.body("body")
.textColor("textColor")
.build())
.headerConfig(InAppMessageHeaderConfigProperty.builder()
.alignment("alignment")
.header("header")
.textColor("textColor")
.build())
.imageUrl("imageUrl")
.primaryBtn(InAppMessageButtonProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.secondaryBtn(InAppMessageButtonProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.build()))
.customConfig(customConfig)
.layout("layout")
.build())
.smsMessage(CampaignSmsMessageProperty.builder()
.body("body")
.entityId("entityId")
.messageType("messageType")
.originationNumber("originationNumber")
.senderId("senderId")
.templateId("templateId")
.build())
.build())
.priority(123)
.segmentVersion(123)
.tags(tags)
.templateConfiguration(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())
.treatmentDescription("treatmentDescription")
.treatmentName("treatmentName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceExample:static final classA fluent builder forCfnCampaign.static interfaceSpecifies the contents of a message that's sent through a custom channel to recipients of a campaign.static interfaceSpecifies the content and "From" address for an email message that's sent to recipients of a campaign.static interfaceSpecifies the settings for events that cause a campaign to be sent.static interfaceSpecifies settings for invoking an Lambda function that customizes a segment for a campaign.static interfaceSpecifies the appearance of an in-app message, including the message type, the title and body text, text and background colors, and the configurations of buttons that appear in the message.static interfaceSpecifies the content and settings for an SMS message that's sent to recipients of a campaign.static interfaceSpecifies the delivery configuration settings for sending a campaign or campaign treatment through a custom channel.static interfaceSpecifies the default behavior for a button that appears in an in-app message.static interfaceSpecifies the dimensions for an event filter that determines when a campaign is sent or a journey activity is performed.static interfaceSpecifies the configuration of main body text of the in-app message.static interfaceSpecifies the configuration of a button that appears in an in-app message.static interfaceSpecifies the configuration and contents of an in-app message.static interfaceSpecifies the configuration and content of the header or title text of the in-app message.static interfaceSpecifies the limits on the messages that a campaign can send.static interfaceSpecifies the message configuration settings for a campaign.static interfaceSpecifies the content and settings for a push notification that's sent to recipients of a campaign.static interfaceExample:static interfaceSpecifies the configuration of a button with settings that are specific to a certain device type.static interfaceSpecifies the start and end times that define a time range when messages aren't sent to endpoints.static interfaceSpecifies the schedule settings for a campaign.static interfaceSpecifies the dimension type and values for a segment dimension.static interfaceSpecifies the message template to use for the message, for each type of channel.static interfaceSpecifies the name and version of the message template to use for the message.static interfaceSpecifies the settings for a campaign treatment.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.pinpoint.ICampaignRef
ICampaignRef.Jsii$Default, ICampaignRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCampaign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCampaign(software.amazon.jsii.JsiiObjectRef objRef) CfnCampaign(software.constructs.Construct scope, String id, CfnCampaignProps props) -
Method Summary
Modifier and TypeMethodDescriptionAn array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.The unique identifier for the Amazon Pinpoint application that the campaign is associated with.The Amazon Resource Name (ARN) of the campaign.The unique identifier for the campaign.Specifies the Lambda function to use as a code hook for a campaign.A reference to a Campaign resource.The delivery configuration settings for sending the treatment through a custom channel.A custom description of the campaign.The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.Specifies whether to pause the campaign.The messaging limits for the campaign.The message configuration settings for the treatment.getName()The name of the campaign.An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest.The schedule settings for the treatment.The unique identifier for the segment to associate with the campaign.The version of the segment to associate with the campaign.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.The message template to use for the treatment.A custom description of the treatment.A custom name for the treatment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdditionalTreatments(List<Object> value) An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.voidAn array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.voidsetApplicationId(String value) The unique identifier for the Amazon Pinpoint application that the campaign is associated with.voidsetCampaignHook(IResolvable value) Specifies the Lambda function to use as a code hook for a campaign.voidSpecifies the Lambda function to use as a code hook for a campaign.voidThe delivery configuration settings for sending the treatment through a custom channel.voidThe delivery configuration settings for sending the treatment through a custom channel.voidsetDescription(String value) A custom description of the campaign.voidsetHoldoutPercent(Number value) The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.voidsetIsPaused(Boolean value) Specifies whether to pause the campaign.voidsetIsPaused(IResolvable value) Specifies whether to pause the campaign.voidsetLimits(IResolvable value) The messaging limits for the campaign.voidThe messaging limits for the campaign.voidThe message configuration settings for the treatment.voidThe message configuration settings for the treatment.voidThe name of the campaign.voidsetPriority(Number value) An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest.voidsetSchedule(IResolvable value) The schedule settings for the treatment.voidThe schedule settings for the treatment.voidsetSegmentId(String value) The unique identifier for the segment to associate with the campaign.voidsetSegmentVersion(Number value) The version of the segment to associate with the campaign.voidsetTagsRaw(Object value) An array of key-value pairs to apply to this resource.voidThe message template to use for the treatment.voidThe message template to use for the treatment.voidsetTreatmentDescription(String value) A custom description of the treatment.voidsetTreatmentName(String value) A custom name for the treatment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCampaign
protected CfnCampaign(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCampaign
protected CfnCampaign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCampaign
@Stability(Stable) public CfnCampaign(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCampaignProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the campaign. -
getAttrCampaignId
The unique identifier for the campaign. -
getCampaignRef
A reference to a Campaign resource.- Specified by:
getCampaignRefin interfaceICampaignRef
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getApplicationId
The unique identifier for the Amazon Pinpoint application that the campaign is associated with. -
setApplicationId
The unique identifier for the Amazon Pinpoint application that the campaign is associated with. -
getName
The name of the campaign. -
setName
The name of the campaign. -
getSchedule
The schedule settings for the treatment.Returns union: either
IResolvableorCfnCampaign.ScheduleProperty -
setSchedule
The schedule settings for the treatment. -
setSchedule
The schedule settings for the treatment. -
getSegmentId
The unique identifier for the segment to associate with the campaign. -
setSegmentId
The unique identifier for the segment to associate with the campaign. -
getAdditionalTreatments
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCampaign.WriteTreatmentResourceProperty> -
setAdditionalTreatments
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign. -
setAdditionalTreatments
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign. -
getCampaignHook
Specifies the Lambda function to use as a code hook for a campaign.Returns union: either
IResolvableorCfnCampaign.CampaignHookProperty -
setCampaignHook
Specifies the Lambda function to use as a code hook for a campaign. -
setCampaignHook
Specifies the Lambda function to use as a code hook for a campaign. -
getCustomDeliveryConfiguration
The delivery configuration settings for sending the treatment through a custom channel.Returns union: either
IResolvableorCfnCampaign.CustomDeliveryConfigurationProperty -
setCustomDeliveryConfiguration
The delivery configuration settings for sending the treatment through a custom channel. -
setCustomDeliveryConfiguration
@Stability(Stable) public void setCustomDeliveryConfiguration(@Nullable CfnCampaign.CustomDeliveryConfigurationProperty value) The delivery configuration settings for sending the treatment through a custom channel. -
getDescription
A custom description of the campaign. -
setDescription
A custom description of the campaign. -
getHoldoutPercent
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign. -
setHoldoutPercent
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign. -
getIsPaused
Specifies whether to pause the campaign.Returns union: either
BooleanorIResolvable -
setIsPaused
Specifies whether to pause the campaign. -
setIsPaused
Specifies whether to pause the campaign. -
getLimits
The messaging limits for the campaign.Returns union: either
IResolvableorCfnCampaign.LimitsProperty -
setLimits
The messaging limits for the campaign. -
setLimits
The messaging limits for the campaign. -
getMessageConfiguration
The message configuration settings for the treatment.Returns union: either
IResolvableorCfnCampaign.MessageConfigurationProperty -
setMessageConfiguration
The message configuration settings for the treatment. -
setMessageConfiguration
@Stability(Stable) public void setMessageConfiguration(@Nullable CfnCampaign.MessageConfigurationProperty value) The message configuration settings for the treatment. -
getPriority
An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest. -
setPriority
An integer between 1 and 5, inclusive, that represents the priority of the in-app message campaign, where 1 is the highest priority and 5 is the lowest. -
getSegmentVersion
The version of the segment to associate with the campaign. -
setSegmentVersion
The version of the segment to associate with the campaign. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getTemplateConfiguration
The message template to use for the treatment.Returns union: either
IResolvableorCfnCampaign.TemplateConfigurationProperty -
setTemplateConfiguration
The message template to use for the treatment. -
setTemplateConfiguration
@Stability(Stable) public void setTemplateConfiguration(@Nullable CfnCampaign.TemplateConfigurationProperty value) The message template to use for the treatment. -
getTreatmentDescription
A custom description of the treatment. -
setTreatmentDescription
A custom description of the treatment. -
getTreatmentName
A custom name for the treatment. -
setTreatmentName
A custom name for the treatment.
-