aws-cfn-constructor
TypeScript icon, indicating that this package has built-in type declarations

0.2.13 • Public • Published

aws-cfn-constructor

Constructor for AWS CloudFormation resources using AWS CDK (cfn is an abbreviation for cloudFormation)


Installation

npm install aws-cfn-constructor

Usage

Javascript

const cfnConstructor = require('aws-cfn-constructor');
// Load a configuration file to create role [Ref. AWS CloudFormation Doc]
const config = cfnConstructor.loadJsonFile("config_file_path");
// Create roles
cfnConstructor.createRoles(config);
Create the roles based on configuration

TypeScript

import { loadJsonFile, createRoles } from 'aws-cfn-constructor';
// Load a configuration file to create role [Ref. AWS CloudFormation Doc]
const config: any = loadJsonFile("config_file_path");
// Create roles
createRoles(config);
Create the roles based on configuration

/aws-cfn-constructor/

    Package Sidebar

    Install

    npm i aws-cfn-constructor

    Weekly Downloads

    2

    Version

    0.2.13

    License

    MIT

    Unpacked Size

    232 kB

    Total Files

    49

    Last publish

    Collaborators

    • hmin