Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/asset-awscli-v2

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/asset-awscli-v2 - npm Package Compare versions

Comparing version 2.0.30 to 2.0.31

17

.jsii.tabl.json

@@ -8,15 +8,15 @@ {

"python": {
"source": "# AwsCliLayer bundles the AWS CLI in a lambda layer\nfrom aws_cdk.asset_awscli_v2 import AwsCliAsset\nimport aws_cdk.aws_lambda as lambda_\nimport aws_cdk.aws_s3_assets as s3_assets\nfrom aws_cdk import FileSystem\n\n# fn: lambda.Function\n\nawscli = AwsCliAsset(self, \"AwsCliCode\")\nfn.add_layers(lambda_.LayerVersion(self, \"AwsCliLayer\",\n code=lambda_.Code.from_bucket(awscli.bucket, awscli.s3_object_key)\n))",
"source": "# AwsCliLayer bundles the AWS CLI in a lambda layer\nfrom aws_cdk.asset_awscli_v2 import AwsCliAsset\nimport aws_cdk as lambda_\nimport aws_cdk as s3_assets\nfrom aws_cdk_lib import FileSystem\n\n# fn: lambda.Function\n\nawscli = AwsCliAsset(self, \"AwsCliCode\")\nfn.add_layers(lambda_.LayerVersion(self, \"AwsCliLayer\",\n code=lambda_.Code.from_bucket(awscli.bucket, awscli.s3_object_key)\n))",
"version": "2"
},
"csharp": {
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nusing Aws.Cdk.Asset.Awscli.V2;\nusing Amazon.CDK.AWS.Lambda;\nusing Amazon.CDK.AWS.S3.Assets;\nusing Amazon.CDK;\n\nFunction fn;\n\nvar awscli = new AwsCliAsset(this, \"AwsCliCode\");\nfn.AddLayers(new LayerVersion(this, \"AwsCliLayer\", new LayerVersionProps {\n Code = Code.FromBucket(awscli.Bucket, awscli.S3ObjectKey)\n}));",
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nusing Aws.Cdk.Asset.Awscli.V2;\nusing Amazon.CDK;\nusing Amazon.CDK;\nusing Aws.Cdk.Lib;\n\nFunction fn;\n\nvar awscli = new AwsCliAsset(this, \"AwsCliCode\");\nfn.AddLayers(new LayerVersion(this, \"AwsCliLayer\", new LayerVersionProps {\n Code = Code.FromBucket(awscli.Bucket, awscli.S3ObjectKey)\n}));",
"version": "1"
},
"java": {
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport aws.cdk.asset.awscli.v2.AwsCliAsset;\nimport software.amazon.awscdk.services.lambda.*;\nimport software.amazon.awscdk.services.s3.assets.*;\nimport software.amazon.awscdk.FileSystem;\n\nFunction fn;\n\nObject awscli = new AwsCliAsset(this, \"AwsCliCode\");\nfn.addLayers(LayerVersion.Builder.create(this, \"AwsCliLayer\")\n .code(Code.fromBucket(awscli.getBucket(), awscli.getS3ObjectKey()))\n .build());",
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport aws.cdk.asset.awscli.v2.AwsCliAsset;\nimport software.amazon.awscdk.*;\nimport software.amazon.awscdk.*;\nimport aws.cdk.lib.FileSystem;\n\nFunction fn;\n\nObject awscli = new AwsCliAsset(this, \"AwsCliCode\");\nfn.addLayers(new LayerVersion(this, \"AwsCliLayer\", new LayerVersionProps()\n .code(Code.fromBucket(awscli.getBucket(), awscli.getS3ObjectKey()))\n ));",
"version": "1"
},
"go": {
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport \"github.com/aws-samples/dummy/awscdkassetawscliv2\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport s3_assets \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\n\nvar fn function\n\nawscli := awscdkassetawscliv2.NewAwsCliAsset(this, jsii.String(\"AwsCliCode\"))\nfn.AddLayers(lambda.NewLayerVersion(this, jsii.String(\"AwsCliLayer\"), &LayerVersionProps{\n\tCode: lambda.Code_FromBucket(awscli.bucket, awscli.s3ObjectKey),\n}))",
"source": "// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport \"github.com/aws-samples/dummy/awscdkassetawscliv2\"\nimport \"github.com/aws/aws-cdk-go/awscdk\"\nimport s3_assets \"github.com/aws/aws-cdk-go/awscdk\"\nimport \"github.com/aws-samples/dummy/awscdklib\"\n\nvar fn function\n\nawscli := awscdkassetawscliv2.NewAwsCliAsset(this, jsii.String(\"AwsCliCode\"))\nfn.addLayers(lambda.NewLayerVersion(this, jsii.String(\"AwsCliLayer\"), &layerVersionProps{\n\tcode: lambda.code_FromBucket(awscli.bucket, awscli.s3ObjectKey),\n}))",
"version": "1"

@@ -41,9 +41,2 @@ },

"fqnsReferenced": [
"aws-cdk-lib.aws_lambda.Code",
"aws-cdk-lib.aws_lambda.Code#fromBucket",
"aws-cdk-lib.aws_lambda.Function#addLayers",
"aws-cdk-lib.aws_lambda.ILayerVersion",
"aws-cdk-lib.aws_lambda.LayerVersion",
"aws-cdk-lib.aws_lambda.LayerVersionProps",
"aws-cdk-lib.aws_s3.IBucket",
"constructs.Construct"

@@ -75,5 +68,5 @@ ],

},
"fqnsFingerprint": "b9b25a858d780972b7e1a6de3cca5724c6fea52dad622ec26935a868d2f06a2a"
"fqnsFingerprint": "844ea391c793abb81b3d5804ca7618d2ec38f51a2bcaf8cefab220cf8ef8b356"
}
}
}

@@ -24,3 +24,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.30" };
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.31" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2F3c2NsaS1hc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUE2QjtBQUM3Qiw2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sICdsYXllci56aXAnKSxcbiAgICAgIC8vIHdlIGhhc2ggdGhlIGxheWVyIGRpcmVjdG9yeSAoaXQgY29udGFpbnMgdGhlIHRvb2xzIHZlcnNpb25zIGFuZCBEb2NrZXJmaWxlKSBiZWNhdXNlIGhhc2hpbmcgdGhlIHppcCBpcyBub24tZGV0ZXJtaW5pc3RpY1xuICAgICAgYXNzZXRIYXNoOiBGaWxlU3lzdGVtLmZpbmdlcnByaW50KHBhdGguam9pbihfX2Rpcm5hbWUsICcuLi9sYXllcicpKSxcbiAgICAgIC4uLm9wdGlvbnMsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==

@@ -55,3 +55,3 @@ {

"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-import-resolver-typescript": "^3.5.4",
"eslint-plugin-import": "^2.27.5",

@@ -62,6 +62,6 @@ "jest": "^27",

"jsii-diff": "^1.79.0",
"jsii-docgen": "^7.1.39",
"jsii-docgen": "^7.1.42",
"jsii-pacmak": "^1.79.0",
"npm-check-updates": "^16",
"projen": "^0.69.15",
"projen": "^0.70.4",
"standard-version": "^9",

@@ -85,3 +85,3 @@ "ts-jest": "^27",

},
"version": "2.0.30",
"version": "2.0.31",
"jest": {

@@ -88,0 +88,0 @@ "testMatch": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc