aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.68k stars 3.93k forks source link

CodePipeline: Missing stage inputs for onSuccess, onFailure, and beforeEntry #31833

Open jaydm26 opened 3 weeks ago

jaydm26 commented 3 weeks ago

Describe the feature

AWS has implemented the rule based entry and exits from Stages through onSuccess, onFailure, and beforeEntry for CodePipelines.

Cloudformation Documentation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html

Use Case

It would be helpful:

Proposed Solution

No response

Other Information

No response

Acknowledgements

CDK version used

2.162.1

Environment details (OS name and version, etc.)

MacOS Sonoma 14.6.1, Python 3.11.7

khushail commented 3 weeks ago

Hey @jaydm26 , thanks for requesting this. This seems to be good to have feature , as its already supported by Cloduformation - https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline.CfnPipeline.StageDeclarationProperty.html

As L1 construct is available for this and you could use that till its made available by CDK, I am marking this as P2 which means it would be on team's radar and be open for community as well as team's contribution.

Thanks