import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Distribution { Region ! : Value < string > ; AmiDistributionConfiguration ? : { [ key ] : any ; } ; ContainerDistributionConfiguration ? : { [ key ] : any ; } ; LicenseConfigurationArns ? : List < Value < string > > ; LaunchTemplateConfigurations ? : List < LaunchTemplateConfiguration > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class LaunchTemplateConfiguration { LaunchTemplateId ? : Value < string > ; AccountId ? : Value < string > ; SetDefaultVersion ? : Value < boolean > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DistributionConfigurationProperties { Name : Value < string > ; Description ? : Value < string > ; Distributions : List < Distribution > ; Tags ? : { [ key ] : Value < string > ; } ; } export default class DistributionConfiguration extends ResourceBase < DistributionConfigurationProperties > { static Distribution = Distribution ; static LaunchTemplateConfiguration = LaunchTemplateConfiguration ; constructor ( properties ) { super ( 'AWS::ImageBuilder::DistributionConfiguration' , properties ) ; } }