Interface CfnInAppTemplateMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInAppTemplateMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:02.311Z")
@Stability(Stable)
public interface CfnInAppTemplateMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnInAppTemplatePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.pinpoint.*;
Object customConfig;
Object tags;
CfnInAppTemplateMixinProps cfnInAppTemplateMixinProps = CfnInAppTemplateMixinProps.builder()
.content(List.of(InAppMessageContentProperty.builder()
.backgroundColor("backgroundColor")
.bodyConfig(BodyConfigProperty.builder()
.alignment("alignment")
.body("body")
.textColor("textColor")
.build())
.headerConfig(HeaderConfigProperty.builder()
.alignment("alignment")
.header("header")
.textColor("textColor")
.build())
.imageUrl("imageUrl")
.primaryBtn(ButtonConfigProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.secondaryBtn(ButtonConfigProperty.builder()
.android(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.defaultConfig(DefaultButtonConfigurationProperty.builder()
.backgroundColor("backgroundColor")
.borderRadius(123)
.buttonAction("buttonAction")
.link("link")
.text("text")
.textColor("textColor")
.build())
.ios(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.web(OverrideButtonConfigurationProperty.builder()
.buttonAction("buttonAction")
.link("link")
.build())
.build())
.build()))
.customConfig(customConfig)
.layout("layout")
.tags(tags)
.templateDescription("templateDescription")
.templateName("templateName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInAppTemplateMixinPropsstatic final classAn implementation forCfnInAppTemplateMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAn 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.default ObjectCustom data, in the form of key-value pairs, that is included in an in-app messaging payload.default StringA string that determines the appearance of the in-app message.default ObjectgetTags()An array of key-value pairs to apply to this resource.default StringAn optional description of the in-app template.default StringThe name of the in-app message template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInAppTemplatePropsMixin.InAppMessageContentProperty>- See Also:
-
getCustomConfig
Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.- See Also:
-
getLayout
A string that determines the appearance of the in-app message. You can specify one of the following:.BOTTOM_BANNER– a message that appears as a banner at the bottom of the page.TOP_BANNER– a message that appears as a banner at the top of the page.OVERLAYS– a message that covers entire screen.MOBILE_FEED– a message that appears in a window in front of the page.MIDDLE_BANNER– a message that appears as a banner in the middle of the page.CAROUSEL– a scrollable layout of up to five unique messages.
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
getTemplateDescription
An optional description of the in-app template.- See Also:
-
getTemplateName
The name of the in-app message template.- See Also:
-
builder
- Returns:
- a
CfnInAppTemplateMixinProps.BuilderofCfnInAppTemplateMixinProps
-