Skip to content

ElasticLoadBalancingV2: Add Property To Enable Zonal Shift Support in L2 Construct #31983

@hakenmt

Description

@hakenmt

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 to false in the NetworkLoadBalancer L2 construct.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.164.0

Environment details (OS name and version, etc.)

darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions