To create a CloudFormation stack containing a Lambda function, you usually need to prepare a deployment package that contains the function code and dependencies, and upload it to an S3 bucket located in the same AWS region where you want to create the stack. In the CloudFormation template, you specify the corresponding S3 bucket name and key.
For simple Lambda functions written in Python or […]
When you send HTTP requests to AWS, you sign the requests so that data is protected in transit, and AWS can verify the identity of the requester. If you use the AWS Command Line Interface (CLI) or AWS SDKs, the requests are signed for you automatically.
To sign a request, you calculate a hash known as the signature. Then, you add the signature to the HTTP
Authorization header or the query […]
AWS CodeCommit offers secure Git-based repositories. To connect to CodeCommit repositories, you can use Git together with the credential helper that is part of the AWS Command Line Interface (CLI). AWS CodeCommit supports Git versions 1.7.9 and later.
To perform different operations on your CodeCommit repositories, you can also use the AWS SDK. For example, you can add or update a file in a […]
The AWS Lambda execution environment, depending on the AWS Lambda runtime, is based on the
Amazon Linux AMI release 2018.03 or
Amazon Linux release 2 (Karoo). Git is not pre-installed in the AWS Lambda execution environment.
You can compile the latest sources of Git and include the binaries into the deployment package of your Lambda function. You must build the binaries […]