import { Construct } from './construct'; import { StatusPageService } from './status-page-service'; export interface StatusPageCardProps { /** * The name of the card. */ name: string; /** * A list of services to include in the card. */ services?: StatusPageService[]; } export type StatusPageTheme = 'AUTO' | 'DARK' | 'LIGHT'; export interface StatusPageProps { /** * The name of the status page. */ name: string; /** * The URL of the status page. */ url: string; /** * A list of cards to add to your status page. */ cards: StatusPageCardProps[]; /** * A custom user domain, e.g. "status.example.com". See the docs on updating your DNS and SSL usage. */ customDomain?: string; /** * A URL pointing to an image file that serves as the logo for the status page. */ logo?: string; /** * The URL that clicking the logo should redirect the user to. */ redirectTo?: string; /** * A URL pointing to an image file to be used as the favicon for the status page. */ favicon?: string; /** * The default theme of the status page. */ defaultTheme?: StatusPageTheme; } /** * Creates a Status Page */ export declare class StatusPage extends Construct { name: string; cards: StatusPageCardProps[]; url: string; customDomain?: string; logo?: string; redirectTo?: string; favicon?: string; defaultTheme?: StatusPageTheme; static readonly __checklyType = "status-page"; /** * Constructs the Status Page instance * * @param logicalId unique project-scoped resource name identification * @param props status page configuration properties * * {@link https://www.checklyhq.com/docs/constructs/status-page/ Read more in the docs} */ constructor(logicalId: string, props: StatusPageProps); describe(): string; synthesize(): any | null; }