Asset with KubeCtl v1.20
---This library is currently under development. Do not use!
This module exports a single class called KubectlAsset which is an s3_assets.Asset that
bundles the kubectl and the
helm command line.
- Helm Version: 3.8.1
- Kubectl Version: 1.20.0
Usage:
// KubectlAsset bundles the 'kubectl' and 'helm' command lines
import { KubectlAsset } from '@aws-cdk/asset-kubectl-v20';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const kubectl = new KubectlAsset(this, 'KubectlAsset');
fn.addLayers(new lambda.LayerVersion(this, 'KubectlLayer', {
code: lambda.Code.fromBucket(kubectl.bucket, kubectl.s3ObjectKey),
}));
kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.
Metadata
Release files for aws-cdk.asset-kubectl-v20 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws-cdk.asset-kubectl-v20-0.0.15.tar.gz | 25.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_cdk.asset_kubectl_v20-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.9 MB
Release files / aws-cdk.asset-kubectl-v20-0.0.15.tar.gz
| Download URL | aws-cdk.asset-kubectl-v20-0.0.15.tar.gz |
|---|---|
| Size | 25.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc3f1ce3b56098ede26c444131acf1aa5a97b09fcf884eab28363a868b365de3
|
|
BLAKE2b-256 checksum How to use checksums |
5e040e6a4ed6eb29624974508f65142c326ac23b3049b05fe9c9e9afbae3a6d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / aws_cdk.asset_kubectl_v20-0.0.15-py3-none-any.whl
| Download URL | aws_cdk.asset_kubectl_v20-0.0.15-py3-none-any.whl |
|---|---|
| Size | 25.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9370ea2dded6db5d4e820f799d357b429a52163cd2ab1fbc948229773af2d48d
|
|
BLAKE2b-256 checksum How to use checksums |
cdda16b52835a47aa7107155582d7dd5e2ed18ad012acd16620fa5900e1922b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|