Skip to content

Commit

Permalink
docs: fix typo and add example
Browse files Browse the repository at this point in the history
  • Loading branch information
aripalo committed Oct 18, 2022
1 parent 364be3a commit f0c45c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ domain.assign(new targets.CloudFrontTarget(distribution))
### CloudFront helper
Instead of assigning `certificate`, `domainNames` and `enableIpv6` properties individually, you may choose to use the one-liner helper utility method `configureCloudFront()` to set all three values at once (don't forget to use object spread syntaxs):
Instead of assigning `certificate`, `domainNames` and `enableIpv6` properties individually, you may choose to use the one-liner helper utility method `configureCloudFront()` to set all three values at once (don't forget to use `...` object spread syntax):
```ts
const distribution = new cloudfront.Distribution(this, 'Distribution', {
Expand Down

0 comments on commit f0c45c3

Please sign in to comment.