1.0.7 • Published 5 years ago

aws-yaml v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

aws-yaml

Overview

Parse AWS Yaml into json

https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html

How To Install

yarn add aws-yaml

How To Use

import yaml from 'aws-yaml';
import fs from 'fs';

const buff = await fs.promises.readFile('template.yaml', 'utf8');
const json = yaml.load(buff);

const { Resources } = json;

Available Tags

fullshort
Ref!Ref
Fn::Join!Join
Fn::Select!Select
Fn::Split!Split
Fn::GetAtt!GetAtt
Fn::Sub!Sub
Fn::FindInMap!FindInMap
Fn::GetAZs!GetAZs
Fn::If!If
Fn::Equals!Equals
Fn::And!And
Fn::Or!Or
Fn::Not!Not
Fn::Base64!Base64
Fn::Cidr!Cidr

Unavailable Tags

fullshort
Fn::ImportValue!ImportValue
Fn::Transform!Transform
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago