Amazon.CDK.Asset.AwsCliV1
2.2.296
Prefix Reserved
dotnet add package Amazon.CDK.Asset.AwsCliV1 --version 2.2.296
NuGet\Install-Package Amazon.CDK.Asset.AwsCliV1 -Version 2.2.296
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Amazon.CDK.Asset.AwsCliV1" Version="2.2.296" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Amazon.CDK.Asset.AwsCliV1" Version="2.2.296" />
<PackageReference Include="Amazon.CDK.Asset.AwsCliV1" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Amazon.CDK.Asset.AwsCliV1 --version 2.2.296
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Amazon.CDK.Asset.AwsCliV1, 2.2.296"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Amazon.CDK.Asset.AwsCliV1@2.2.296
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Amazon.CDK.Asset.AwsCliV1&version=2.2.296
#tool nuget:?package=Amazon.CDK.Asset.AwsCliV1&version=2.2.296
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Asset with AWS CLI v1
This module bundles the AWS CLI v1 as a local asset. It exposes
constants ASSET_FILE and LAYER_SOURCE_DIR that can be consumed
via the CDK Asset construct.
Any Lambda Function that uses uses this asset must use a Python 3.x runtime.
Usage:
// AwsCliLayer bundles the AWS CLI in a lambda layer
using Aws.Cdk.Asset.Awscli.V1;
using Amazon.CDK.AWS.Lambda;
using Amazon.CDK.AWS.S3.Assets;
using Amazon.CDK;
Function fn;
var asset = new Asset(this, "layer-asset", new AssetProps {
Path = ASSET_FILE,
AssetHash = FileSystem.Fingerprint(LAYER_SOURCE_DIR)
});
fn.AddLayers(new LayerVersion(this, "AwsCliLayer", new LayerVersionProps {
Code = Code.FromBucket(asset.Bucket, asset.S3ObjectKey)
}));
The CLI will be installed under /opt/awscli/aws.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Amazon.JSII.Runtime (>= 1.141.0 && < 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Amazon.CDK.Asset.AwsCliV1:
| Package | Downloads |
|---|---|
|
Amazon.CDK.Lib
Version 2 of the AWS Cloud Development Kit library (Stability: Stable) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.296 | 673 | 10/26/2026 |
| 2.2.295 | 1,736 | 9/21/2026 |
| 2.2.294 | 1,841 | 8/31/2026 |
| 2.2.293 | 1,581 | 8/10/2026 |
| 2.2.292 | 495,500 | 8/3/2026 |
| 2.2.291 | 861 | 7/27/2026 |
| 2.2.290 | 857 | 7/20/2026 |
| 2.2.289 | 848 | 7/13/2026 |
| 2.2.288 | 666 | 7/13/2026 |
| 2.2.287 | 685 | 7/6/2026 |
| 2.2.286 | 832 | 6/29/2026 |
| 2.2.285 | 658 | 6/22/2026 |
| 2.2.284 | 249 | 6/15/2026 |
| 2.2.283 | 529 | 6/8/2026 |
| 2.2.282 | 768,092 | 5/25/2026 |
| 2.2.281 | 514 | 5/19/2026 |
| 2.2.280 | 198 | 5/11/2026 |
| 2.2.279 | 176 | 5/11/2026 |
| 2.2.278 | 193 | 5/4/2026 |
| 2.2.277 | 195 | 4/27/2026 |
Loading failed