-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(codepipeline): allow retrieving created stages and actions #5206
feat(codepipeline): allow retrieving created stages and actions #5206
Conversation
This adds a stages property on Pipeline, and actions property on IStage, which makes it easier to mutate the pipeline after it has been created, which is useful when creating L3s. Fixes aws#4878
Thanks so much for taking the time to contribute to the AWS CDK ❤️ We will shortly assign someone to review this pull request and help get it
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: PR description has bad line breaks.
@@ -42,17 +42,21 @@ export class Stage implements IStage { | |||
/** | |||
* Get a duplicate of this stage's list of actions. | |||
*/ | |||
public get actions(): FullActionDescriptor[] { | |||
public get actionDescriptors(): FullActionDescriptor[] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking change? Why is this even in the public API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a breaking change - the Stage
class is private to the @aws-cdk/aws-codepipeline
package.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request is now being automatically merged. |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
This adds a stages property on Pipeline, and actions property on IStage, which makes it easier to mutate the pipeline after it has been created, which is useful when creating L3s.
Fixes #4878
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license