import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class TagSpecification { ResourceType ? : Value < string > ; Tags ? : List < ResourceTag > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface CapacityReservationProperties { Tenancy ? : Value < string > ; EndDateType ? : Value < string > ; InstanceCount : Value < number > ; TagSpecifications ? : List < TagSpecification > ; AvailabilityZone : Value < string > ; InstancePlatform : Value < string > ; InstanceType : Value < string > ; EphemeralStorage ? : Value < boolean > ; InstanceMatchCriteria ? : Value < string > ; EndDate ? : Value < string > ; EbsOptimized ? : Value < boolean > ; } export default class CapacityReservation extends ResourceBase < CapacityReservationProperties > { static TagSpecification = TagSpecification ; constructor ( properties ) { super ( 'AWS::EC2::CapacityReservation' , properties ) ; } }