import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class CustomDomainConfigType { CertificateArn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface UserPoolDomainProperties { UserPoolId : Value < string > ; CustomDomainConfig ? : CustomDomainConfigType ; Domain : Value < string > ; } export default class UserPoolDomain extends ResourceBase < UserPoolDomainProperties > { static CustomDomainConfigType = CustomDomainConfigType ; constructor ( properties ) { super ( 'AWS::Cognito::UserPoolDomain' , properties ) ; } }