/
CfnInAppTemplate_InAppMessageContentProperty.go
98 lines (95 loc) · 4.85 KB
/
CfnInAppTemplate_InAppMessageContentProperty.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package awspinpoint
// Specifies the configuration of an in-app message, including its header, body, buttons, colors, and images.
//
// 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"
//
// inAppMessageContentProperty := &InAppMessageContentProperty{
// BackgroundColor: jsii.String("backgroundColor"),
// BodyConfig: &BodyConfigProperty{
// Alignment: jsii.String("alignment"),
// Body: jsii.String("body"),
// TextColor: jsii.String("textColor"),
// },
// HeaderConfig: &HeaderConfigProperty{
// Alignment: jsii.String("alignment"),
// Header: jsii.String("header"),
// TextColor: jsii.String("textColor"),
// },
// ImageUrl: jsii.String("imageUrl"),
// PrimaryBtn: &ButtonConfigProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &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"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// SecondaryBtn: &ButtonConfigProperty{
// Android: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// DefaultConfig: &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"),
// },
// Ios: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// Web: &OverrideButtonConfigurationProperty{
// ButtonAction: jsii.String("buttonAction"),
// Link: jsii.String("link"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html
//
type CfnInAppTemplate_InAppMessageContentProperty struct {
// The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-backgroundcolor
//
BackgroundColor *string `field:"optional" json:"backgroundColor" yaml:"backgroundColor"`
// An object that contains configuration information about the header or title text of the in-app message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-bodyconfig
//
BodyConfig interface{} `field:"optional" json:"bodyConfig" yaml:"bodyConfig"`
// An object that contains configuration information about the header or title text of the in-app message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-headerconfig
//
HeaderConfig interface{} `field:"optional" json:"headerConfig" yaml:"headerConfig"`
// The URL of the image that appears on an in-app message banner.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-imageurl
//
ImageUrl *string `field:"optional" json:"imageUrl" yaml:"imageUrl"`
// An object that contains configuration information about the primary button in an in-app message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-primarybtn
//
PrimaryBtn interface{} `field:"optional" json:"primaryBtn" yaml:"primaryBtn"`
// An object that contains configuration information about the secondary button in an in-app message.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-secondarybtn
//
SecondaryBtn interface{} `field:"optional" json:"secondaryBtn" yaml:"secondaryBtn"`
}