diff --git a/packages/@aws-cdk/aws-lambda/README.md b/packages/@aws-cdk/aws-lambda/README.md index 223f94bdd0a3a..a60ca0143d7f0 100644 --- a/packages/@aws-cdk/aws-lambda/README.md +++ b/packages/@aws-cdk/aws-lambda/README.md @@ -56,7 +56,8 @@ functions will use an autogenerated Role if one is not provided. The autogenerated Role is automatically given permissions to execute the Lambda function. To reference the autogenerated Role: -``` + +```ts const fn = new lambda.Function(this, 'MyFunction', { runtime: lambda.Runtime.NODEJS_10_X, handler: 'index.handler',