Skip to content

cfn-modules/nlb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfn-modules: NLB

Network load balancer.

Install

Install Node.js and npm first!

npm i @cfn-modules/nlb

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Nlb:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
        BucketModule: '' # optional
        Scheme: 'internet-facing' # optional
        CrossZone: 'false' # optional
      TemplateURL: './node_modules/@cfn-modules/nlb/module.yml'

Examples

none

Related modules

Parameters

Name Description Default Required? Allowed values
VpcModule Stack name of vpc module yes
BucketModule Stack name of S3 bucket module no
Scheme Indicates whether the load balancer reachable from the public Internet or only from within the VPC internet-facing no [internet-facing, internal]
CrossZone Indicates whether cross-zone load balancing is enabled false no [true, false]