import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class AccountTakeoverActionsType { HighAction ? : AccountTakeoverActionType ; LowAction ? : AccountTakeoverActionType ; MediumAction ? : AccountTakeoverActionType ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class RiskExceptionConfigurationType { BlockedIPRangeList ? : List < Value < string > > ; SkippedIPRangeList ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AccountTakeoverActionType { Notify ! : Value < boolean > ; EventAction ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CompromisedCredentialsRiskConfigurationType { Actions ! : CompromisedCredentialsActionsType ; EventFilter ? : List < Value < string > > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class NotifyEmailType { TextBody ? : Value < string > ; HtmlBody ? : Value < string > ; Subject ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class CompromisedCredentialsActionsType { EventAction ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class NotifyConfigurationType { BlockEmail ? : NotifyEmailType ; ReplyTo ? : Value < string > ; SourceArn ! : Value < string > ; NoActionEmail ? : NotifyEmailType ; From ? : Value < string > ; MfaEmail ? : NotifyEmailType ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AccountTakeoverRiskConfigurationType { Actions ! : AccountTakeoverActionsType ; NotifyConfiguration ? : NotifyConfigurationType ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface UserPoolRiskConfigurationAttachmentProperties { CompromisedCredentialsRiskConfiguration ? : CompromisedCredentialsRiskConfigurationType ; UserPoolId : Value < string > ; ClientId : Value < string > ; AccountTakeoverRiskConfiguration ? : AccountTakeoverRiskConfigurationType ; RiskExceptionConfiguration ? : RiskExceptionConfigurationType ; } export default class UserPoolRiskConfigurationAttachment extends ResourceBase < UserPoolRiskConfigurationAttachmentProperties > { static AccountTakeoverActionsType = AccountTakeoverActionsType ; static RiskExceptionConfigurationType = RiskExceptionConfigurationType ; static AccountTakeoverActionType = AccountTakeoverActionType ; static CompromisedCredentialsRiskConfigurationType = CompromisedCredentialsRiskConfigurationType ; static NotifyEmailType = NotifyEmailType ; static CompromisedCredentialsActionsType = CompromisedCredentialsActionsType ; static NotifyConfigurationType = NotifyConfigurationType ; static AccountTakeoverRiskConfigurationType = AccountTakeoverRiskConfigurationType ; constructor ( properties ) { super ( 'AWS::Cognito::UserPoolRiskConfigurationAttachment' , properties ) ; } }