Skip to content

Commit

Permalink
fix indentation in README
Browse files Browse the repository at this point in the history
  • Loading branch information
shivlaks committed Apr 1, 2020
1 parent 057f210 commit 87d64a9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/aws-cdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@ Write stack outputs from deployments into a file. When your stack finishes deplo
Usage of output in a CDK stack
```typescript
const fn = new lambda.Function(this, "fn", {
handler: "index.handler",
code: lambda.Code.fromInline(`exports.handler = \${handler.toString()}`),
runtime: lambda.Runtime.NODEJS_10_X
});

new cdk.CfnOutput(this, 'FunctionArn', {
value: fn.functionArn,
});
handler: "index.handler",
code: lambda.Code.fromInline(`exports.handler = \${handler.toString()}`),
runtime: lambda.Runtime.NODEJS_10_X
});

new cdk.CfnOutput(this, 'FunctionArn', {
value: fn.functionArn,
});
```

Specify an outputs file to write to by supplying the `--outputs-file` parameter
Expand Down

0 comments on commit 87d64a9

Please sign in to comment.