npm.io
0.16.0 • Published 1 week ago

@ts-cloud/aws-types

Licence
MIT
Version
0.16.0
Deps
0
Size
124 kB
Vulns
0
Weekly
0
Stars
3

@ts-cloud/aws-types

AWS CloudFormation resource type definitions for TypeScript, without any dependency on the AWS SDK.

Installation

bun add @ts-cloud/aws-types
npm install @ts-cloud/aws-types

Usage

import type {
  EC2Instance,
  S3Bucket,
  LambdaFunction,
  Route53HostedZone,
} from '@ts-cloud/aws-types'

// Use fully typed AWS resource definitions
const instance: EC2Instance = {
  Type: 'AWS::EC2::Instance',
  Properties: {
    InstanceType: 't3.micro',
    ImageId: 'ami-0abcdef1234567890',
  },
}

Features

  • Comprehensive TypeScript type definitions for AWS CloudFormation resources
  • Covers a wide range of AWS services (EC2, S3, Lambda, ECS, RDS, Route53, CloudWatch, SNS, SQS, and many more)
  • Zero runtime dependencies -- types only
  • No AWS SDK required
  • Used internally by @ts-cloud/core and @stacksjs/ts-cloud

License

MIT