/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type Alignment = "LEFT" | "CENTER" | "RIGHT"; export type ButtonAction = "LINK" | "DEEP_LINK" | "CLOSE"; /** * Resource Type definition for AWS::Pinpoint::InAppTemplate */ export interface AwsPinpointInapptemplate { Arn?: string; Content?: InAppMessageContent[]; CustomConfig?: { [k: string]: unknown; }; Layout?: "BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL"; Tags?: { [k: string]: unknown; }; TemplateDescription?: string; TemplateName: string; } export interface InAppMessageContent { BackgroundColor?: string; BodyConfig?: BodyConfig; HeaderConfig?: HeaderConfig; ImageUrl?: string; PrimaryBtn?: ButtonConfig; SecondaryBtn?: ButtonConfig; } export interface BodyConfig { Alignment?: Alignment; Body?: string; TextColor?: string; } export interface HeaderConfig { Alignment?: Alignment; Header?: string; TextColor?: string; } export interface ButtonConfig { Android?: OverrideButtonConfiguration; DefaultConfig?: DefaultButtonConfiguration; IOS?: OverrideButtonConfiguration; Web?: OverrideButtonConfiguration; } export interface OverrideButtonConfiguration { ButtonAction?: ButtonAction; Link?: string; } export interface DefaultButtonConfiguration { BackgroundColor?: string; BorderRadius?: number; ButtonAction?: ButtonAction; Link?: string; Text?: string; TextColor?: string; }