'CodePipeline 'Snyk' action via CDK

In CodePipeline I can create a 'Snyk' scan action for my pipeline in the CodePipeline console, but I need to generate it in CDK.

I have found the structure reference: https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-Snyk.html

Yet @aws-cdk/aws-codepipeline-actions doesn't seem to have a method to create the action that I am able to create in the console.

Create Snyk Action in CodePipeline console

I have created a CodeBuild action that will download and install snyk and run the scan via commands, but I was really hoping I could use a "Snyk" specific action.

Has anyone run into this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source