import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class CampaignHook { Mode ? : Value < string > ; WebUrl ? : Value < string > ; LambdaFunctionName ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Limits { Daily ? : Value < number > ; MaximumDuration ? : Value < number > ; Total ? : Value < number > ; MessagesPerSecond ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class QuietTime { Start ! : Value < string > ; End ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ApplicationSettingsProperties { QuietTime ? : QuietTime ; Limits ? : Limits ; ApplicationId : Value < string > ; CampaignHook ? : CampaignHook ; CloudWatchMetricsEnabled ? : Value < boolean > ; } export default class ApplicationSettings extends ResourceBase < ApplicationSettingsProperties > { static CampaignHook = CampaignHook ; static Limits = Limits ; static QuietTime = QuietTime ; constructor ( properties ) { super ( 'AWS::Pinpoint::ApplicationSettings' , properties ) ; } }