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.403.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3885a603f0f05f9385098758b1715f0814ae63847c1f54a19ee52b9fa79d972 |
|
MD5 | e1fcd7a58298a973e6e06acb9902598e |
|
BLAKE2b-256 | 4953f5562fe0e9809eec55cb2240dc8adc722de78f2637574a3eeb7726e1069c |
Close
Hashes for cdk_lambda_layer_curl-1.0.403-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce524f4d95d5ff7f29810fa336002044731723af1846c189362d3ad5640a1e6e |
|
MD5 | 8ed612024e60e227dbaf7a080c86be16 |
|
BLAKE2b-256 | d6c73101316c8bcc2981067c3018494c0775fefb2ba754e55aa2e29107df2eb6 |