Skip to content

Instantly share code, notes, and snippets.

@jc1518
Created November 9, 2022 05:46
Embed
What would you like to do?
codeBuildCloneOutput
const pipeline = new cdk.aws_codepipeline.Pipeline(this, "Pipeline", {
role: pipelineRole,
restartExecutionOnUpdate: true,
enableKeyRotation: true,
});
pipeline.addStage({
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