//--- Methods --- public override async Task InitializeAsync(LambdaConfig config) { _transcribe = new AmazonTranscribeServiceClient(); _table = new IndexingStatusTable( config.ReadDynamoDBTableName("IndexingStatusTable"), new AmazonDynamoDBClient() ); }
//--- Methods --- public override async Task InitializeAsync(LambdaConfig config) { _s3Client = new AmazonS3Client(); _destinationBucketName = config.ReadS3BucketName("ExtractedAudioBucket"); _table = new IndexingStatusTable( config.ReadDynamoDBTableName("IndexingStatusTable"), new AmazonDynamoDBClient() ); // show contents of /opt folder; the 'ffmpeg' file must have execution permissions to be invocable LogInfo(Exec("/bin/bash", "-c \"ls -al /opt\"").Output); }