Skip to content

Commit

Permalink
doc(iam): fix typo in CompositePrincipal example (aws#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidChristiansen authored and SanderKnape committed May 14, 2019
1 parent 06c7976 commit dfc428d
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 dfc428d

Please sign in to comment.