NewTriggerDeployer creates a new trigger deployer
(clients *awsclients.Clients, cfg *config.CLIConfig)
| 32 | |
| 33 | // NewTriggerDeployer creates a new trigger deployer |
| 34 | func 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 |
| 42 | func (t *TriggerDeployer) ConfigureS3Triggers(ctx context.Context, bucketName, functionArn string) error { |
no outgoing calls
no test coverage detected