import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class DatabaseInput { LocationUri ? : Value < string > ; Description ? : Value < string > ; Parameters ? : { [ key ] : any ; } ; TargetDatabase ? : DatabaseIdentifier ; Name ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class DatabaseIdentifier { DatabaseName ? : Value < string > ; CatalogId ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface DatabaseProperties { DatabaseInput : DatabaseInput ; CatalogId : Value < string > ; } export default class Database extends ResourceBase < DatabaseProperties > { static DatabaseInput = DatabaseInput ; static DatabaseIdentifier = DatabaseIdentifier ; constructor ( properties ) { super ( 'AWS::Glue::Database' , properties ) ; } }