I am trying to attach security group to the Network Load Balancer through CDK. I do not see an option in the constructor properties. I know it’s a new feature that NLB supporting security group. Please suggest.
Here is the CDK documentation I was referring to
https://aws.amazon.com/about-aws/whats-new/2023/08/network-load-balancer-supports-security-groups/
Looking if someone tried to associate security group in NLB through CDK
2
Answers
This is documentation for the CDK version 2.93.0. Update CDK to the latest version.
This has not been released in CDK yet as of 2.93.0 – here is the relevant issue that contains a temporary workaround using an escape hatch: