import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class OptionSetting { Name ? : Value < string > ; Value ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class OptionConfiguration { DBSecurityGroupMemberships ? : List < Value < string > > ; OptionName ! : Value < string > ; OptionSettings ? : List < OptionSetting > ; OptionVersion ? : Value < string > ; Port ? : Value < number > ; VpcSecurityGroupMemberships ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface OptionGroupProperties { EngineName : Value < string > ; MajorEngineVersion : Value < string > ; OptionConfigurations : List < OptionConfiguration > ; OptionGroupDescription : Value < string > ; Tags ? : List < ResourceTag > ; } export default class OptionGroup extends ResourceBase < OptionGroupProperties > { static OptionSetting = OptionSetting ; static OptionConfiguration = OptionConfiguration ; constructor ( properties ) { super ( 'AWS::RDS::OptionGroup' , properties ) ; } }