-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnCampaign_DefaultButtonConfigurationProperty.go
56 lines (53 loc) · 3.15 KB
/
CfnCampaign_DefaultButtonConfigurationProperty.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
package awspinpoint
// Specifies the default behavior for a button that appears in an in-app message.
//
// You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
//
// 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"
//
// defaultButtonConfigurationProperty := &DefaultButtonConfigurationProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BorderRadius: jsii.Number(123),
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// Text: jsii.String("text"),
// TextColor: jsii.String("textColor"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html
//
type CfnCampaign_DefaultButtonConfigurationProperty struct {
// The background color of a button, expressed as a hex color code (such as #000000 for black).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-backgroundcolor
//
BackgroundColor *string `field:"optional" json:"backgroundColor" yaml:"backgroundColor"`
// The border radius of a button.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-borderradius
//
BorderRadius *float64 `field:"optional" json:"borderRadius" yaml:"borderRadius"`
// The action that occurs when a recipient chooses a button in an in-app message.
//
// You can specify one of the following:
//
// - `LINK` – A link to a web destination.
// - `DEEP_LINK` – A link to a specific page in an application.
// - `CLOSE` – Dismisses the message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-buttonaction
//
ButtonAction *string `field:"optional" json:"buttonAction" yaml:"buttonAction"`
// The destination (such as a URL) for a button.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-link
//
Link *string `field:"optional" json:"link" yaml:"link"`
// The text that appears on a button in an in-app message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-text
//
Text *string `field:"optional" json:"text" yaml:"text"`
// The color of the body text in a button, expressed as a hex color code (such as #000000 for black).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-defaultbuttonconfiguration.html#cfn-pinpoint-campaign-defaultbuttonconfiguration-textcolor
//
TextColor *string `field:"optional" json:"textColor" yaml:"textColor"`
}