@aws-cdk/asset-awscli-v2
Advanced tools
Comparing version 2.0.95 to 2.0.96
@@ -1,1 +0,1 @@ | ||
{"version":"2","toolVersion":"1.81.0","snippets":{"3586c7f9d7042c08f372c6056d9775ec572ab74fb3de794f6786760c90f9fc70":{"translations":{"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))","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}));","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());","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}))","version":"1"},"$":{"source":"// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport { AwsCliAsset } from '@aws-cdk/asset-awscli-v2';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3_assets from 'aws-cdk-lib/aws-s3-assets';\nimport { FileSystem } from 'aws-cdk-lib';\n\ndeclare const fn: lambda.Function;\nconst awscli = new AwsCliAsset(this, 'AwsCliCode');\nfn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {\n code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey),\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/asset-awscli-v2"},"field":{"field":"markdown","line":18}},"didCompile":false,"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"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport { AwsCliAsset } from '@aws-cdk/asset-awscli-v2';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3_assets from 'aws-cdk-lib/aws-s3-assets';\nimport { FileSystem } from 'aws-cdk-lib';\n\ndeclare const fn: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport {\n Stack,\n} from 'aws-cdk-lib';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst awscli = new AwsCliAsset(this, 'AwsCliCode');\nfn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {\n code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey),\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":21,"104":2,"130":1,"153":1,"169":1,"193":1,"194":6,"196":2,"197":2,"225":2,"226":1,"242":2,"243":2,"254":4,"255":4,"256":2,"257":2,"258":2,"281":1,"290":1},"fqnsFingerprint":"b9b25a858d780972b7e1a6de3cca5724c6fea52dad622ec26935a868d2f06a2a"}}} | ||
{"version":"2","toolVersion":"1.82.0","snippets":{"3586c7f9d7042c08f372c6056d9775ec572ab74fb3de794f6786760c90f9fc70":{"translations":{"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))","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}));","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());","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}))","version":"1"},"$":{"source":"// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport { AwsCliAsset } from '@aws-cdk/asset-awscli-v2';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3_assets from 'aws-cdk-lib/aws-s3-assets';\nimport { FileSystem } from 'aws-cdk-lib';\n\ndeclare const fn: lambda.Function;\nconst awscli = new AwsCliAsset(this, 'AwsCliCode');\nfn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {\n code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey),\n}));","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/asset-awscli-v2"},"field":{"field":"markdown","line":18}},"didCompile":false,"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"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// AwsCliLayer bundles the AWS CLI in a lambda layer\nimport { AwsCliAsset } from '@aws-cdk/asset-awscli-v2';\nimport * as lambda from 'aws-cdk-lib/aws-lambda';\nimport * as s3_assets from 'aws-cdk-lib/aws-s3-assets';\nimport { FileSystem } from 'aws-cdk-lib';\n\ndeclare const fn: lambda.Function;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport {\n Stack,\n} from 'aws-cdk-lib';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nconst awscli = new AwsCliAsset(this, 'AwsCliCode');\nfn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {\n code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey),\n}));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":6,"75":21,"104":2,"130":1,"153":1,"169":1,"193":1,"194":6,"196":2,"197":2,"225":2,"226":1,"242":2,"243":2,"254":4,"255":4,"256":2,"257":2,"258":2,"281":1,"290":1},"fqnsFingerprint":"b9b25a858d780972b7e1a6de3cca5724c6fea52dad622ec26935a868d2f06a2a"}}} |
@@ -24,3 +24,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.95" }; | ||
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.96" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4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ZXRPcHRpb25zID0ge30pIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIHBhdGg6IHBhdGguam9pbihfX2Rpcm5hbWUsICdsYXllci56aXAnKSxcbiAgICAgIC8vIHdlIGhhc2ggdGhlIGxheWVyIGRpcmVjdG9yeSAoaXQgY29udGFpbnMgdGhlIHRvb2xzIHZlcnNpb25zIGFuZCBEb2NrZXJmaWxlKSBiZWNhdXNlIGhhc2hpbmcgdGhlIHppcCBpcyBub24tZGV0ZXJtaW5pc3RpY1xuICAgICAgYXNzZXRIYXNoOiBGaWxlU3lzdGVtLmZpbmdlcnByaW50KHBhdGguam9pbihfX2Rpcm5hbWUsICcuLi9sYXllcicpKSxcbiAgICAgIC4uLm9wdGlvbnMsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -60,7 +60,7 @@ { | ||
"jsii": "1.x", | ||
"jsii-diff": "^1.81.0", | ||
"jsii-diff": "^1.82.0", | ||
"jsii-docgen": "^7.2.9", | ||
"jsii-pacmak": "^1.81.0", | ||
"jsii-pacmak": "^1.82.0", | ||
"npm-check-updates": "^16", | ||
"projen": "^0.71.66", | ||
"projen": "^0.71.68", | ||
"standard-version": "^9", | ||
@@ -88,3 +88,3 @@ "ts-jest": "^27", | ||
}, | ||
"version": "2.0.95", | ||
"version": "2.0.96", | ||
"jest": { | ||
@@ -91,0 +91,0 @@ "testMatch": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package