cfn-modules: ALB listener
August 8, 2020 ยท View on GitHub
ALB listener.
Install
Install Node.js and npm first!
npm i @cfn-modules/alb-listener
Usage
---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
AlbListener:
Type: 'AWS::CloudFormation::Stack'
Properties:
Parameters:
AlbModule: !GetAtt 'Alb.Outputs.StackName' # required
Port: '80' # optional
CertificateArn: '' # optional
ClientSgModule: '' # optional
TemplateURL: './node_modules/@cfn-modules/alb-listener/module.yml'
Examples
Related modules
Parameters
| Name | Description | Default | Required? | Allowed values |
|---|---|---|---|---|
| AlbModule | Stack name of alb module | yes | ||
| Port | The port on which the listener listens for requests | 80 | no | |
| CertificateArn | Amazon Resource Name (ARN) of the certificate to associate with the listener | no | ||
| ClientSgModule | Stack name of client-sg module where traffic is allowed from on port $Port to the listener (requires ALB Scheme := internal) | no |