feat(cloudfront): use JavaScript runtime 2.0 as the default for CloudFront Functions (under feature flag)#35941
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
mrgrain
left a comment
There was a problem hiding this comment.
@badmintoncryer Approved and ready to merge once conflicts are resolved.
# Conflicts: # packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md # packages/aws-cdk-lib/cx-api/lib/features.ts # packages/aws-cdk-lib/recommended-feature-flags.json
Include V2NEXT feature flags (cloudfront defaultFunctionRuntimeV2_0, elb usePostQuantumTlsPolicy) in generated files.
|
@mrgrain Thank you for your review!! I've resolved all conflicts. |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue Status
This pull request spent 31 minutes 14 seconds in the queue, including 31 minutes running CI. Required conditions to merge
|
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
None
Reason for this change
Cloudfront function supports for 2 JavaScript runtimes(1.0 & 2.0). Runtime 2.0 is backward compatible with 1.0 and its use is generally recommended, but CDK uses 1.0 by default for backward compatibility reasons.
Description of changes
Describe any new or updated permissions being added
None
Description of how you validated changes
Add both unit and integ tests
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license