1.0.0 • Published 3 years ago

@dhruvdakoria-bmo/bmo-nlbtg v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

bmo-nlbtg

An AWS CDK construct for NLB Target Group.

The library is published under the following names:

Usage (TypeScript/JavaScript)

Install via npm:

$ npm i @dhruvdakoria/bmo-nlbtg

Add to your CDK stack:

import { BMONLBTGConstruct } from '@dhruvdakoria/bmo-nlbtg'

const nlbtg = new BMONLBTGConstruct(this, 'nlb-tg', {
    vpcId: 'vpc-4571531',
    targetGroupName: 'TG-NAME',
    port: 443,
    tags: [
      { key: 'AppCatID', value: '24657' },
      { key: 'Support-Team', value: 'BLD_SERVER_HYBIRD_HOSTING' },
      { key: 'Description', value: 'testing' },
      { key: 'Cost_Center', value: 'H9196' },
      { key: 'Environment', value: 'sbx' },
    ],
    routingProtocol: 'TCP',
    listenerPort: 443,
});

Notes:

  • The endpoint will be available (as an deploy-time value) under viewer.endpoint. It will also be exported as a stack output.
  • Paging is not supported. This means that only the first 1MB of items will be displayed (again, this is a demo...)

License

Apache 2.0