@cfn-modules/ecs-nlb-listener-and-target

1.4.0 • Public • Published

cfn-modules: ECS NLB listener and target

ECS NLB listener and target.

Install

Install Node.js and npm first!

npm i @cfn-modules/ecs-nlb-listener-and-target

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Target:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        NlbModule: !GetAtt 'Nlb.Outputs.StackName' # required
        VpcModule: !GetAtt 'Vpc.Outputs.StackName' # required
        Port: '80' # optional
        CertificateArn: '' # optional
        ClientSgModule: '' # optional
        DeregistrationDelayInSeconds: '60' # optional
        Protocol: 'TCP' # optional
      TemplateURL: './node_modules/@cfn-modules/ecs-nlb-listener-and-target/module.yml'

Examples

none

Related modules

Parameters

Name Description Default Required? Allowed values
NlbModule Stack name of nlb module yes
VpcModule Stack name of vpc 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 NLB Scheme := internal) no
DeregistrationDelayInSeconds The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining to unused 60 no 0-3600
Protocol The protocol for connections from clients to the load balancer. TCP no [TCP, UDP, TCP_UDP]

Package Sidebar

Install

npm i @cfn-modules/ecs-nlb-listener-and-target

Weekly Downloads

9

Version

1.4.0

License

Apache-2.0

Unpacked Size

143 kB

Total Files

16

Last publish

Collaborators

  • hellomichibye
  • andreaswittig