aws-cdk-lib.aws_pinpoint.CfnCampaign.CustomDeliveryConfigurationProperty

interface CustomDeliveryConfigurationProperty

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

Specifies the delivery configuration settings for sending a campaign or campaign treatment through a custom channel.

This object is required if you use the CampaignCustomMessage object to define the message to send for the campaign or campaign treatment.

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 customDeliveryConfigurationProperty: pinpoint.CfnCampaign.CustomDeliveryConfigurationProperty = {
  deliveryUri: 'deliveryUri',
  endpointTypes: ['endpointTypes'],
};

Properties

NameTypeDescription
deliveryUri?stringThe destination to send the campaign or treatment to. This value can be one of the following:.
endpointTypes?string[]The types of endpoints to send the campaign or treatment to.

deliveryUri?

Type: string (optional)

The destination to send the campaign or treatment to. This value can be one of the following:.

  • The name or Amazon Resource Name (ARN) of an AWS Lambda function to invoke to handle delivery of the campaign or treatment.
  • The URL for a web application or service that supports HTTPS and can receive the message. The URL has to be a full URL, including the HTTPS protocol.

endpointTypes?

Type: string[] (optional)

The types of endpoints to send the campaign or treatment to.

Each valid value maps to a type of channel that you can associate with an endpoint by using the ChannelType property of an endpoint.