import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ResourceSpec { InstanceType ? : Value < string > ; SageMakerImageArn ? : Value < string > ; SageMakerImageVersionArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AppProperties { AppName : Value < string > ; AppType : Value < string > ; DomainId : Value < string > ; ResourceSpec ? : ResourceSpec ; Tags ? : List < ResourceTag > ; UserProfileName : Value < string > ; } export default class App extends ResourceBase < AppProperties > { static ResourceSpec = ResourceSpec ; constructor ( properties ) { super ( 'AWS::SageMaker::App' , properties ) ; } }