File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/aws-cdk-lib/pipelines/lib/codepipeline Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,15 @@ export interface CodePipelineProps {
254254 * @default - no cross region replication buckets.
255255 */
256256 readonly crossRegionReplicationBuckets ?: { [ region : string ] : s3 . IBucket } ;
257+
258+ /**
259+ * Type of the pipeline.
260+ *
261+ * @default - PipelineType.V1
262+ *
263+ * @see https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
264+ */
265+ readonly pipelineType ?: cp . PipelineType ;
257266}
258267
259268/**
@@ -476,6 +485,7 @@ export class CodePipeline extends PipelineBase {
476485 role : this . props . role ,
477486 enableKeyRotation : this . props . enableKeyRotation ,
478487 artifactBucket : this . props . artifactBucket ,
488+ pipelineType : this . props . pipelineType ,
479489 } ) ;
480490 }
481491
You can’t perform that action at this time.
0 commit comments