Class KubectlLayer
An AWS Lambda layer that includes kubectl
and helm
.
Inherited Members
Namespace: Amazon.CDK.LambdaLayer.Kubectl
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KubectlLayer : LayerVersion, ILayerVersion, IResource
Syntax (vb)
Public Class KubectlLayer
Inherits LayerVersion
Implements ILayerVersion, IResource
Remarks
ExampleMetadata: infused
Examples
// KubectlLayer bundles the 'kubectl' and 'helm' command lines
using Amazon.CDK.LambdaLayer.Kubectl;
Function fn;
fn.AddLayers(new KubectlLayer(this, "KubectlLayer"));
Synopsis
Constructors
KubectlLayer(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
KubectlLayer(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
KubectlLayer(Construct, String) |
Constructors
KubectlLayer(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected KubectlLayer(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
KubectlLayer(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected KubectlLayer(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
KubectlLayer(Construct, String)
public KubectlLayer(Construct scope, string id)
Parameters
- scope Constructs.Construct
- id System.String
Implements
Constructs.IConstruct
Constructs.IDependable