Skip to content

Commit

Permalink
chore(aws-iam): update aws-iam readme to include optional role descri…
Browse files Browse the repository at this point in the history
…ption example (#6300)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
robertd and mergify[bot] authored Feb 17, 2020
1 parent ea272fa commit c358498
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ permissions to trigger the expected targets, do the following:
```ts
const role = new iam.Role(this, 'Role', {
assumedBy: new iam.ServicePrincipal('codepipeline.amazonaws.com'),
// custom description if desired
description: 'This is a custom role...',
});

new codepipeline.Pipeline(this, 'Pipeline', {
Expand Down

0 comments on commit c358498

Please sign in to comment.