Fixing README
This commit is contained in:
parent
7fb5443bed
commit
30d131bc3b
1 changed files with 16 additions and 16 deletions
32
README.md
32
README.md
|
@ -78,22 +78,22 @@ helpers.
|
||||||
|
|
||||||
## Steps for adding a new included function
|
## Steps for adding a new included function
|
||||||
|
|
||||||
1.
|
1. Find the file to edit.
|
||||||
a. If a file already exists for the AWS service in the [aws directory](aws), add the code there.
|
* If a file already exists for the AWS service in the [aws directory](aws), add the code there.
|
||||||
b. If not, create a new file for the AWS service.
|
* If not, create a new file for the AWS service.
|
||||||
2.
|
2. Implement the function
|
||||||
a. Add a new class that implements base.Handler for the new functionality. In most cases, it will be sufficient
|
* Add a new class that implements base.Handler for the new functionality. In most cases, it will be sufficient
|
||||||
to pass all parameters (other than ServiceToken through to the AWS client).
|
to pass all parameters (other than ServiceToken through to the AWS client).
|
||||||
b. If the 'delete' can't be implemented using the 'create' parameters, make sure the 'create' returns all
|
* If the 'delete' can't be implemented using the 'create' parameters, make sure the 'create' returns all
|
||||||
necessary data needed for the 'delete' (such as unknowable ids); these will be stored in DynamoDB for future
|
necessary data needed for the 'delete' (such as unknowable ids); these will be stored in DynamoDB for future
|
||||||
reference in the 'delete'.
|
reference in the 'delete'.
|
||||||
3. Add a new export method that calls the new class.
|
3. Add a new export method that calls the new class.
|
||||||
4. Add two new Resources to the [create_cloudformation_helper_functions.template](create_cloudformation_helper_functions.template):
|
4. Add two new Resources to the [create_cloudformation_helper_functions.template](create_cloudformation_helper_functions.template):
|
||||||
a. The Role for the new function.
|
* The Role for the new function.
|
||||||
b. The function itself (referencing the new method from #3).
|
* The function itself (referencing the new method from #3).
|
||||||
5. Add an output for the function ARN to the template.
|
5. Add an output for the function ARN to the template.
|
||||||
6. Add an example template to the [test directory](test/aws).
|
6. Add an example template to the [test directory](test/aws).
|
||||||
7. Update the [README](README.md) to explain the new helper function.
|
7. Update the [README](README.md) to explain the new helper function.
|
||||||
|
|
||||||
|
|
||||||
## Included functions
|
## Included functions
|
||||||
|
|
Loading…
Add table
Reference in a new issue