Skip to content

Commit

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

Fixes aws#3019
  • Loading branch information
rmalecky committed Jun 24, 2019
1 parent 3a4e695 commit 9e95e65
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 9e95e65

Please sign in to comment.