import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class OptionSetting { Namespace ! : Value < string > ; OptionName ! : Value < string > ; ResourceName ? : Value < string > ; Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Tier { Name ? : Value < string > ; Type ? : Value < string > ; Version ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface EnvironmentProperties { ApplicationName : Value < string > ; CNAMEPrefix ? : Value < string > ; Description ? : Value < string > ; EnvironmentName ? : Value < string > ; OperationsRole ? : Value < string > ; OptionSettings ? : List < OptionSetting > ; PlatformArn ? : Value < string > ; SolutionStackName ? : Value < string > ; Tags ? : List < ResourceTag > ; TemplateName ? : Value < string > ; Tier ? : Tier ; VersionLabel ? : Value < string > ; } export default class Environment extends ResourceBase < EnvironmentProperties > { static OptionSetting = OptionSetting ; static Tier = Tier ; constructor ( properties ) { super ( 'AWS::ElasticBeanstalk::Environment' , properties ) ; } }