Last active
May 20, 2021 08:09
-
-
Save kritro/6e518d07c11ae75cb25165861377d29e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Network load balancer | |
| const nlb = new elbv2.NetworkLoadBalancer(this, 'NLB', { | |
| vpc, | |
| internetFacing: true, | |
| vpcSubnets: publicSubnet, | |
| loadBalancerName: "app-mysql-nlb-public", | |
| crossZoneEnabled: false | |
| }); | |
| cdk.Tags.of(nlb).add("Name", servername+"-network-load-balancer"); | |
| cdk.Tags.of(nlb).add("Application", application); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment