@propulsionworks/cfn-resource-schemas 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/package.json +10 -1
- package/schemas.ndjson.gz +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @propulsionworks/cfn-resource-schemas
|
|
2
|
+
|
|
3
|
+
This repository contains the [CloudFormation resource provider schemas](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-type-schemas.html) for the `us-east-1` region.
|
|
4
|
+
|
|
5
|
+
The schemas are checked daily for changes, and if there are any, a new version of this package is automatically published.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { loadSchemas } from "@propulsionworks/cfn-resource-schemas";
|
|
11
|
+
import { ResourceTypeSchemaWithMeta } from "@propulsionworks/cfn-resource-schemas/types";
|
|
12
|
+
|
|
13
|
+
const schemas = loadSchemas();
|
|
14
|
+
|
|
15
|
+
for await (const schema of schemas) {
|
|
16
|
+
// schema is a ResourceTypeSchemaWithMeta
|
|
17
|
+
}
|
|
18
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@propulsionworks/cfn-resource-schemas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"description": "Versioned mirror of AWS CloudFormation Resource Schemas (unofficial)",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Gordon Leigh"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/propulsionworks/cfn-resource-schemas.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/propulsionworks/cfn-resource-schemas#readme",
|
|
5
14
|
"engines": {
|
|
6
15
|
"node": ">=20"
|
|
7
16
|
},
|
package/schemas.ndjson.gz
CHANGED
|
Binary file
|