ALB listener
npm install @cfn-modules/alb-listenerALB listener.
> Install Node.js and npm first!
```
npm i @cfn-modules/alb-listener
```
---
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'
* fargate-alb-proxy-pattern
* fargate-alb-single-container
* alb
| 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 |