Skip to content
v2.278.0

CustomDeliveryConfigurationProperty Struct ​

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 ​

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';
const customDeliveryConfigurationProperty: pinpoint.CfnCampaign.CustomDeliveryConfigurationProperty = {
  deliveryUri: 'deliveryUri',
  endpointTypes: ['endpointTypes'],
};
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_delivery_configuration_property = pinpoint.CfnCampaign.CustomDeliveryConfigurationProperty(
    delivery_uri="deliveryUri",
    endpoint_types=["endpointTypes"]
)
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.*;

CustomDeliveryConfigurationProperty customDeliveryConfigurationProperty = CustomDeliveryConfigurationProperty.builder()
        .deliveryUri("deliveryUri")
        .endpointTypes(List.of("endpointTypes"))
        .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 customDeliveryConfigurationProperty = new CustomDeliveryConfigurationProperty {
    DeliveryUri = "deliveryUri",
    EndpointTypes = new [] { "endpointTypes" }
};
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"

customDeliveryConfigurationProperty := &CustomDeliveryConfigurationProperty{
	DeliveryUri: jsii.String("deliveryUri"),
	EndpointTypes: []*string{
		jsii.String("endpointTypes"),
	},
}

Properties ​

deliveryUrioptionalstringdelivery_urioptionalstrdeliveryUrioptionalStringDeliveryUrioptionalstringDeliveryUrioptional*string #
The destination to send the campaign or treatment to. This value can be one of the following:.
notes
  • 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.
endpointTypesoptionalstring[]endpoint_typesoptionaltyping.List[str]endpointTypesoptionalList<String>EndpointTypesoptionalstring[]EndpointTypesoptional*[]*string #
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.