Lambda Layer for wget
Project description
AWS Lambda Layer with wget
Usage:
// WgetLayer bundles the wget in a lambda layer
import { WgetLayer } from 'cdk-lambda-layer-wget';
declare const fn: lambda.Function;
fn.addLayers(new WgetLayer(this, 'WgetLayer'));
import { WgetLayer } from 'cdk-lambda-layer-wget'
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 WgetLayer(this, 'WgetLayer')]
});
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-wget-1.0.167.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e730626c1c81bca9b119c4c28aed4983c72408c78d1249e818688f290532590 |
|
MD5 | fc7a20a8a70ff294ab368481d38509ac |
|
BLAKE2b-256 | c00bce18fec32f929fffaa5f89ea97872496baf4f9b90aa3196169dd36662753 |
Close
Hashes for cdk_lambda_layer_wget-1.0.167-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1473b66c93ac4057f591bdbef28d8418592b378492ea98a12cde70c6f0db97e5 |
|
MD5 | b00fc4c46ddf27ec1ccfbd04dbe3535b |
|
BLAKE2b-256 | 88ddf12482270f508cf8523914062f444bcc11339c1aea8a5b1ccea19e727a06 |