@cfn-modules/lb-dns-record

1.1.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

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

      Weekly Downloads

      16

      Version

      1.1.1

      License

      Apache-2.0

      Unpacked Size

      162 kB

      Total Files

      12

      Last publish

      Collaborators

      • hellomichibye
      • andreaswittig