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.247.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3725a4f536f3b43e788590c0b782f4ce43fdb9e33b42f0322f2f849ac41a594f |
|
MD5 | 51512d745d1520a4ed71eb1f387ef28e |
|
BLAKE2b-256 | f9e2f45fb211e297fcc7f0706445f9f43fafdc9b3968ae85926664d85c16c123 |
Close
Hashes for cdk_lambda_layer_wget-1.0.247-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 996e6fbc61a611a2ae4ef6d0da2d1155f38db033be469a6e7d652c52082ad0cb |
|
MD5 | 4fcbab82d777ca56706dc6b9de67f731 |
|
BLAKE2b-256 | f73af2ac4517648ff0d613eb929767f7b3c834aeda5041230ffa2ee183bb2731 |