-
Notifications
You must be signed in to change notification settings - Fork 17
/
awspinpoint_CfnApplicationSettings_CampaignHookProperty.go
28 lines (25 loc) · 1.46 KB
/
awspinpoint_CfnApplicationSettings_CampaignHookProperty.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
package awspinpoint
// Specifies the Lambda function to use by default as a code hook for campaigns in the application.
//
// 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"
//
// campaignHookProperty := &campaignHookProperty{
// lambdaFunctionName: jsii.String("lambdaFunctionName"),
// mode: jsii.String("mode"),
// webUrl: jsii.String("webUrl"),
// }
//
type CfnApplicationSettings_CampaignHookProperty struct {
// The name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to send messages for campaigns in the application.
LambdaFunctionName *string `field:"optional" json:"lambdaFunctionName" yaml:"lambdaFunctionName"`
// The mode that Amazon Pinpoint uses to invoke the Lambda function. Possible values are:.
//
// - `FILTER` - Invoke the function to customize the segment that's used by a campaign.
// - `DELIVERY` - (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use the `CustomDeliveryConfiguration` and `CampaignCustomMessage` objects of the campaign.
Mode *string `field:"optional" json:"mode" yaml:"mode"`
// The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.
WebUrl *string `field:"optional" json:"webUrl" yaml:"webUrl"`
}