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
c

@awboost/cfn-resource-types

Strong types for all AWS CloudFormation Resource Schemas.

0.1.34
Version published
Weekly downloads
826
88.58%
Maintainers
1
Weekly downloads
 
Created
Issues
0

@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 06 Mar 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