MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / NewTriggerDeployer

Function NewTriggerDeployer

internal/deploy/triggers.go:34–39  ·  view source on GitHub ↗

NewTriggerDeployer creates a new trigger deployer

(clients *awsclients.Clients, cfg *config.CLIConfig)

Source from the content-addressed store, hash-verified

32
33// NewTriggerDeployer creates a new trigger deployer
34func NewTriggerDeployer(clients *awsclients.Clients, cfg *config.CLIConfig) *TriggerDeployer {
35 return &TriggerDeployer{
36 clients: clients,
37 cfg: cfg,
38 }
39}
40
41// ConfigureS3Triggers configures S3 bucket notifications to trigger Lambda
42func (t *TriggerDeployer) ConfigureS3Triggers(ctx context.Context, bucketName, functionArn string) error {

Callers 4

cleanupS3ResourcesFunction · 0.92
runStatusFunction · 0.92
getS3StatusFunction · 0.92
runDeployFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected