├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── conftest.py ├── events ├── nf-invalido-placa.xml ├── nf-invalido-schema.xml └── nf-valido.xml ├── images ├── architecture.png └── flow.drawio ├── lambdas ├── files_generator │ ├── app.py │ └── requirements.txt ├── on_file_converted │ ├── app.py │ └── requirements.txt ├── on_file_receive │ ├── app.py │ └── requirements.txt └── on_file_validated │ ├── app.py │ └── requirements.txt ├── template.yaml ├── templates ├── api.yaml └── non-sam-resources.yaml └── tests ├── __init__.py ├── integration ├── __init__.py └── test_ec2_event.py ├── requirements.txt └── unit ├── __init__.py └── test_handler.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/README.md -------------------------------------------------------------------------------- /conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/conftest.py -------------------------------------------------------------------------------- /events/nf-invalido-placa.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/events/nf-invalido-placa.xml -------------------------------------------------------------------------------- /events/nf-invalido-schema.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/events/nf-invalido-schema.xml -------------------------------------------------------------------------------- /events/nf-valido.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/events/nf-valido.xml -------------------------------------------------------------------------------- /images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/images/architecture.png -------------------------------------------------------------------------------- /images/flow.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/images/flow.drawio -------------------------------------------------------------------------------- /lambdas/files_generator/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/lambdas/files_generator/app.py -------------------------------------------------------------------------------- /lambdas/files_generator/requirements.txt: -------------------------------------------------------------------------------- 1 | aws-lambda-powertools 2 | boto3 3 | wheel -------------------------------------------------------------------------------- /lambdas/on_file_converted/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/lambdas/on_file_converted/app.py -------------------------------------------------------------------------------- /lambdas/on_file_converted/requirements.txt: -------------------------------------------------------------------------------- 1 | aws-lambda-powertools 2 | boto3 3 | wheel -------------------------------------------------------------------------------- /lambdas/on_file_receive/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/lambdas/on_file_receive/app.py -------------------------------------------------------------------------------- /lambdas/on_file_receive/requirements.txt: -------------------------------------------------------------------------------- 1 | aws-lambda-powertools 2 | xmltodict 3 | boto3 4 | wheel -------------------------------------------------------------------------------- /lambdas/on_file_validated/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/lambdas/on_file_validated/app.py -------------------------------------------------------------------------------- /lambdas/on_file_validated/requirements.txt: -------------------------------------------------------------------------------- 1 | aws-lambda-powertools 2 | boto3 3 | wheel -------------------------------------------------------------------------------- /template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/template.yaml -------------------------------------------------------------------------------- /templates/api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/templates/api.yaml -------------------------------------------------------------------------------- /templates/non-sam-resources.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/templates/non-sam-resources.yaml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/integration/test_ec2_event.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/tests/integration/test_ec2_event.py -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/tests/requirements.txt -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/event-driven-arch-eventbridge-lambda/HEAD/tests/unit/test_handler.py --------------------------------------------------------------------------------