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.403.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c33564e94f836f4a26932f0bf74fc49eac61ebf6c2f513083c5173ff7e08a0a |
|
MD5 | 9298e48856f7aabb86e54a15e337f1ea |
|
BLAKE2b-256 | 60861b868597984c42e2fd364bc98cabd7dc0b0ce0ed4d79f27399edeba9842a |
Close
Hashes for cdk_lambda_layer_wget-2.0.403-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e456fc291bb3eb014ceb2d2a542c28b7a06df88e1abb31f3a7e7135391defcf7 |
|
MD5 | 23fd7bd23d61a5a6c383fe24f9aa7b22 |
|
BLAKE2b-256 | 36356359fb78a8752357332fec35bf5b3e404d6f3e6b899d1aa1103bc78308ba |