Skip to content

Commit

Permalink
docs(codepipeline): fix module name in README "@aws-cdk/aws-codepipel…
Browse files Browse the repository at this point in the history
…ine-actions" => "aws-cdk-lib/aws-codepipeline-actions" (#26057)

README for aws-cdk-lib.aws_codepipeline module includes old module name `@aws-cdk/aws-codepipeline-actions`. Currently `aws-cdk-lib/aws-codepipeline-actions` is correct.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
tam0ri authored Jun 23, 2023
1 parent 3f1f974 commit 4729d76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-cdk-lib/aws-codepipeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ this stage automatically. The transition can then be "manually" enabled later on

## Actions

Actions live in a separate package, `@aws-cdk/aws-codepipeline-actions`.
Actions live in a separate package, `aws-cdk-lib/aws-codepipeline-actions`.

To add an Action to a Stage, you can provide it when creating the Stage,
in the `actions` property,
Expand All @@ -130,7 +130,7 @@ sourceStage.addAction(someAction);

## Custom Action Registration

To make your own custom CodePipeline Action requires registering the action provider. Look to the `JenkinsProvider` in `@aws-cdk/aws-codepipeline-actions` for an implementation example.
To make your own custom CodePipeline Action requires registering the action provider. Look to the `JenkinsProvider` in `aws-cdk-lib/aws-codepipeline-actions` for an implementation example.

```ts
// Make a custom CodePipeline Action
Expand Down Expand Up @@ -413,7 +413,7 @@ new OtherAction({
});
```

Check the documentation of the `@aws-cdk/aws-codepipeline-actions`
Check the documentation of the `aws-cdk-lib/aws-codepipeline-actions`
for details on how to use the variables for each action class.

See the [CodePipeline documentation](https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-variables.html)
Expand Down

0 comments on commit 4729d76

Please sign in to comment.