diff --git a/packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts b/packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts index efbd49e9aa8d1..1c1dd8399a3fd 100644 --- a/packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts +++ b/packages/@aws-cdk/aws-cloudfront/lib/web_distribution.ts @@ -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}] * } * ] * });