import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class NotificationConfiguration { NotificationTopicArn ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CognitoMemberDefinition { CognitoUserPool ! : Value < string > ; CognitoClientId ! : Value < string > ; CognitoUserGroup ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class MemberDefinition { CognitoMemberDefinition ! : CognitoMemberDefinition ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface WorkteamProperties { Description ? : Value < string > ; NotificationConfiguration ? : NotificationConfiguration ; WorkteamName ? : Value < string > ; MemberDefinitions ? : List < MemberDefinition > ; Tags ? : List < ResourceTag > ; } export default class Workteam extends ResourceBase < WorkteamProperties > { static NotificationConfiguration = NotificationConfiguration ; static CognitoMemberDefinition = CognitoMemberDefinition ; static MemberDefinition = MemberDefinition ; constructor ( properties ? ) { super ( 'AWS::SageMaker::Workteam' , properties || { } ) ; } }