import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class SchemaVersion { IsLatest ? : Value < boolean > ; VersionNumber ? : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Registry { Name ? : Value < string > ; Arn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface SchemaProperties { Registry ? : Registry ; Name : Value < string > ; Description ? : Value < string > ; DataFormat : Value < string > ; Compatibility : Value < string > ; SchemaDefinition : Value < string > ; CheckpointVersion ? : SchemaVersion ; Tags ? : List < ResourceTag > ; } export default class Schema extends ResourceBase < SchemaProperties > { static SchemaVersion = SchemaVersion ; static Registry = Registry ; constructor ( properties ) { super ( 'AWS::Glue::Schema' , properties ) ; } }