Skip to content

Commit

Permalink
fix(cloudfront): fixes typos in cloudfront docs (#3021)
Browse files Browse the repository at this point in the history
Fixes small typos in the CloudFrontWebDistribution construct example.

Fixes #3019
  • Loading branch information
rmalecky authored and Elad Ben-Israel committed Jun 24, 2019
1 parent 9d19aef commit 46b3292
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,17 +489,17 @@ interface BehaviorWithOrigin extends Behavior {
* Here's how you can use this construct:
*
* ```ts
* import { CloudFront } from '@aws-cdk/aws-cloudfront'
* import { CloudFrontWebDistribution } from '@aws-cdk/aws-cloudfront'
*
* const sourceBucket = new Bucket(this, 'Bucket');
*
* const distribution = new CloudFrontDistribution(this, 'MyDistribution', {
* const distribution = new CloudFrontWebDistribution(this, 'MyDistribution', {
* originConfigs: [
* {
* s3OriginSource: {
* s3BucketSource: sourceBucket
* },
* behaviors : [ {isDefaultBehavior}]
* behaviors : [ {isDefaultBehavior: true}]
* }
* ]
* });
Expand Down

0 comments on commit 46b3292

Please sign in to comment.