Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@awboost/cfntypes
Advanced tools
Thanks for using my work! Please don't use the `v1.0.0-beta` versions right now, things are rapidly and wildly changing as I prototype other libraries in the suite. You can use `v0.*` versions but I don't intend to support this. Star the repo to keep up t
Thanks for using my work! Please don't use the v1.0.0-beta
versions right now, things are rapidly and wildly changing as I prototype other libraries in the suite. You can use v0.*
versions but I don't intend to support this. Star the repo to keep up to date with new releases.
Typescript types for AWS CloudFormation types.
The template types are available via the template
package subpath. For performance reasons, the resources are not fully typed, i.e. no type-checking
is done for valid Type
or Properties
values.
import { Template } from "@awboost/cfntypes/template";
const template: Template = {
Resources: {
MyFunction: {
Type: "AWS::Lambda::Function",
Properties: {
// omitted for brevity
},
},
},
};
Instead, the accurate resource types can be imported from the resources/*
package subpath.
import { LambdaFunction } from "@awboost/cfntypes/resources/AWS-Lambda";
import { Template } from "@awboost/cfntypes/template";
const template: Template = {
Resources: {
MyFunction: new LambdaFunction("MyFunction", {
// props go here
}).toJSON(),
},
};
The attributes of the resource can be conveniently accessed in the resource instance.
const instance = new LambdaFunction("MyFunction", {
// props
}).addToTemplate(template);
// all of the attributes are available via the attributes property.
// this property actually returns { "Fn::GetAtt": [...] } intrinsic function.
const arn = instance.attributes.Arn;
FAQs
Typescript types for AWS CloudFormation types.
The npm package @awboost/cfntypes receives a total of 472 weekly downloads. As such, @awboost/cfntypes popularity was classified as not popular.
We found that @awboost/cfntypes demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.