New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@awboost/cfn-resource-types

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awboost/cfn-resource-types

Strong types for all AWS CloudFormation Resource Schemas.


Version published
Weekly downloads
424
decreased by-3.42%
Maintainers
1
Weekly downloads
 
Created

@awboost/cfn-resource-types

Strong types for all AWS CloudFormation Resource Schemas.

import { Stack } from "@awboost/cfn-template-builder/stack";
import { Asset } from "@awboost/cfn-template-builder/template/asset";
import { LambdaFunction } from "@awboost/cfn-resource-types/AWS-Lambda-Function";

const stack = new Stack();

const codeAsset = Asset.fromFile("LambdaCode", "my-code.zip");

const lambda = stack.use(
  new LambdaFunction("MyFunction", {
    // properties have accurate types now
    Code: codeAsset.ref,
    Role: "arn:etc:...:...",
  }),
);

FAQs

Package last updated on 15 Feb 2024

Did you know?

Socket

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.

Install

Related posts