import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SourceConfiguration { ApplicationName ! : Value < string > ; TemplateName ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConfigurationOptionSetting { Namespace ! : Value < string > ; OptionName ! : Value < string > ; ResourceName ? : Value < string > ; Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ConfigurationTemplateProperties { ApplicationName : Value < string > ; Description ? : Value < string > ; EnvironmentId ? : Value < string > ; OptionSettings ? : List < ConfigurationOptionSetting > ; PlatformArn ? : Value < string > ; SolutionStackName ? : Value < string > ; SourceConfiguration ? : SourceConfiguration ; } export default class ConfigurationTemplate extends ResourceBase < ConfigurationTemplateProperties > { static SourceConfiguration = SourceConfiguration ; static ConfigurationOptionSetting = ConfigurationOptionSetting ; constructor ( properties ) { super ( 'AWS::ElasticBeanstalk::ConfigurationTemplate' , properties ) ; } }