Skip to content

Instantly share code, notes, and snippets.

Created November 9, 2022 05:46
What would you like to do?
const pipeline = new cdk.aws_codepipeline.Pipeline(this, "Pipeline", {
role: pipelineRole,
restartExecutionOnUpdate: true,
enableKeyRotation: true,
stageName: "Get_Source",
actions: [
new cdk.aws_codepipeline_actions.CodeStarConnectionsSourceAction({
actionName: "Bitbucket_Source",
connectionArn: this.bitbucketCodestarConnection.valueAsString,
owner: this.bitbucketRepositoryOwner.valueAsString,
repo: this.bitbucketRepository.valueAsString,
branch: this.bitbucketBranch.valueAsString,
output: pipelineArtifact,
codeBuildCloneOutput: true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment