- secretRotationHandler<D, Configuration, Service, Profile>(definition: D & SecretRotationHandler<Configuration, Service, Profile>, __namedParameters?: { _kernel?: <Configuration, Service, Profile>(handler: SecretRotationHandler<Configuration, Service, Profile>, event: SecretsManagerRotationEvent, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> }): D & EventHandlerFn<Configuration, Service, Profile>
Type parameters
- D
- Configuration = undefined
- Service: { appConfigData?: AppConfigData; secretsManager: SecretsManager } = { appConfigData?: AppConfigData; secretsManager: SecretsManager }
- Profile: MaybeGenericParser = undefined
Parameters
definition: D & SecretRotationHandler<Configuration, Service, Profile>
__namedParameters: { _kernel?: <Configuration, Service, Profile>(handler: SecretRotationHandler<Configuration, Service, Profile>, event: SecretsManagerRotationEvent, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> } = {}
optional_kernel: <Configuration, Service, Profile>(handler: SecretRotationHandler<Configuration, Service, Profile>, event: SecretsManagerRotationEvent, context: LambdaContext<Configuration, Service, Profile>) => Promise<Try<void>> = handleSecretRotationEvent
Returns D & EventHandlerFn<Configuration, Service, Profile>