AwsMotoAccountModule
Hierarchy
- AModule<AwsMotoAccountModuleSchema, AwsMotoAccount>- AwsMotoAccountModule
 
Index
Constructors
Properties
Methods
Constructors
constructor
- Parameters- moduleId: string
 - Returns AwsMotoAccountModule
Properties
readonlyinheritedmoduleId
staticreadonlyinheritedMODULE_PACKAGE
staticreadonlyinheritedMODULE_SCHEMA
Methods
onInit
- Parameters- inputs: AwsMotoAccountModuleSchema
 - Returns Promise<AwsMotoAccount>
inheritedregisterHooks
- Returns { postCommitHooks?: PostHookSignature[]; postModelActionHooks?: PostHookSignature[]; postResourceActionHooks?: PostHookSignature[]; preCommitHooks?: PreHookSignature[]; preModelActionHooks?: PreHookSignature[]; preResourceActionHooks?: PreHookSignature[] }- optionalpostCommitHooks?: PostHookSignature[]
- optionalpostModelActionHooks?: PostHookSignature[]
- optionalpostResourceActionHooks?: PostHookSignature[]
- optionalpreCommitHooks?: PreHookSignature[]
- optionalpreModelActionHooks?: PreHookSignature[]
- optionalpreResourceActionHooks?: PreHookSignature[]
 
inheritedregisterMetadata
- Parameters- inputs: AwsMotoAccountModuleSchema
 - Returns Promise<Record<string, unknown>>
AwsMotoAccountModuleis a Moto-based AWS account module that provides an implementation for theAccountmodel. This module is specifically designed for testing environments using the Moto library, creating an AWS account with mock credentials and endpoints for unit testing.TypeScript
Modules/Account/AwsMotoAccount
Accountmodel.