A Lambda Layer that contains kubectl v1.23
Project description
Lambda Layer with KubeCtl v1.23
---This module exports a single class called KubectlV23Layer
which is a lambda.LayerVersion
that
bundles the kubectl
and the
helm
command line.
- Helm Version: 3.9.4
- Kubectl Version: 1.23.0
Usage:
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV23Layer } from '@aws-cdk/lambda-layer-kubectl-v23';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlV23Layer(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-v23-2.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a98e538ce0dc1ab4c6c92684bf5402c62b24487fcd576126528e35269f434b |
|
MD5 | e866046c6456cc1835b1bde97d0e67e9 |
|
BLAKE2b-256 | 245fb9bf1b588f2b15e8195e1d3a4133b28e4f112a76583040ccbfc4d21110cf |
Close
Hashes for aws_cdk.lambda_layer_kubectl_v23-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df26825ae9d2053b1fbd5b26ceac5231faa7bbfaafbaf1441ca9a413761bea2 |
|
MD5 | f17d32f517753341cff07439af8ad07c |
|
BLAKE2b-256 | 98b066db9561162a866d554fa07fcc18d7a61e9942ee288d4e11f3d35126e0ae |