A Lambda Layer that contains kubectl v1.21
Project description
Lambda Layer with KubeCtl v1.21
---This library is currently under development. Do not use!
This module exports a single class called KubectlLayer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.21.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlLayer } from '@aws-cdk/asset-kubectl-v21';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlLayer(this, 'KubectlLayer');
fn.addLayers(kubectl);
kubectl
will be installed under /opt/kubectl/kubectl
, and helm
will be installed under /opt/helm/helm
.
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 aws-cdk.lambda-layer-kubectl-v21-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a6913fa8ae0246e18db60e01da47499897ef5ef5edf92489ca854483beedee |
|
MD5 | 73edc7692803d752ff93e3659d4e4840 |
|
BLAKE2b-256 | 7496ac61ee6edb3f6781800fec1992efde5f29e0aaf7d86f0611b535208ff942 |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v21-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc41c206b269b02ff6f4fa08de682729e60b8c3972d4b2c4a3a43c7cb6566f2c |
|
MD5 | 84f3d8c654b8b72148fe8f1eed8e6cf9 |
|
BLAKE2b-256 | 40cccf431eb2a5ac9127109a5c6eb09da5ca373aca54dc0738aa98308e5321b9 |