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-2.0.396.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f28fcea3e444b8257c3b4d92d552119f95856af8ae507bde6c4b5197fc4c03e |
|
MD5 | cc7d421bf2a0120bfffa0a1aa1dfd80c |
|
BLAKE2b-256 | 41dcd7640a720e13550385f3761411e0bded318ced702ac61cfa42f8d365a903 |
Close
Hashes for cdk_lambda_layer_wget-2.0.396-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0babcb9c16f11f1a2687d83be5632a2a7f2f729b82c0a791913ceee4082d3a |
|
MD5 | e1504461740320c8a8fda7390e4191a5 |
|
BLAKE2b-256 | df8e155921cf1754fe06275565cf6256c61231f2a6db0219ed736061b2ef23fd |