You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added support for Hooks
* Bump version to 0.2.23
* Removed unused unsupported target hook contract test
* Update src/rpdk/core/data/schema/provider.configuration.definition.schema.hooks.v1.json
Co-authored-by: Ben Bridts <[email protected]>
* Update src/rpdk/core/data/schema/provider.configuration.definition.schema.hooks.v1.json
Co-authored-by: Ben Bridts <[email protected]>
Co-authored-by: Ben Bridts <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+12-5Lines changed: 12 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# AWS CloudFormation CLI
4
4
5
-
The CloudFormation CLI (cfn) allows you to author your own resource providers and modules that can be used by CloudFormation.
5
+
The CloudFormation CLI (cfn) allows you to author your own resource providers, hooks, and modules that can be used by CloudFormation.
6
6
7
7
## Usage
8
8
@@ -12,7 +12,7 @@ Primary documentation for the CloudFormation CLI can be found at the [AWS Docume
12
12
13
13
### Installation
14
14
15
-
This tool can be installed using [pip](https://pypi.org/project/pip/) from the Python Package Index (PyPI). It requires Python 3. For resource types, the tool requires at least one language plugin. Language plugins are not needed to create a module type. The language plugins are also available on PyPI and as such can be installed all at once:
15
+
This tool can be installed using [pip](https://pypi.org/project/pip/) from the Python Package Index (PyPI). It requires Python 3. For resource and hook types, the tool requires at least one language plugin. Language plugins are not needed to create a module type. The language plugins are also available on PyPI and as such can be installed all at once:
To register a resource provideror module in your account, use the `submit` command.
41
+
To register a resource provider, module, or hook in your account, use the `submit` command.
42
42
43
43
```bash
44
44
cfn submit
@@ -65,7 +65,7 @@ Note: To use your type configuration in contract tests, you will need to save yo
65
65
66
66
To validate the schema, use the `validate` command.
67
67
68
-
This command is automatically run whenever one attempts to submit a resourceor module. Errors will prevent you from submitting your resource/module. Module fragments will additionally be validated via [`cfn-lint`](https://github.com/aws-cloudformation/cfn-python-lint/) (but resulting warnings will not cause this step to fail).
68
+
This command is automatically run whenever one attempts to submit a resource, module, or hook. Errors will prevent you from submitting your resource/module. Module fragments will additionally be validated via [`cfn-lint`](https://github.com/aws-cloudformation/cfn-python-lint/) (but resulting warnings will not cause this step to fail).
If you're creating a resource type, you will also need to install a language plugin, such as [the Java language plugin](https://github.com/aws-cloudformation/cloudformation-cli-java-plugin), also via `pip install`. For example, assuming the plugin is checked out in the same parent directory as this repository:
102
+
If you're creating a resource or hook type, you will also need to install a language plugin, such as [the Java language plugin](https://github.com/aws-cloudformation/cloudformation-cli-java-plugin), also via `pip install`. For example, assuming the plugin is checked out in the same parent directory as this repository:
103
103
104
104
```bash
105
105
pip install -e ../cloudformation-cli-java-plugin
@@ -128,13 +128,20 @@ Plugins must provide the same interface as `LanguagePlugin` (in `plugin_base.py`
| Java | Available |[cloudformation-cli-java-plugin](https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/)|[cloudformation-cli-java-plugin](https://pypi.org/project/cloudformation-cli-java-plugin/)|
134
135
| Go | Available |[cloudformation-cli-go-plugin](https://github.com/aws-cloudformation/cloudformation-cli-go-plugin/)|[cloudformation-cli-go-plugin](https://pypi.org/project/cloudformation-cli-go-plugin/)|
135
136
| Python | Available |[cloudformation-cli-python-plugin](https://github.com/aws-cloudformation/cloudformation-cli-python-plugin/)|[cloudformation-cli-python-plugin](https://pypi.org/project/cloudformation-cli-python-plugin/)|
136
137
| TypeScript| Available |[cloudformation-cli-typescript-plugin](https://github.com/aws-cloudformation/cloudformation-cli-typescript-plugin/)|[cloudformation-cli-typescript-plugin](https://pypi.org/project/cloudformation-cli-typescript-plugin/)|
| Java | Available |[cloudformation-cli-java-plugin](https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/)|[cloudformation-cli-java-plugin](https://pypi.org/project/cloudformation-cli-java-plugin/)|
143
+
| Python | Available |[cloudformation-cli-python-plugin](https://github.com/aws-cloudformation/cloudformation-cli-python-plugin/)|[cloudformation-cli-python-plugin](https://pypi.org/project/cloudformation-cli-python-plugin/)|
144
+
138
145
## License
139
146
140
147
This library is licensed under the Apache 2.0 License.
0 commit comments