Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@awboost/cfntypes

Package Overview
Dependencies
Maintainers
0
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@awboost/cfntypes

Typescript types for AWS CloudFormation types.

  • 0.100.32
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
620
increased by2.99%
Maintainers
0
Weekly downloads
 
Created
Source

@awboost/cfntypes

Typescript types for AWS CloudFormation types.

Resource Types

The resource types are all defined individually as interfaces with predictable names, and also as properties of the ResourceTypes interface keyed by the CloudFormation resource type.

import { ResourceTypes, ResourceType } from "@cfnboost/cfntypes";

type ApiGatewayProps = ResourceTypes[ResourceType.ApiGatewayRestApi];
// also exported as ApiGatewayRestApi

Attribute Types

The attribute types are all defined individually as interfaces with predictable names, and also as properties of the AttributeTypes interface keyed by the CloudFormation resource type. Note that not all resource types have attributes.

import { AttributeTypes, AttributeTypeFor } from "@cfnboost/cfntypes";

type ApiGatewayRestApiAttribs = AttributeTypes["AWS::ApiGateway::RestApi"];
// also exported as ApiGatewayRestApiAttributes

// the AttributeTypeFor helper returns `never` for resources
// with no attributes defined
type NeverAttribs = AttributeTypeFor<"AWS::ApiGateway::Account">;

FAQs

Package last updated on 28 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc