-
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
ElasticLoadBalancingV2: Add Property To Enable Zonal Shift Support in L2 Construct #31983
Comments
Appears to be a valid feature request. Per AWS::ElasticLoadBalancingV2::LoadBalancer LoadBalancerAttribute, the attributes |
Comments on closed issues and PRs are hard for our team to see. |
1 similar comment
Comments on closed issues and PRs are hard for our team to see. |
…ancer (aws#31990) ### Issue # (if applicable) Closes aws#31983. ### Reason for this change AWS CDK does not support for configuring zonal shift for a NLB. ### Description of changes Add `zonalShift` prop to `NetworkLoadBalancerProps` ### Description of how you validated changes Add both unit and integ tests. ### 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*
Describe the feature
NLB attributes can only directly be set in the L1 construct. Exposing some of the standard ones, like enabling zonal shift, which requires opt-in, requires additionally calling
SetAttribute
or casting to the L1 construct and adding the key/value to the array of attributes.Use Case
Exposing this as a top level property for an NLB helps make users aware they need to opt-in (which is a recent change of behavior) and makes doing so easy.
Proposed Solution
Add
EnableZonalShift
as a boolean value, defaulting tofalse
in theNetworkLoadBalancer
L2 construct.Other Information
No response
Acknowledgements
CDK version used
2.164.0
Environment details (OS name and version, etc.)
darwin
The text was updated successfully, but these errors were encountered: