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