Skip to content

Commit

Permalink
docs(cloudfront): fix typos (#31018)
Browse files Browse the repository at this point in the history
Some typo fixes in the CloudFrontWebDistribution docs.

### Checklist
- [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
perrylson committed Aug 12, 2024
1 parent 7d2e9d0 commit cf0a91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/aws-cdk-lib/aws-cloudfront/lib/web-distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ interface SourceConfigurationRender {

/**
* A source configuration is a wrapper for CloudFront origins and behaviors.
* An origin is what CloudFront will "be in front of" - that is, CloudFront will pull it's assets from an origin.
* An origin is what CloudFront will "be in front of" - that is, CloudFront will pull its assets from an origin.
*
* If you're using s3 as a source - pass the `s3Origin` property, otherwise, pass the `customOriginSource` property.
*
Expand Down Expand Up @@ -479,7 +479,7 @@ export interface LambdaFunctionAssociation {
/**
* Allows a Lambda function to have read access to the body content.
* Only valid for "request" event types (`ORIGIN_REQUEST` or `VIEWER_REQUEST`).
* See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
* @see https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-include-body-access.html
*
* @default false
*/
Expand Down Expand Up @@ -736,7 +736,7 @@ export interface CloudFrontWebDistributionAttributes {
* });
* ```
*
* This will create a CloudFront distribution that uses your S3Bucket as it's origin.
* This will create a CloudFront distribution that uses your S3Bucket as its origin.
*
* You can customize the distribution using additional properties from the CloudFrontWebDistributionProps interface.
*
Expand Down

0 comments on commit cf0a91b

Please sign in to comment.