import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ProvisionedConcurrencyConfiguration { ProvisionedConcurrentExecutions ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface VersionProperties { CodeSha256 ? : Value < string > ; Description ? : Value < string > ; FunctionName : Value < string > ; ProvisionedConcurrencyConfig ? : ProvisionedConcurrencyConfiguration ; } export default class Version extends ResourceBase < VersionProperties > { static ProvisionedConcurrencyConfiguration = ProvisionedConcurrencyConfiguration ; constructor ( properties ) { super ( 'AWS::Lambda::Version' , properties ) ; } }