From c2d43589c3d6f94f6b1cdc15d5d0bba120a1707a Mon Sep 17 00:00:00 2001 From: David Christiansen Date: Tue, 30 Apr 2019 20:39:14 +0200 Subject: [PATCH] doc(iam): fix typo in CompositePrincipal example (#2400) --- packages/@aws-cdk/aws-iam/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-iam/README.md b/packages/@aws-cdk/aws-iam/README.md index a1428f1eeacd4..cbca702c21778 100644 --- a/packages/@aws-cdk/aws-iam/README.md +++ b/packages/@aws-cdk/aws-iam/README.md @@ -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') ) });