aws

package
v0.0.0-...-4f497cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LambdaHandler

type LambdaHandler struct {
	// contains filtered or unexported fields
}

LambdaHandler implements an AWS Lambda handler for an incoming SQSEvent Message.

func NewLambdaHandler

func NewLambdaHandler(job drizzle.Builder, workDir string) *LambdaHandler

NewLambdaHandler creates a new LambdaHandler.

func (*LambdaHandler) Handle

func (lh *LambdaHandler) Handle(ctx context.Context, sqsEvent *events.SQSEvent) error

Handle handles incoming SQSEvents.

type SecretsManager

type SecretsManager struct {
	// contains filtered or unexported fields
}

SecretsManager represents an AWS SecretsManager.

func NewSecretManager

func NewSecretManager(secretsManager *secretsmanager.SecretsManager) *SecretsManager

NewSecretManager creates a new SecretsManager.

func (*SecretsManager) RetrieveSecret

func (s *SecretsManager) RetrieveSecret(secretID string) (string, error)

RetrieveSecret retrieves a secret value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL