import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class StudioEncryptionConfiguration { KeyArn ? : Value < string > ; KeyType ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface StudioProperties { AdminRoleArn : Value < string > ; DisplayName : Value < string > ; StudioName : Value < string > ; UserRoleArn : Value < string > ; StudioEncryptionConfiguration ? : StudioEncryptionConfiguration ; Tags ? : { [ key ] : Value < string > ; } ; } export default class Studio extends ResourceBase < StudioProperties > { static StudioEncryptionConfiguration = StudioEncryptionConfiguration ; constructor ( properties ) { super ( 'AWS::NimbleStudio::Studio' , properties ) ; } }