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.306.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fe8895359c3dcea08866d75bcf93513967a389992bf3466eefac36e588d46a |
|
MD5 | 6c050945293a081eae3b4ee949855857 |
|
BLAKE2b-256 | 7a4c3b66206276a465656c9563b4d10a40d576c762b1f45555618e905396b3a4 |
Close
Hashes for cdk_lambda_layer_wget-1.0.306-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc4b5ad8522720985191420bd001578c7710928429689561049ffb5627712b5 |
|
MD5 | 39db5ddccad482bcc4624890d4426985 |
|
BLAKE2b-256 | 13cb689069b9bce05564a78991976398a721e74cbd38086ffaa39f7d3512b4b4 |