package awspinpoint


// 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 "github.com/aws/aws-cdk-go/awscdk"
//
//   customDeliveryConfigurationProperty := &CustomDeliveryConfigurationProperty{
//   	DeliveryUri: jsii.String("deliveryUri"),
//   	EndpointTypes: []*string{
//   		jsii.String("endpointTypes"),
//   	},
//   }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-customdeliveryconfiguration.html
//
type CfnCampaign_CustomDeliveryConfigurationProperty struct {
	// 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.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-customdeliveryconfiguration.html#cfn-pinpoint-campaign-customdeliveryconfiguration-deliveryuri
	//
	DeliveryUri *string `field:"optional" json:"deliveryUri" yaml:"deliveryUri"`
	// 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.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-customdeliveryconfiguration.html#cfn-pinpoint-campaign-customdeliveryconfiguration-endpointtypes
	//
	EndpointTypes *[]*string `field:"optional" json:"endpointTypes" yaml:"endpointTypes"`
}

