-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ec2): create NAT Gateways with fixed IPs #14250
Conversation
packages/@aws-cdk/aws-ec2/lib/nat.ts
Outdated
/** | ||
* Properties for a NAT gateway | ||
* | ||
* @experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is being banned. I believe, you have to either go with the new model of 'Pre' suffix or just take this as a stable API.
cc @NetaNir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The APIs above and below also had @experimental
still there, so seeing as no code change has been made here yet, I'd like to keep this in line with the rest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nija-at is right, we removed all @expiremental annotations and added a lint rule to disallow the use of this annotation. The PR for the removal was merged today, I was keeping it open to allow owners to make any adjustments before all APIs are marked as stable.
I pushed the change to remove the @experimetnal flag to your branch and merged in the latest changes from master.
If you want to keep this API non-final, you can add a preview suffix to both the method and the props. The preview API spec is not yet written but we had some discussion on this PR, in which it was decided to use the suffix beta1
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added label for second approver. Check with Neta on the experimental annotation.
Rest of the code LGTM.
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Select static IPs for NAT gateways by pre-creating EIP allocations and
passing them into the NAT gateway provider.
Fixes #11884, fixes #4067.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license