cfn-modules / alb

Application load balancer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfn-modules: ALB

Application load balancer.

Install

Install Node.js and npm first!

npm i @cfn-modules/alb

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Alb:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
        AlertingModule: '' # optional
        BucketModule: '' # optional
        Scheme: 'internet-facing' # optional
        IpAddressType: 'dualstack' # optional
        IdleTimeoutInSeconds: '60' # optional
      TemplateURL: './node_modules/@cfn-modules/alb/module.yml'

Examples

Related modules

Parameters

Name Description Default Required? Allowed values
VpcModule Stack name of vpc module yes
AlertingModule Stack name of alerting module no
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]
IpAddressType The IP adress type for the load balancer: IPv4 only or Dualstack (IPv4+IPv6) dualstack no [ipv4, dualstack]
IdleTimeoutInSeconds The idle timeout value, in seconds 60 no 1-4000

About

Application load balancer

License:Apache License 2.0


Languages

Language:JavaScript 100.0%