Class CfnInAppTemplateMixinProps
Properties for CfnInAppTemplatePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnInAppTemplateMixinProps : ICfnInAppTemplateMixinProps
Syntax (vb)
Public Class CfnInAppTemplateMixinProps Implements ICfnInAppTemplateMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins;
var customConfig;
var tags;
var cfnInAppTemplateMixinProps = new CfnInAppTemplateMixinProps {
Content = new [] { new InAppMessageContentProperty {
BackgroundColor = "backgroundColor",
BodyConfig = new BodyConfigProperty {
Alignment = "alignment",
Body = "body",
TextColor = "textColor"
},
HeaderConfig = new HeaderConfigProperty {
Alignment = "alignment",
Header = "header",
TextColor = "textColor"
},
ImageUrl = "imageUrl",
PrimaryBtn = new ButtonConfigProperty {
Android = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
DefaultConfig = new DefaultButtonConfigurationProperty {
BackgroundColor = "backgroundColor",
BorderRadius = 123,
ButtonAction = "buttonAction",
Link = "link",
Text = "text",
TextColor = "textColor"
},
Ios = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
Web = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
}
},
SecondaryBtn = new ButtonConfigProperty {
Android = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
DefaultConfig = new DefaultButtonConfigurationProperty {
BackgroundColor = "backgroundColor",
BorderRadius = 123,
ButtonAction = "buttonAction",
Link = "link",
Text = "text",
TextColor = "textColor"
},
Ios = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
Web = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
}
}
} },
CustomConfig = customConfig,
Layout = "layout",
Tags = tags,
TemplateDescription = "templateDescription",
TemplateName = "templateName"
};
Synopsis
Constructors
| CfnInAppTemplateMixinProps() | Properties for CfnInAppTemplatePropsMixin. |
Properties
| Content | An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors. |
| CustomConfig | Custom data, in the form of key-value pairs, that is included in an in-app messaging payload. |
| Layout | A string that determines the appearance of the in-app message. You can specify one of the following:. |
| Tags | An array of key-value pairs to apply to this resource. |
| TemplateDescription | An optional description of the in-app template. |
| TemplateName | The name of the in-app message template. |
Constructors
CfnInAppTemplateMixinProps()
Properties for CfnInAppTemplatePropsMixin.
public CfnInAppTemplateMixinProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins;
var customConfig;
var tags;
var cfnInAppTemplateMixinProps = new CfnInAppTemplateMixinProps {
Content = new [] { new InAppMessageContentProperty {
BackgroundColor = "backgroundColor",
BodyConfig = new BodyConfigProperty {
Alignment = "alignment",
Body = "body",
TextColor = "textColor"
},
HeaderConfig = new HeaderConfigProperty {
Alignment = "alignment",
Header = "header",
TextColor = "textColor"
},
ImageUrl = "imageUrl",
PrimaryBtn = new ButtonConfigProperty {
Android = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
DefaultConfig = new DefaultButtonConfigurationProperty {
BackgroundColor = "backgroundColor",
BorderRadius = 123,
ButtonAction = "buttonAction",
Link = "link",
Text = "text",
TextColor = "textColor"
},
Ios = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
Web = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
}
},
SecondaryBtn = new ButtonConfigProperty {
Android = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
DefaultConfig = new DefaultButtonConfigurationProperty {
BackgroundColor = "backgroundColor",
BorderRadius = 123,
ButtonAction = "buttonAction",
Link = "link",
Text = "text",
TextColor = "textColor"
},
Ios = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
},
Web = new OverrideButtonConfigurationProperty {
ButtonAction = "buttonAction",
Link = "link"
}
}
} },
CustomConfig = customConfig,
Layout = "layout",
Tags = tags,
TemplateDescription = "templateDescription",
TemplateName = "templateName"
};
Properties
Content
An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.
public object? Content { get; set; }
Property Value
Remarks
CustomConfig
Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.
public object? CustomConfig { get; set; }
Property Value
Remarks
Layout
A string that determines the appearance of the in-app message. You can specify one of the following:.
public string? Layout { get; set; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
public object? Tags { get; set; }
Property Value
Remarks
TemplateDescription
An optional description of the in-app template.
public string? TemplateDescription { get; set; }
Property Value
Remarks
TemplateName
The name of the in-app message template.
public string? TemplateName { get; set; }