From f0c45c3fc64b6e655ad205d09a961433e44e6900 Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Tue, 18 Oct 2022 12:58:25 +0300 Subject: [PATCH] docs: fix typo and add example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 73dd095..293921f 100644 --- a/README.md +++ b/README.md @@ -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', {