0.1.10 • Published 4 months ago

@znemz/cft-utils v0.1.10

Weekly downloads
-
License
-
Repository
github
Last release
4 months ago

cft-utils

This projects goal is to provide information and capabilities of what AWS Cloudformation actually provides. There are many missing gaps and this library intends to fill them. The original goal of this library is to identify all AWS Resources which are actually Taggable via a Cloudformation Template.

Note: the first time the library is run it processes the aws-cd-lib for taggable resources. This is then cached inside of ./src/cache/*.json .

install

npm i --save @znemz/cft-utils

SDK

const lib = require('@znemz/cft-utils');
(async () => 
  console.log(await lib.resources.taggable.getResources())
  console.log(await lib.resources.taggable.getResourceMap())

  await lib.resources.taggable.isTaggableResource('AWS::IAM::Role') // true
)();

CLI Tools

$ ./bin/taggableResourceMap.js
{"AWS::AccessAnalyzer::Analyzer":true,"AWS::ACMPCA::CertificateAuthority":true,"AWS::AmazonMQ::Broker":true,"AWS::AmazonMQ::Configuration":true,"AWS::Amplify::App":true,"AWS::Amplify::Branch":true,"AWS::AmplifyUIBuilder::Component":true,"AWS::AmplifyUIBuilder::Form":true,"AWS::AmplifyUIBuilder::Theme":true,"AWS::ApiGatewayV2::Api":true,"AWS::ApiGatewayV2::DomainName":true,"AWS::ApiGatewayV2::Stage":true,"AWS::ApiGatewayV2::VpcLink":true,"AWS::AppConfig::Extension":true,
... more items
$ ./bin/taggableResources.js
["AWS::AccessAnalyzer::Analyzer","AWS::ACMPCA::CertificateAuthority","AWS::AmazonMQ::Broker","AWS::AmazonMQ::Configuration","AWS::Amplify::App","AWS::Amplify::Branch","AWS::AmplifyUIBuilder::Component","AWS::AmplifyUIBuilder::Form","AWS::AmplifyUIBuilder::Theme",
... more items
0.1.10

4 months ago

0.1.9

4 months ago

0.1.8

4 months ago

0.1.7

6 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.1.4

7 months ago

0.1.3

8 months ago

0.1.2

10 months ago

0.1.1

11 months ago

0.1.0

1 year ago

0.0.5-1

1 year ago

0.0.5-0

1 year ago