import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AttributeType { Value ? : Value < string > ; Name ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface UserPoolUserProperties { ValidationData ? : List < AttributeType > ; UserPoolId : Value < string > ; Username ? : Value < string > ; MessageAction ? : Value < string > ; ClientMetadata ? : { [ key ] : any ; } ; DesiredDeliveryMediums ? : List < Value < string > > ; ForceAliasCreation ? : Value < boolean > ; UserAttributes ? : List < AttributeType > ; } export default class UserPoolUser extends ResourceBase < UserPoolUserProperties > { static AttributeType = AttributeType ; constructor ( properties ) { super ( 'AWS::Cognito::UserPoolUser' , properties ) ; } }