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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe28708b7e9b7088120da9cf2d6043fbe8ab4b0e921633feb142dcef947a5f4 |
|
MD5 | b2aa41ff5a160e2d25970a98d50680c0 |
|
BLAKE2b-256 | cb8101f4b8bf1241272f726aaf35db8f08db49cb2e7c5f461ad08b89d75aa57f |
Close
Hashes for cdk_lambda_layer_curl-1.0.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2656b3f815c6b36c8e04f5985b8b93b74e8ea668e5e255eb99ce023c4631d764 |
|
MD5 | 3423e6751bae7db790bb71c286fd2edc |
|
BLAKE2b-256 | 7bf320f69cb8c4de2052516e1b753cdea8f67a62d50406776df86738fda33691 |