UNPKG

@nolanrigo/cloudformation

Version:

TypeScript-based imperative way to define AWS CloudFormation templates

48 lines (47 loc) 1.77 kB
import { ResourceBase } from "../../resource"; import { Value, MapOf } from "../../data-types"; export declare class AndroidPushNotificationTemplate { Action?: Value<string>; ImageUrl?: Value<string>; SmallImageIconUrl?: Value<string>; Title?: Value<string>; ImageIconUrl?: Value<string>; Sound?: Value<string>; Body?: Value<string>; Url?: Value<string>; constructor(properties: AndroidPushNotificationTemplate); } export declare class APNSPushNotificationTemplate { Action?: Value<string>; MediaUrl?: Value<string>; Title?: Value<string>; Sound?: Value<string>; Body?: Value<string>; Url?: Value<string>; constructor(properties: APNSPushNotificationTemplate); } export declare class DefaultPushNotificationTemplate { Action?: Value<string>; Title?: Value<string>; Sound?: Value<string>; Body?: Value<string>; Url?: Value<string>; constructor(properties: DefaultPushNotificationTemplate); } export interface PushTemplateProperties { Default?: DefaultPushNotificationTemplate; TemplateDescription?: Value<string>; TemplateName: Value<string>; ADM?: AndroidPushNotificationTemplate; GCM?: AndroidPushNotificationTemplate; APNS?: APNSPushNotificationTemplate; DefaultSubstitutions?: Value<string>; Tags?: MapOf<any>; Baidu?: AndroidPushNotificationTemplate; } export default class Inner_PushTemplate extends ResourceBase<PushTemplateProperties> { static AndroidPushNotificationTemplate: typeof AndroidPushNotificationTemplate; static APNSPushNotificationTemplate: typeof APNSPushNotificationTemplate; static DefaultPushNotificationTemplate: typeof DefaultPushNotificationTemplate; constructor(properties: PushTemplateProperties); }