Skip to main content

The CloudFormation Resource Provider Development Kit (RPDK) allows you to author your own resource providers that can be used by CloudFormation. This plugin library helps to provide runtime bindings for the execution of your providers by CloudFormation.

Project description

CloudFormation Typescript (v2) Plugin

This is a plugin for the CloudFormation CLI that enables the use of Typescript for resource providers, as well providing a number of other QoL improvments over the default TypeScript plugin. It can also be used for the development of JavaScript providers, though that has not be as tested.

Warning This plugin is still in beta, and is not yet ready for production use. It is not recommended to use this plugin for any production workloads.

Installation

To install the plugin, run the following command:

pip install cfn-cli-typescriptv2-plugin

The cfn cli will automatically detect the plugin and make it available as a language provider option.

Usage

Create and navigate to a new directory for your resource provider, and run the following command:

cfn init

This will walk you through the process of creating a new resource provider. When asked for the language, select Typescript (v2).

This plugin automatically generates bindings from your schema file via the npm run generate command, and makes then available via the .cfn folder as $cfn. You should not need to interact with this folder directly, and should only update the schema file.

See the generated README.md file for more information on how to use the generated bindings, and the general CloudFormation CLI Documentation for more information on how to use the CloudFormation CLI, test your resource provider, and publish it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfn-cli-typescriptv2-plugin-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file cfn-cli-typescriptv2-plugin-0.1.0.tar.gz.

File metadata

File hashes

Hashes for cfn-cli-typescriptv2-plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 060110719a3dd979be941aa0072bbe3649ee465f64b2b51082eb8e5f294979da
MD5 f1c6746dcbd17bc2280deb237ebb091d
BLAKE2b-256 017d92faf8943447c2707bd0469eb371fef69638a2e8d1b922af3cf603ff6974

See more details on using hashes here.

File details

Details for the file cfn_cli_typescriptv2_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cfn_cli_typescriptv2_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a1ae5b146e092f50f9e5faa3cdfd4d688494be1949ea6f83325757f9e4cdf64
MD5 f4713015670e3d78d4c86fe7322ec1b1
BLAKE2b-256 e6ff074dae9e35c0f32a5bd523d8f83a2c74ea2d0b8fa1f0acdff432a94553b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page