For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-1.0.781.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97c24ddc77d04c096621a72a8e39a8fa62d91e98ddb9ef6f8dff4b2cab55fbc2 |
|
MD5 | 750def44b5b9b441ce6bddac270f1401 |
|
BLAKE2b-256 | 94194cbef56274c8d18a828c42d526448c54fbb6b1d11f511085eb02a55e5238 |
Close
Hashes for cdk_lambda_layer_curl-1.0.781-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00bf6596e8f617b2430534c542fe74c435ab025fed7117359a3692fec633202 |
|
MD5 | ea564e0d4c77b69ef78fc1d99e9b1fe5 |
|
BLAKE2b-256 | 97b513329c06f4acdef85d6abe2b2ba0e550f912437acbe7e0ac3ecd72323ff2 |