Skip to content

Commit

Permalink
doc(iam): fix typo in CompositePrincipal example (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidChristiansen authored and skinny85 committed Apr 30, 2019
1 parent 71d694f commit c2d4358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-iam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The `CompositePrincipal` class can also be used to define complex principals, fo
```ts
const role = new iam.Role(this, 'MyRole', {
assumedBy: new iam.CompositePrincipal(
new iam.ServicePrincipal('ec2.amazonawas.com'),
new iam.ServicePrincipal('ec2.amazonaws.com'),
new iam.AccountPrincipal('1818188181818187272')
)
});
Expand Down

0 comments on commit c2d4358

Please sign in to comment.