Skip to content
v2.278.0

MessageConfigurationProperty Struct ​

Specifies the message configuration settings for a campaign.

Example ​

ts
// 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';

declare const customConfig: any;
const messageConfigurationProperty: pinpoint.CfnCampaign.MessageConfigurationProperty = {
  admMessage: {
    action: 'action',
    body: 'body',
    imageIconUrl: 'imageIconUrl',
    imageSmallIconUrl: 'imageSmallIconUrl',
    imageUrl: 'imageUrl',
    jsonBody: 'jsonBody',
    mediaUrl: 'mediaUrl',
    rawContent: 'rawContent',
    silentPush: false,
    timeToLive: 123,
    title: 'title',
    url: 'url',
  },
  apnsMessage: {
    action: 'action',
    body: 'body',
    imageIconUrl: 'imageIconUrl',
    imageSmallIconUrl: 'imageSmallIconUrl',
    imageUrl: 'imageUrl',
    jsonBody: 'jsonBody',
    mediaUrl: 'mediaUrl',
    rawContent: 'rawContent',
    silentPush: false,
    timeToLive: 123,
    title: 'title',
    url: 'url',
  },
  baiduMessage: {
    action: 'action',
    body: 'body',
    imageIconUrl: 'imageIconUrl',
    imageSmallIconUrl: 'imageSmallIconUrl',
    imageUrl: 'imageUrl',
    jsonBody: 'jsonBody',
    mediaUrl: 'mediaUrl',
    rawContent: 'rawContent',
    silentPush: false,
    timeToLive: 123,
    title: 'title',
    url: 'url',
  },
  customMessage: {
    data: 'data',
  },
  defaultMessage: {
    action: 'action',
    body: 'body',
    imageIconUrl: 'imageIconUrl',
    imageSmallIconUrl: 'imageSmallIconUrl',
    imageUrl: 'imageUrl',
    jsonBody: 'jsonBody',
    mediaUrl: 'mediaUrl',
    rawContent: 'rawContent',
    silentPush: false,
    timeToLive: 123,
    title: 'title',
    url: 'url',
  },
  emailMessage: {
    body: 'body',
    fromAddress: 'fromAddress',
    htmlBody: 'htmlBody',
    title: 'title',
  },
  gcmMessage: {
    action: 'action',
    body: 'body',
    imageIconUrl: 'imageIconUrl',
    imageSmallIconUrl: 'imageSmallIconUrl',
    imageUrl: 'imageUrl',
    jsonBody: 'jsonBody',
    mediaUrl: 'mediaUrl',
    rawContent: 'rawContent',
    silentPush: false,
    timeToLive: 123,
    title: 'title',
    url: 'url',
  },
  inAppMessage: {
    content: [{
      backgroundColor: 'backgroundColor',
      bodyConfig: {
        alignment: 'alignment',
        body: 'body',
        textColor: 'textColor',
      },
      headerConfig: {
        alignment: 'alignment',
        header: 'header',
        textColor: 'textColor',
      },
      imageUrl: 'imageUrl',
      primaryBtn: {
        android: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
        defaultConfig: {
          backgroundColor: 'backgroundColor',
          borderRadius: 123,
          buttonAction: 'buttonAction',
          link: 'link',
          text: 'text',
          textColor: 'textColor',
        },
        ios: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
        web: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
      },
      secondaryBtn: {
        android: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
        defaultConfig: {
          backgroundColor: 'backgroundColor',
          borderRadius: 123,
          buttonAction: 'buttonAction',
          link: 'link',
          text: 'text',
          textColor: 'textColor',
        },
        ios: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
        web: {
          buttonAction: 'buttonAction',
          link: 'link',
        },
      },
    }],
    customConfig: customConfig,
    layout: 'layout',
  },
  smsMessage: {
    body: 'body',
    entityId: 'entityId',
    messageType: 'messageType',
    originationNumber: 'originationNumber',
    senderId: 'senderId',
    templateId: 'templateId',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint

# custom_config: Any

message_configuration_property = pinpoint.CfnCampaign.MessageConfigurationProperty(
    adm_message=pinpoint.CfnCampaign.MessageProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_small_icon_url="imageSmallIconUrl",
        image_url="imageUrl",
        json_body="jsonBody",
        media_url="mediaUrl",
        raw_content="rawContent",
        silent_push=False,
        time_to_live=123,
        title="title",
        url="url"
    ),
    apns_message=pinpoint.CfnCampaign.MessageProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_small_icon_url="imageSmallIconUrl",
        image_url="imageUrl",
        json_body="jsonBody",
        media_url="mediaUrl",
        raw_content="rawContent",
        silent_push=False,
        time_to_live=123,
        title="title",
        url="url"
    ),
    baidu_message=pinpoint.CfnCampaign.MessageProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_small_icon_url="imageSmallIconUrl",
        image_url="imageUrl",
        json_body="jsonBody",
        media_url="mediaUrl",
        raw_content="rawContent",
        silent_push=False,
        time_to_live=123,
        title="title",
        url="url"
    ),
    custom_message=pinpoint.CfnCampaign.CampaignCustomMessageProperty(
        data="data"
    ),
    default_message=pinpoint.CfnCampaign.MessageProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_small_icon_url="imageSmallIconUrl",
        image_url="imageUrl",
        json_body="jsonBody",
        media_url="mediaUrl",
        raw_content="rawContent",
        silent_push=False,
        time_to_live=123,
        title="title",
        url="url"
    ),
    email_message=pinpoint.CfnCampaign.CampaignEmailMessageProperty(
        body="body",
        from_address="fromAddress",
        html_body="htmlBody",
        title="title"
    ),
    gcm_message=pinpoint.CfnCampaign.MessageProperty(
        action="action",
        body="body",
        image_icon_url="imageIconUrl",
        image_small_icon_url="imageSmallIconUrl",
        image_url="imageUrl",
        json_body="jsonBody",
        media_url="mediaUrl",
        raw_content="rawContent",
        silent_push=False,
        time_to_live=123,
        title="title",
        url="url"
    ),
    in_app_message=pinpoint.CfnCampaign.CampaignInAppMessageProperty(
        content=[pinpoint.CfnCampaign.InAppMessageContentProperty(
            background_color="backgroundColor",
            body_config=pinpoint.CfnCampaign.InAppMessageBodyConfigProperty(
                alignment="alignment",
                body="body",
                text_color="textColor"
            ),
            header_config=pinpoint.CfnCampaign.InAppMessageHeaderConfigProperty(
                alignment="alignment",
                header="header",
                text_color="textColor"
            ),
            image_url="imageUrl",
            primary_btn=pinpoint.CfnCampaign.InAppMessageButtonProperty(
                android=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                ),
                default_config=pinpoint.CfnCampaign.DefaultButtonConfigurationProperty(
                    background_color="backgroundColor",
                    border_radius=123,
                    button_action="buttonAction",
                    link="link",
                    text="text",
                    text_color="textColor"
                ),
                ios=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                ),
                web=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                )
            ),
            secondary_btn=pinpoint.CfnCampaign.InAppMessageButtonProperty(
                android=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                ),
                default_config=pinpoint.CfnCampaign.DefaultButtonConfigurationProperty(
                    background_color="backgroundColor",
                    border_radius=123,
                    button_action="buttonAction",
                    link="link",
                    text="text",
                    text_color="textColor"
                ),
                ios=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                ),
                web=pinpoint.CfnCampaign.OverrideButtonConfigurationProperty(
                    button_action="buttonAction",
                    link="link"
                )
            )
        )],
        custom_config=custom_config,
        layout="layout"
    ),
    sms_message=pinpoint.CfnCampaign.CampaignSmsMessageProperty(
        body="body",
        entity_id="entityId",
        message_type="messageType",
        origination_number="originationNumber",
        sender_id="senderId",
        template_id="templateId"
    )
)
java
// 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 customConfig;

MessageConfigurationProperty messageConfigurationProperty = 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 customConfig;

var messageConfigurationProperty = new MessageConfigurationProperty {
    AdmMessage = new MessageProperty {
        Action = "action",
        Body = "body",
        ImageIconUrl = "imageIconUrl",
        ImageSmallIconUrl = "imageSmallIconUrl",
        ImageUrl = "imageUrl",
        JsonBody = "jsonBody",
        MediaUrl = "mediaUrl",
        RawContent = "rawContent",
        SilentPush = false,
        TimeToLive = 123,
        Title = "title",
        Url = "url"
    },
    ApnsMessage = new MessageProperty {
        Action = "action",
        Body = "body",
        ImageIconUrl = "imageIconUrl",
        ImageSmallIconUrl = "imageSmallIconUrl",
        ImageUrl = "imageUrl",
        JsonBody = "jsonBody",
        MediaUrl = "mediaUrl",
        RawContent = "rawContent",
        SilentPush = false,
        TimeToLive = 123,
        Title = "title",
        Url = "url"
    },
    BaiduMessage = new MessageProperty {
        Action = "action",
        Body = "body",
        ImageIconUrl = "imageIconUrl",
        ImageSmallIconUrl = "imageSmallIconUrl",
        ImageUrl = "imageUrl",
        JsonBody = "jsonBody",
        MediaUrl = "mediaUrl",
        RawContent = "rawContent",
        SilentPush = false,
        TimeToLive = 123,
        Title = "title",
        Url = "url"
    },
    CustomMessage = new CampaignCustomMessageProperty {
        Data = "data"
    },
    DefaultMessage = new MessageProperty {
        Action = "action",
        Body = "body",
        ImageIconUrl = "imageIconUrl",
        ImageSmallIconUrl = "imageSmallIconUrl",
        ImageUrl = "imageUrl",
        JsonBody = "jsonBody",
        MediaUrl = "mediaUrl",
        RawContent = "rawContent",
        SilentPush = false,
        TimeToLive = 123,
        Title = "title",
        Url = "url"
    },
    EmailMessage = new CampaignEmailMessageProperty {
        Body = "body",
        FromAddress = "fromAddress",
        HtmlBody = "htmlBody",
        Title = "title"
    },
    GcmMessage = new MessageProperty {
        Action = "action",
        Body = "body",
        ImageIconUrl = "imageIconUrl",
        ImageSmallIconUrl = "imageSmallIconUrl",
        ImageUrl = "imageUrl",
        JsonBody = "jsonBody",
        MediaUrl = "mediaUrl",
        RawContent = "rawContent",
        SilentPush = false,
        TimeToLive = 123,
        Title = "title",
        Url = "url"
    },
    InAppMessage = new CampaignInAppMessageProperty {
        Content = new [] { new InAppMessageContentProperty {
            BackgroundColor = "backgroundColor",
            BodyConfig = new InAppMessageBodyConfigProperty {
                Alignment = "alignment",
                Body = "body",
                TextColor = "textColor"
            },
            HeaderConfig = new InAppMessageHeaderConfigProperty {
                Alignment = "alignment",
                Header = "header",
                TextColor = "textColor"
            },
            ImageUrl = "imageUrl",
            PrimaryBtn = new InAppMessageButtonProperty {
                Android = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                },
                DefaultConfig = new DefaultButtonConfigurationProperty {
                    BackgroundColor = "backgroundColor",
                    BorderRadius = 123,
                    ButtonAction = "buttonAction",
                    Link = "link",
                    Text = "text",
                    TextColor = "textColor"
                },
                Ios = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                },
                Web = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                }
            },
            SecondaryBtn = new InAppMessageButtonProperty {
                Android = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                },
                DefaultConfig = new DefaultButtonConfigurationProperty {
                    BackgroundColor = "backgroundColor",
                    BorderRadius = 123,
                    ButtonAction = "buttonAction",
                    Link = "link",
                    Text = "text",
                    TextColor = "textColor"
                },
                Ios = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                },
                Web = new OverrideButtonConfigurationProperty {
                    ButtonAction = "buttonAction",
                    Link = "link"
                }
            }
        } },
        CustomConfig = customConfig,
        Layout = "layout"
    },
    SmsMessage = new CampaignSmsMessageProperty {
        Body = "body",
        EntityId = "entityId",
        MessageType = "messageType",
        OriginationNumber = "originationNumber",
        SenderId = "senderId",
        TemplateId = "templateId"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var customConfig interface{}

messageConfigurationProperty := &MessageConfigurationProperty{
	AdmMessage: &MessageProperty{
		Action: jsii.String("action"),
		Body: jsii.String("body"),
		ImageIconUrl: jsii.String("imageIconUrl"),
		ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
		ImageUrl: jsii.String("imageUrl"),
		JsonBody: jsii.String("jsonBody"),
		MediaUrl: jsii.String("mediaUrl"),
		RawContent: jsii.String("rawContent"),
		SilentPush: jsii.Boolean(false),
		TimeToLive: jsii.Number(123),
		Title: jsii.String("title"),
		Url: jsii.String("url"),
	},
	ApnsMessage: &MessageProperty{
		Action: jsii.String("action"),
		Body: jsii.String("body"),
		ImageIconUrl: jsii.String("imageIconUrl"),
		ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
		ImageUrl: jsii.String("imageUrl"),
		JsonBody: jsii.String("jsonBody"),
		MediaUrl: jsii.String("mediaUrl"),
		RawContent: jsii.String("rawContent"),
		SilentPush: jsii.Boolean(false),
		TimeToLive: jsii.Number(123),
		Title: jsii.String("title"),
		Url: jsii.String("url"),
	},
	BaiduMessage: &MessageProperty{
		Action: jsii.String("action"),
		Body: jsii.String("body"),
		ImageIconUrl: jsii.String("imageIconUrl"),
		ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
		ImageUrl: jsii.String("imageUrl"),
		JsonBody: jsii.String("jsonBody"),
		MediaUrl: jsii.String("mediaUrl"),
		RawContent: jsii.String("rawContent"),
		SilentPush: jsii.Boolean(false),
		TimeToLive: jsii.Number(123),
		Title: jsii.String("title"),
		Url: jsii.String("url"),
	},
	CustomMessage: &CampaignCustomMessageProperty{
		Data: jsii.String("data"),
	},
	DefaultMessage: &MessageProperty{
		Action: jsii.String("action"),
		Body: jsii.String("body"),
		ImageIconUrl: jsii.String("imageIconUrl"),
		ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
		ImageUrl: jsii.String("imageUrl"),
		JsonBody: jsii.String("jsonBody"),
		MediaUrl: jsii.String("mediaUrl"),
		RawContent: jsii.String("rawContent"),
		SilentPush: jsii.Boolean(false),
		TimeToLive: jsii.Number(123),
		Title: jsii.String("title"),
		Url: jsii.String("url"),
	},
	EmailMessage: &CampaignEmailMessageProperty{
		Body: jsii.String("body"),
		FromAddress: jsii.String("fromAddress"),
		HtmlBody: jsii.String("htmlBody"),
		Title: jsii.String("title"),
	},
	GcmMessage: &MessageProperty{
		Action: jsii.String("action"),
		Body: jsii.String("body"),
		ImageIconUrl: jsii.String("imageIconUrl"),
		ImageSmallIconUrl: jsii.String("imageSmallIconUrl"),
		ImageUrl: jsii.String("imageUrl"),
		JsonBody: jsii.String("jsonBody"),
		MediaUrl: jsii.String("mediaUrl"),
		RawContent: jsii.String("rawContent"),
		SilentPush: jsii.Boolean(false),
		TimeToLive: jsii.Number(123),
		Title: jsii.String("title"),
		Url: jsii.String("url"),
	},
	InAppMessage: &CampaignInAppMessageProperty{
		Content: []interface{}{
			&InAppMessageContentProperty{
				BackgroundColor: jsii.String("backgroundColor"),
				BodyConfig: &InAppMessageBodyConfigProperty{
					Alignment: jsii.String("alignment"),
					Body: jsii.String("body"),
					TextColor: jsii.String("textColor"),
				},
				HeaderConfig: &InAppMessageHeaderConfigProperty{
					Alignment: jsii.String("alignment"),
					Header: jsii.String("header"),
					TextColor: jsii.String("textColor"),
				},
				ImageUrl: jsii.String("imageUrl"),
				PrimaryBtn: &InAppMessageButtonProperty{
					Android: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
					DefaultConfig: &DefaultButtonConfigurationProperty{
						BackgroundColor: jsii.String("backgroundColor"),
						BorderRadius: jsii.Number(123),
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
						Text: jsii.String("text"),
						TextColor: jsii.String("textColor"),
					},
					Ios: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
					Web: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
				},
				SecondaryBtn: &InAppMessageButtonProperty{
					Android: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
					DefaultConfig: &DefaultButtonConfigurationProperty{
						BackgroundColor: jsii.String("backgroundColor"),
						BorderRadius: jsii.Number(123),
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
						Text: jsii.String("text"),
						TextColor: jsii.String("textColor"),
					},
					Ios: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
					Web: &OverrideButtonConfigurationProperty{
						ButtonAction: jsii.String("buttonAction"),
						Link: jsii.String("link"),
					},
				},
			},
		},
		CustomConfig: customConfig,
		Layout: jsii.String("layout"),
	},
	SmsMessage: &CampaignSmsMessageProperty{
		Body: jsii.String("body"),
		EntityId: jsii.String("entityId"),
		MessageType: jsii.String("messageType"),
		OriginationNumber: jsii.String("originationNumber"),
		SenderId: jsii.String("senderId"),
		TemplateId: jsii.String("templateId"),
	},
}

Properties ​

admMessageoptionalIResolvable | CfnCampaign.MessagePropertyadm_messageoptionaltyping.Union[IResolvable, MessageProperty]admMessageoptionalIResolvableAdmMessageoptionalIResolvableAdmMessageoptionalinterface{} #
The message that the campaign sends through the ADM (Amazon Device Messaging) channel.

If specified, this message overrides the default message.

apnsMessageoptionalIResolvable | CfnCampaign.MessagePropertyapns_messageoptionaltyping.Union[IResolvable, MessageProperty]apnsMessageoptionalIResolvableApnsMessageoptionalIResolvableApnsMessageoptionalinterface{} #
The message that the campaign sends through the APNs (Apple Push Notification service) channel.

If specified, this message overrides the default message.

baiduMessageoptionalIResolvable | CfnCampaign.MessagePropertybaidu_messageoptionaltyping.Union[IResolvable, MessageProperty]baiduMessageoptionalIResolvableBaiduMessageoptionalIResolvableBaiduMessageoptionalinterface{} #
The message that the campaign sends through the Baidu (Baidu Cloud Push) channel.

If specified, this message overrides the default message.

customMessageoptionalIResolvable | CfnCampaign.CampaignCustomMessagePropertycustom_messageoptionaltyping.Union[IResolvable, CampaignCustomMessageProperty]customMessageoptionalIResolvableCustomMessageoptionalIResolvableCustomMessageoptionalinterface{} #
The message that the campaign sends through a custom channel, as specified by the delivery configuration ( `CustomDeliveryConfiguration` ) settings for the campaign.

If specified, this message overrides the default message.

defaultMessageoptionalIResolvable | CfnCampaign.MessagePropertydefault_messageoptionaltyping.Union[IResolvable, MessageProperty]defaultMessageoptionalIResolvableDefaultMessageoptionalIResolvableDefaultMessageoptionalinterface{} #
The default message that the campaign sends through all the channels that are configured for the campaign.
emailMessageoptionalIResolvable | CfnCampaign.CampaignEmailMessagePropertyemail_messageoptionaltyping.Union[IResolvable, CampaignEmailMessageProperty]emailMessageoptionalIResolvableEmailMessageoptionalIResolvableEmailMessageoptionalinterface{} #
The message that the campaign sends through the email channel. If specified, this message overrides the default message.

The maximum email message size is 200 KB. You can use email templates to send larger email messages.

gcmMessageoptionalIResolvable | CfnCampaign.MessagePropertygcm_messageoptionaltyping.Union[IResolvable, MessageProperty]gcmMessageoptionalIResolvableGcmMessageoptionalIResolvableGcmMessageoptionalinterface{} #
The message that the campaign sends through the GCM channel, which enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.

If specified, this message overrides the default message.

inAppMessageoptionalIResolvable | CfnCampaign.CampaignInAppMessagePropertyin_app_messageoptionaltyping.Union[IResolvable, CampaignInAppMessageProperty]inAppMessageoptionalIResolvableInAppMessageoptionalIResolvableInAppMessageoptionalinterface{} #
The default message for the in-app messaging channel.

This message overrides the default message ( DefaultMessage ).

smsMessageoptionalIResolvable | CfnCampaign.CampaignSmsMessagePropertysms_messageoptionaltyping.Union[IResolvable, CampaignSmsMessageProperty]smsMessageoptionalIResolvableSmsMessageoptionalIResolvableSmsMessageoptionalinterface{} #
The message that the campaign sends through the SMS channel.

If specified, this message overrides the default message.