1.0.7 • Published 6 years ago
aws-yaml v1.0.7
aws-yaml
Overview
Parse AWS Yaml into json
How To Install
yarn add aws-yamlHow 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
| full | short |
|---|---|
| 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
| full | short |
|---|---|
| Fn::ImportValue | !ImportValue |
| Fn::Transform | !Transform |