Home

Awesome

cfn-modules: AWS Certificate Manager wildcard certificate (public)

Public wildcard certificate managed by ACM.

Let's assume you have created a hosted zone for widdix.net. This module creates a certificate for the following (sub)domain names:

Keep in mind that *.widdix.net includes only one subdomain level. E.g. www.widdix.net is included, but www.test.widdix.net is not.

Install

Install Node.js and npm first!

npm i @cfn-modules/acm-wildcard-certificate-public

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Certificate:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        HostedZoneModule: !GetAtt 'HostedZone.Outputs.StackName' # required
      TemplateURL: './node_modules/@cfn-modules/acm-wildcard-certificate-public/module.yml'

Examples

none

Related modules

Parameters

<table> <thead> <tr> <th>Name</th> <th>Description</th> <th>Default</th> <th>Required?</th> <th>Allowed values</th> </tr> </thead> <tbody> <tr> <td>HostedZoneModule</td> <td>Stack name of <a href="https://www.npmjs.com/search?q=keywords:cfn-modules:HostedZone">module implementing HostedZone</a></td> <td></td> <td>yes</td> <td></td> </tr> </tbody> </table>

Outputs

<table> <thead> <tr> <th>Name</th> <th>Interface</th> <th>Description</th> <th>Exported?</th> </tr> </thead> <tbody> <tr> <td>ModuleId</td> <td>global</td> <td>Id of the module</td> <td>no</td> </tr> <tr> <td>ModuleVersion</td> <td>global</td> <td>Version of the module</td> <td>no</td> </tr> <tr> <td>StackName</td> <td>global</td> <td>Name of the stack (used to pass module references)</td> <td>no</td> </tr> <tr> <td>Arn</td> <td>ExposeArn</td> <td>Certificate ARN</td> <td>yes</td> </tr> </tbody> </table>