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.266.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4fd49befc6e3ba8f6a946e5d40c158c8833fda5577bf7fc89ccde12fa5f5a0 |
|
MD5 | bf729cd6423c191fd32c04ec1f02499e |
|
BLAKE2b-256 | cfb979a6e1b53bc34b7ce03f5c377fa97d04d141d395758f15404cb481bb6866 |
Close
Hashes for cdk_lambda_layer_curl-1.0.266-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee811ab499b474797bee7580c3ef5eb723b310afdfb7fdeada33d4db0d6d669d |
|
MD5 | ff2511a056d08f33946a06baf4c01245 |
|
BLAKE2b-256 | 201da1033e640459832c611b0a936737ebdeab137f71fa79c69da585cb9202d9 |