-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnApplicationSettingsProps.go
73 lines (70 loc) · 3.92 KB
/
CfnApplicationSettingsProps.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package awspinpoint
// Properties for defining a `CfnApplicationSettings`.
//
// 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"
//
// cfnApplicationSettingsProps := &CfnApplicationSettingsProps{
// ApplicationId: jsii.String("applicationId"),
//
// // the properties below are optional
// CampaignHook: &CampaignHookProperty{
// LambdaFunctionName: jsii.String("lambdaFunctionName"),
// Mode: jsii.String("mode"),
// WebUrl: jsii.String("webUrl"),
// },
// CloudWatchMetricsEnabled: jsii.Boolean(false),
// Limits: &LimitsProperty{
// Daily: jsii.Number(123),
// MaximumDuration: jsii.Number(123),
// MessagesPerSecond: jsii.Number(123),
// Total: jsii.Number(123),
// },
// QuietTime: &QuietTimeProperty{
// End: jsii.String("end"),
// Start: jsii.String("start"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html
//
type CfnApplicationSettingsProps struct {
// The unique identifier for the Amazon Pinpoint application.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-applicationid
//
ApplicationId *string `field:"required" json:"applicationId" yaml:"applicationId"`
// The settings for the Lambda function to use by default as a code hook for campaigns in the application.
//
// To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-campaignhook
//
CampaignHook interface{} `field:"optional" json:"campaignHook" yaml:"campaignHook"`
// Specifies whether to enable application-related alarms in Amazon CloudWatch.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-cloudwatchmetricsenabled
//
CloudWatchMetricsEnabled interface{} `field:"optional" json:"cloudWatchMetricsEnabled" yaml:"cloudWatchMetricsEnabled"`
// The default sending limits for campaigns in the application.
//
// To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-limits
//
Limits interface{} `field:"optional" json:"limits" yaml:"limits"`
// The default quiet time for campaigns in the application.
//
// Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
//
// - The `EndpointDemographic.Timezone` property of the endpoint is set to a valid value.
//
// - The current time in the endpoint's time zone is later than or equal to the time specified by the `QuietTime.Start` property for the application (or a campaign that has custom quiet time settings).
//
// - The current time in the endpoint's time zone is earlier than or equal to the time specified by the `QuietTime.End` property for the application (or a campaign that has custom quiet time settings).
//
// If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
//
// To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-applicationsettings.html#cfn-pinpoint-applicationsettings-quiettime
//
QuietTime interface{} `field:"optional" json:"quietTime" yaml:"quietTime"`
}