Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
- [ ] `make pr` passes
- [ ] Update documentation
- [ ] Verify transformed template deploys and application functions as expected
- [ ] Add/update example to `examples/2016-10-31`

*Examples?*

Please reach out in the comments, if you want to add an example. Examples will be
added to `sam init` through https://github.com/awslabs/aws-sam-cli-app-templates/

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
10 changes: 10 additions & 0 deletions docs/cloudformation_compatibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,16 @@ StartingPosition All
BatchSize All
======================== ================================== ========================

MSK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
======================== ================================== ========================
Property Name Intrinsic(s) Supported Reasons
======================== ================================== ========================
Stream All
Topics All
StartingPosition All
======================== ================================== ========================

DynamoDB
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
======================== ================================== ========================
Expand Down
28 changes: 28 additions & 0 deletions docs/internals/generated_resources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,34 @@ AWS::Lambda::Permission MyFunction\ **MyTrigger**\ Permission
AWS::Lambda::EventSourceMapping MyFunction\ **MyTrigger**
================================== ================================

MSK
^^^^^^^

Example:

.. code:: yaml

MyFunction:
Type: AWS::Serverless::Function
Properties:
...
Events:
MyTrigger:
Type: MSK
Properties:
Stream: arn:aws:kafka:us-east-1:123456789012:cluster/mycluster/6cc0432b-8618-4f44-bccc-e1fbd8fb7c4d-2
StartingPosition: TRIM_HORIZON
...

Additional generated resources:

================================== ================================
CloudFormation Resource Type Logical ID
================================== ================================
AWS::Lambda::Permission MyFunction\ **MyTrigger**\ Permission
AWS::Lambda::EventSourceMapping MyFunction\ **MyTrigger**
================================== ================================

SQS
^^^

Expand Down
3 changes: 0 additions & 3 deletions examples/.eslintrc.yml

This file was deleted.

33 changes: 0 additions & 33 deletions examples/2016-10-31/alexa_skill/index.js

This file was deleted.

13 changes: 0 additions & 13 deletions examples/2016-10-31/alexa_skill/template.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions examples/2016-10-31/api_aws_iam_auth/index.js

This file was deleted.

30 changes: 0 additions & 30 deletions examples/2016-10-31/api_aws_iam_auth/template.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions examples/2016-10-31/api_backend/src/index.js

This file was deleted.

68 changes: 0 additions & 68 deletions examples/2016-10-31/api_backend/template.yaml

This file was deleted.

45 changes: 0 additions & 45 deletions examples/2016-10-31/api_cognito_auth/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions examples/2016-10-31/api_cognito_auth/package.json

This file was deleted.

Loading