Skip to content

(codepipeline): Pipeline should allow pipelineType and variables passthrough to underlying CfnPipeline construct #28476

@paihu

Description

@paihu

Describe the feature

some case pipelineType "V2" is more cost effective.

I want to use Pipeline-level variables for manual trigger pipeline.

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

https://aws.amazon.com/codepipeline/pricing/

Use Case

We have large Infrastructure. We want partial deploy.

use Manual trigger with Pipeline level variables and set deploy target through variables.

Proposed Solution

add pipelineType and variables to pipelineProps,

pipeline validate variables should set pipelineType "V2"

passthrough these to CfnPipeline

Other Information

No response

Acknowledgements

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

CDK version used

2.116.1

Environment details (OS name and version, etc.)

windows 11

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