Skip to main content

secretRotationHandler

Callable

  • secretRotationHandler<Configuration, Service, Profile, D>(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

    • Configuration
    • Service: { secretsManager: SecretsManager }
    • Profile
    • D

    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>> } = {}

    Returns D & EventHandlerFn<Configuration, Service, Profile>