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-2.0.169.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f2cd53873283c2f1f73d6db6229284040609168748b7f534243ad98c6139877 |
|
MD5 | 5930aaaf5e908b093160b9b5045c1e1b |
|
BLAKE2b-256 | f92f3d5e61d6563ba98d7d4ab71f5bc5f9442553cc7be5fa8fffea76be94e155 |
Close
Hashes for cdk_lambda_layer_curl-2.0.169-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b313c70da1630073a0a88f62ed92a1cea4f173062ec8dd8a80c352183170b11e |
|
MD5 | cce966d92b31d51e30a54fe3aca3f23e |
|
BLAKE2b-256 | ee943316f2ef12c9ec81ab693f22aad837e04835038edb4768e669c82e8813ff |