Skip to content

feat (pipelines): Follow up on Recent V2 Pipeline Type Implementation #34209

Open
@andreamac003

Description

@andreamac003

Describe the feature

I would like to follow up on #33995 which was recently implemented as part of PR #34005

The upgrade in place for the v2 pipeline type in cdk.pipelines is working great. However, when I try to implement the features in V2 pipeline, I see that some properties are not found, for example, executionMode and triggers are not valid property on pipelines.CodePipeline and so I cannot implement the features available in CodePipeline V2:

    const deploymentPipeline = new pipelines.CodePipeline(this, 'Pipeline', {
      pipelineType: codepipeline.PipelineType.V2,
      executionMode: codepipeline.ExecutionMode.PARALLEL,
      triggers: [{
        providerType: codepipeline.ProviderType.GIT,
        gitConfiguration: {
          push: {
            tags: {
              includes: ['release-*']
            }
          }
        }
      }],
      selfMutation: selfMutation,

The features I am trying to test are found below. In addition to executionMode and triggers, I am not sure what else is needed, but I assume the solution would be to implement the same properties in aws-cdk-lib/aws-codepipeline to now be in the newly updated construct in aws-cdk-lib/pipelines

Use Case

So that we can take advantage of all the CodePipeline v2 features shown above in the newly updated cdk.pipelines CodePipeline construct

Proposed Solution

I believe the solution would be to implement the same properties in aws-cdk-lib/aws-codepipeline to now be in the newly updated construct in aws-cdk-lib/pipelines

Other Information

The documentation I am looking at is below, and so I would like to ensure these features are available for use on the new construct:

Image Reference: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.189.0

Environment details (OS name and version, etc.)

MacOS Sequoia 15.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions