Skip to content

Conversation

@sAchin-680
Copy link

@sAchin-680 sAchin-680 commented Nov 13, 2025

Issue # (if applicable)

Closes #35992

Reason for this change

The JSDoc comment for PRICE_CLASS_200 was missing several regions that are actually included in this price class according to the official AWS CloudFront pricing documentation, causing confusion for developers about which regions are covered.

Description of changes

Updated the JSDoc comment for PRICE_CLASS_200 in packages/aws-cdk-lib/aws-cloudfront/lib/distribution.ts to include the missing regions: India, Indonesia, Thailand, Malaysia, Vietnam, Nigeria, Egypt, and Türkiye.

This is a documentation-only change that adds accurate region information to help developers understand the full scope of PRICE_CLASS_200 coverage.

Reference: AWS CloudFront Pricing — This page lists all regions included in each price class.

Describe any new or updated permissions being added

None - this is a documentation-only change.

Description of how you validated changes

  • Verified the updated documentation matches the official AWS CloudFront pricing page
  • Confirmed the change only affects JSDoc comments with no code logic changes
  • Existing test coverage (lines 937-948 in distribution.test.ts) validates the enum value
  • Checked that the file builds without errors

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Include India, Indonesia, Thailand, Malaysia, Vietnam, Nigeria, Egypt, and Türkiye in the PRICE_CLASS_200 JSDoc comment to accurately reflect all regions covered by this price class.

Closes aws#35992

Signed-off-by: SACHIN KUMAR <mrmister680@gmail.com>
@aws-cdk-automation aws-cdk-automation requested a review from a team November 13, 2025 13:07
@github-actions github-actions bot added effort/small Small work item – less than a day of effort p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Nov 13, 2025
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@aws-cdk-automation
Copy link
Collaborator

This PR has been in the CHANGES REQUESTED state for 3 weeks, and looks abandoned. Note that PRs with failing linting check or builds are not reviewed, please ensure your build is passing

To prevent automatic closure:

  • Resume work on the PR
  • OR request an exemption by adding a comment containing 'Exemption Request' with justification e.x "Exemption Request: "
  • OR request clarification by adding a comment containing 'Clarification Request' with a question e.x "Clarification Request: "

This PR will automatically close in 14 days if no action is taken.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

TestsPassed ❌️SkippedFailed
Security Guardian Results0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

TestsPassed ❌️SkippedFailed
Security Guardian Results with resolved templates0 ran0 passed0 skipped0 failed
TestResult
No test annotations available

@sAchin-680
Copy link
Author

Hi @pahud !

Exemption Request: Documentation-only change updating the JSDoc comment for PRICE_CLASS_200 to include all regions per AWS CloudFront pricing docs. No code logic modified. Existing test (lines 937-948 in distribution.test.ts already validates the enum value.

Please review when possible. Fixes #35992.

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Dec 5, 2025
@pahud pahud changed the title fix(cloudfront): add missing regions to PRICE_CLASS_200 documentation chore(cloudfront): add missing regions to PRICE_CLASS_200 documentation Dec 5, 2025
@aws-cdk-automation aws-cdk-automation dismissed their stale review December 5, 2025 18:11

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@pahud
Copy link
Contributor

pahud commented Dec 5, 2025

@sAchin-680 I am not eligible to review PRs but I can make sure your PR is ready and move into the queue.

include all regions per AWS CloudFront pricing docs

Do you have the AWS docs link? If yes, can you include in the PR description as this will help the maintainer give a very quick approval.

@aws-cdk-automation aws-cdk-automation added the pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. label Dec 5, 2025
@pahud
Copy link
Contributor

pahud commented Dec 5, 2025

Thank you. I can confirm that this PR is now in the pr/needs-community-review queue. Once it receives an approving community review, it will move to the pr/needs-maintainer-review stage. Please ensure that the CI status remains in a Success state, as the maintainer will review it from that queue.

@sAchin-680
Copy link
Author

Do you have the AWS docs link? If yes, can you include in the PR description as this will help the maintainer give a very quick approval.

Thank you, @pahud!

Yes, the official AWS CloudFront pricing documentation link is:
https://aws.amazon.com/cloudfront/pricing/

I believe this is the correct reference, but please correct me if I’m wrong.
I’ll add this link to the PR description as suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member. pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_cdk.aws_cloudfront : India is missing from PRICE_CLASS_200

3 participants