I am using bitbucket as source control and codepipeline as CI/CD tool. I created the codepipeline's source action from CDK as below code:
new actions.BitBucketSourceAction({
actionName: 'SourceAction',
owner: bitbucketOwner,
connectionArn: codeStar,
branch: branchName,
output: this.sourceOutput,
repo: bitbucketName,
}),
after finish deploying codepipeline, it is triggered automatically when a commit pushed to bitbucket branch. How can I stop it doing that? I'd like to make a commit to trigger a codebuild project from where it triggers codepipeline.
In codepipeline source action console, I can see this checkbox:
but how can I set this configuration in CDK?