Skip to content

Conversation

@badmintoncryer
Copy link
Contributor

Issue # (if applicable)

Closes #35450.

Reason for this change

CloudFront recently launched support for IPv6 origins.

Lambda function URL's are by default dual stack.

It is better to update default behavior of IP address type settings from IPV4 to Dualstack.

Description of changes

  • add feature flag @aws-cdk/aws-cloudfront-origins:functionUrlOriginDualStackDefault
  • update default value of lambda function url origin IP address type
    • with / without OAC

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

@aws-cdk-automation aws-cdk-automation requested a review from a team October 15, 2025 13:59
@github-actions github-actions bot added effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 distinguished-contributor [Pilot] contributed 50+ PRs to the CDK labels Oct 15, 2025
@badmintoncryer badmintoncryer marked this pull request as draft October 15, 2025 14:01
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)

@badmintoncryer badmintoncryer marked this pull request as ready for review October 15, 2025 14:28
@aws-cdk-automation aws-cdk-automation dismissed their stale review October 15, 2025 14:30

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

@badmintoncryer badmintoncryer changed the title feat(cloudfront-origins): use dualstack ip address type by default for lambda function url origin (under feature flags) feat(cloudfront-origins): use dualstack ip address type by default for lambda function url origin (under feature flag) Oct 28, 2025
@badmintoncryer badmintoncryer changed the title feat(cloudfront-origins): use dualstack ip address type by default for lambda function url origin (under feature flag) feat(cloudfront-origins): use dual-stack ip address type by default for lambda function url origin (under feature flag) Nov 2, 2025
@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 Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

distinguished-contributor [Pilot] contributed 50+ PRs to the CDK effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 pr/needs-community-review This PR needs a review from a Trusted Community Member or Core Team Member.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-cloudfront-origins): Default Lambda Function URL Origins To Dual Stack IPv4/IPv6

2 participants