Skip to content

cfn-modules/lb-dns-record

Repository files navigation

cfn-modules: Application/Network load balancer DNS record

Application/Network load balancer DNS record.

Install

Install Node.js and npm first!

npm i @cfn-modules/lb-dns-record

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Record:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        HostedZoneModule: !GetAtt 'HostedZone.Outputs.StackName' # required
        LoadBalancerModule: !GetAtt 'Alb.Outputs.StackName' # required
        SubDomainNameWithDot: '' # optional
      TemplateURL: './node_modules/@cfn-modules/lb-dns-record/module.yml'

Examples

none

Related modules

Parameters

Name Description Default Required? Allowed values
HostedZoneModule Stack name of module implementing HostedZone yes
LoadBalancerModule Stack name of module implementing HostedZone no
SubDomainNameWithDot Name that is used to create the DNS entry with trailing dot, e.g. §{SubDomainNameWithDot}§{HostedZoneName}. Leave blank for naked (or apex and bare) domain no

About

Application/Network load balancer DNS record

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •