import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class CapacityProviderStrategy { Base ? : Value < number > ; Weight ? : Value < number > ; CapacityProvider ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ClusterCapacityProviderAssociationsProperties { CapacityProviders : List < Value < string > > ; Cluster : Value < string > ; DefaultCapacityProviderStrategy : List < CapacityProviderStrategy > ; } export default class ClusterCapacityProviderAssociations extends ResourceBase < ClusterCapacityProviderAssociationsProperties > { static CapacityProviderStrategy = CapacityProviderStrategy ; constructor ( properties ) { super ( 'AWS::ECS::ClusterCapacityProviderAssociations' , properties ) ; } }