Skip to main content

Send a response object to a custom resource by way of an Amazon S3 presigned URL

Project description

cfnresponse

PyPi Version

This package contains the Amazon Web Services (AWS) cfnresponse module which is available in Python AWS Lambda environments.

The code for this module can be found in the AWS documentation and in the awslabs GitHub repo

You can compare the code in awslabs with this pypi package with this command

if [ "$(curl -s https://raw.githubusercontent.com/awslabs/aws-cloudformation-templates/master/aws/services/CloudFormation/MacrosExamples/StackMetrics/lambda/cfnresponse.py | sha256sum)" = "$(curl -s https://raw.githubusercontent.com/gene1wood/cfnresponse/master/cfnresponse/__init__.py | sha256sum)" ]; then echo "GitHub matches AWS"; else echo "GitHub does not match AWS"; fi
if [ "$(curl -s https://raw.githubusercontent.com/awslabs/aws-cloudformation-templates/master/aws/services/CloudFormation/MacrosExamples/StackMetrics/lambda/cfnresponse.py | sha256sum)" = "$(wget --quiet https://files.pythonhosted.org/packages/f9/b7/76b0abe8003a797ab535cae77e39568092eff18ac0e8e10fa9ffa245e5d3/cfnresponse-1.1.4-py2.py3-none-any.whl && unzip -p cfnresponse-1.1.4-py2.py3-none-any.whl cfnresponse/__init__.py | sha256sum && rm cfnresponse-1.1.4-py2.py3-none-any.whl)" ]; then echo "PyPi matches AWS"; else echo "PyPi does not match AWS"; fi

This module used to use the vendored version of requests provided by botocore but this changed in April 2020 to instead use urllib3 as botocore.vendored.requests was removed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfnresponse-1.1.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

cfnresponse-1.1.5-py2.py3-none-any.whl (7.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cfnresponse-1.1.5.tar.gz.

File metadata

  • Download URL: cfnresponse-1.1.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.9

File hashes

Hashes for cfnresponse-1.1.5.tar.gz
Algorithm Hash digest
SHA256 2ddac49d4abd63105ad1024b41907260c9088b3095a3f51fb27636cbbef74103
MD5 0d0d0e98ea7483508a1bfbeaabd91b97
BLAKE2b-256 00726c40e02aee1ed2226602154fddc3ed83d61493d9ab9d084a93bac0cb1338

See more details on using hashes here.

File details

Details for the file cfnresponse-1.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cfnresponse-1.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41fffa990166fe3b491cabfdaed1539be7625031763dcf3e227f932cfeda27fc
MD5 340bef44175b1e986c8bd613a652bbf0
BLAKE2b-256 5d2a7c6339b227586c8d2231a2271ca4d72a56896d82de65216b0cdbcbd32aca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page