-
Notifications
You must be signed in to change notification settings - Fork 17
/
awspinpoint_CfnCampaign_CustomDeliveryConfigurationProperty.go
31 lines (28 loc) · 1.49 KB
/
awspinpoint_CfnCampaign_CustomDeliveryConfigurationProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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"),
// },
// }
//
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.
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.
EndpointTypes *[]*string `field:"optional" json:"endpointTypes" yaml:"endpointTypes"`
}