Anyone knows how to add permission to a lambda fun...
# help
a
Anyone knows how to add permission to a lambda function for services like Amazon Transcribe?
figured out:
Copy code
import * as iam from "aws-cdk-lib/aws-iam";

permissions: [
            new iam.PolicyStatement({
              effect: iam.Effect.ALLOW,
              actions: ["transcribe:StartTranscriptionJob"],
              resources: ["*"],
            }),
          ],