@aws-cdk/aws-lambda-python-alpha 2.17.0-alpha.0 → 2.20.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +17 -5
- package/.jsii.tabl.json +61 -13
- package/.warnings.jsii.js +3 -3
- package/lib/function.js +1 -1
- package/lib/layer.js +1 -1
- package/package.json +7 -8
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.20.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -378,6 +378,19 @@
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
|
+
"aws-cdk-lib.aws_billingconductor": {
|
|
382
|
+
"targets": {
|
|
383
|
+
"dotnet": {
|
|
384
|
+
"namespace": "Amazon.CDK.AWS.BillingConductor"
|
|
385
|
+
},
|
|
386
|
+
"java": {
|
|
387
|
+
"package": "software.amazon.awscdk.services.billingconductor"
|
|
388
|
+
},
|
|
389
|
+
"python": {
|
|
390
|
+
"module": "aws_cdk.aws_billingconductor"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
381
394
|
"aws-cdk-lib.aws_budgets": {
|
|
382
395
|
"targets": {
|
|
383
396
|
"dotnet": {
|
|
@@ -2946,7 +2959,7 @@
|
|
|
2946
2959
|
"stability": "experimental"
|
|
2947
2960
|
},
|
|
2948
2961
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2949
|
-
"jsiiVersion": "1.
|
|
2962
|
+
"jsiiVersion": "1.55.1 (build 07d2d90)",
|
|
2950
2963
|
"keywords": [
|
|
2951
2964
|
"aws",
|
|
2952
2965
|
"cdk",
|
|
@@ -2997,8 +3010,7 @@
|
|
|
2997
3010
|
},
|
|
2998
3011
|
"python": {
|
|
2999
3012
|
"classifiers": [
|
|
3000
|
-
"Framework :: AWS CDK"
|
|
3001
|
-
"Framework :: AWS CDK :: 1"
|
|
3013
|
+
"Framework :: AWS CDK"
|
|
3002
3014
|
],
|
|
3003
3015
|
"distName": "aws-cdk.aws-lambda-python-alpha",
|
|
3004
3016
|
"module": "aws_cdk.aws_lambda_python_alpha"
|
|
@@ -3468,6 +3480,6 @@
|
|
|
3468
3480
|
"symbolId": "lib/layer:PythonLayerVersionProps"
|
|
3469
3481
|
}
|
|
3470
3482
|
},
|
|
3471
|
-
"version": "2.
|
|
3483
|
+
"version": "2.20.0-alpha.0",
|
|
3472
3484
|
"fingerprint": "**********"
|
|
3473
3485
|
}
|
package/.jsii.tabl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2",
|
|
3
|
-
"toolVersion": "1.
|
|
3
|
+
"toolVersion": "1.55.1",
|
|
4
4
|
"snippets": {
|
|
5
5
|
"5044db3aa2cbd19f8d92b0e4571533d0c3964a4debb73355fc0b1849f831db50": {
|
|
6
6
|
"translations": {
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"source": "PythonFunction.Builder.create(this, \"MyFunction\")\n .entry(\"/path/to/my/function\") // required\n .runtime(Runtime.PYTHON_3_8) // required\n .index(\"my_index.py\") // optional, defaults to 'index.py'\n .handler(\"my_exported_func\")\n .build();",
|
|
17
17
|
"version": "1"
|
|
18
18
|
},
|
|
19
|
+
"go": {
|
|
20
|
+
"source": "lambda.NewPythonFunction(this, jsii.String(\"MyFunction\"), &pythonFunctionProps{\n\tentry: jsii.String(\"/path/to/my/function\"),\n\t // required\n\truntime: runtime_PYTHON_3_8(),\n\t // required\n\tindex: jsii.String(\"my_index.py\"),\n\t // optional, defaults to 'index.py'\n\thandler: jsii.String(\"my_exported_func\"),\n})",
|
|
21
|
+
"version": "1"
|
|
22
|
+
},
|
|
19
23
|
"$": {
|
|
20
24
|
"source": "new lambda.PythonFunction(this, 'MyFunction', {\n entry: '/path/to/my/function', // required\n runtime: Runtime.PYTHON_3_8, // required\n index: 'my_index.py', // optional, defaults to 'index.py'\n handler: 'my_exported_func', // optional, defaults to 'handler'\n});",
|
|
21
25
|
"version": "0"
|
|
@@ -49,7 +53,7 @@
|
|
|
49
53
|
"226": 1,
|
|
50
54
|
"281": 4
|
|
51
55
|
},
|
|
52
|
-
"fqnsFingerprint": "
|
|
56
|
+
"fqnsFingerprint": "ded973d40a54bbe46d4226ffe77b5ccb36791052600a8f7bc93a2d3fe2281738"
|
|
53
57
|
},
|
|
54
58
|
"53686c43ad7160036474e74010ea12f31c3ff817524e232264f2795823254c1a": {
|
|
55
59
|
"translations": {
|
|
@@ -65,6 +69,10 @@
|
|
|
65
69
|
"source": "PythonLayerVersion.Builder.create(this, \"MyLayer\")\n .entry(\"/path/to/my/layer\")\n .build();",
|
|
66
70
|
"version": "1"
|
|
67
71
|
},
|
|
72
|
+
"go": {
|
|
73
|
+
"source": "lambda.NewPythonLayerVersion(this, jsii.String(\"MyLayer\"), &pythonLayerVersionProps{\n\tentry: jsii.String(\"/path/to/my/layer\"),\n})",
|
|
74
|
+
"version": "1"
|
|
75
|
+
},
|
|
68
76
|
"$": {
|
|
69
77
|
"source": "new lambda.PythonLayerVersion(this, 'MyLayer', {\n entry: '/path/to/my/layer', // point this to your library's directory\n})",
|
|
70
78
|
"version": "0"
|
|
@@ -96,7 +104,7 @@
|
|
|
96
104
|
"226": 1,
|
|
97
105
|
"281": 1
|
|
98
106
|
},
|
|
99
|
-
"fqnsFingerprint": "
|
|
107
|
+
"fqnsFingerprint": "7b8312c5ef919d95063668ec3e48d7e268ce9d6e9ffbac8fa72e5c4e25890635"
|
|
100
108
|
},
|
|
101
109
|
"5607c1746237addcc7a2cfa766894235cce9b700cdd5ea97a7e88222560655b7": {
|
|
102
110
|
"translations": {
|
|
@@ -112,6 +120,10 @@
|
|
|
112
120
|
"source": "PythonFunction.Builder.create(this, \"MyFunction\")\n .entry(\"/path/to/my/function\")\n .runtime(Runtime.PYTHON_3_8)\n .layers(List.of(\n PythonLayerVersion.Builder.create(this, \"MyLayer\")\n .entry(\"/path/to/my/layer\")\n .build()))\n .build();",
|
|
113
121
|
"version": "1"
|
|
114
122
|
},
|
|
123
|
+
"go": {
|
|
124
|
+
"source": "lambda.NewPythonFunction(this, jsii.String(\"MyFunction\"), &pythonFunctionProps{\n\tentry: jsii.String(\"/path/to/my/function\"),\n\truntime: runtime_PYTHON_3_8(),\n\tlayers: []iLayerVersion{\n\t\tlambda.NewPythonLayerVersion(this, jsii.String(\"MyLayer\"), &pythonLayerVersionProps{\n\t\t\tentry: jsii.String(\"/path/to/my/layer\"),\n\t\t}),\n\t},\n})",
|
|
125
|
+
"version": "1"
|
|
126
|
+
},
|
|
115
127
|
"$": {
|
|
116
128
|
"source": "new lambda.PythonFunction(this, 'MyFunction', {\n entry: '/path/to/my/function',\n runtime: Runtime.PYTHON_3_8,\n layers: [\n new lambda.PythonLayerVersion(this, 'MyLayer', {\n entry: '/path/to/my/layer', // point this to your library's directory\n }),\n ],\n});",
|
|
117
129
|
"version": "0"
|
|
@@ -148,7 +160,7 @@
|
|
|
148
160
|
"226": 1,
|
|
149
161
|
"281": 4
|
|
150
162
|
},
|
|
151
|
-
"fqnsFingerprint": "
|
|
163
|
+
"fqnsFingerprint": "dee5f043294280b1d61e485f745f1b161f0a817f55ff5ed4e347508899f6e1fa"
|
|
152
164
|
},
|
|
153
165
|
"f263241052727b50b49ec356568b7a69019d835dfc04249cef6b843690d6a71c": {
|
|
154
166
|
"translations": {
|
|
@@ -164,6 +176,10 @@
|
|
|
164
176
|
"source": "String entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\"PIP_INDEX_URL\", \"https://your.index.url/simple/\", \"PIP_EXTRA_INDEX_URL\", \"https://your.extra-index.url/simple/\"))\n .build())\n .build();",
|
|
165
177
|
"version": "1"
|
|
166
178
|
},
|
|
179
|
+
"go": {
|
|
180
|
+
"source": "entry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tbuildArgs: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": jsii.String(\"https://your.index.url/simple/\"),\n\t\t\t\"PIP_EXTRA_INDEX_URL\": jsii.String(\"https://your.extra-index.url/simple/\"),\n\t\t},\n\t},\n})",
|
|
181
|
+
"version": "1"
|
|
182
|
+
},
|
|
167
183
|
"$": {
|
|
168
184
|
"source": "const entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n buildArgs: { PIP_INDEX_URL: \"https://your.index.url/simple/\", PIP_EXTRA_INDEX_URL: \"https://your.extra-index.url/simple/\" },\n },\n});",
|
|
169
185
|
"version": "0"
|
|
@@ -205,7 +221,7 @@
|
|
|
205
221
|
"281": 5,
|
|
206
222
|
"282": 1
|
|
207
223
|
},
|
|
208
|
-
"fqnsFingerprint": "
|
|
224
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
209
225
|
},
|
|
210
226
|
"7300f4badf25be82206db2ddea0d127c48665c4ca57e1030819c01fd03375d05": {
|
|
211
227
|
"translations": {
|
|
@@ -221,6 +237,10 @@
|
|
|
221
237
|
"source": "String entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder().image(image).build())\n .build();",
|
|
222
238
|
"version": "1"
|
|
223
239
|
},
|
|
240
|
+
"go": {
|
|
241
|
+
"source": "entry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\timage: image,\n\t},\n})",
|
|
242
|
+
"version": "1"
|
|
243
|
+
},
|
|
224
244
|
"$": {
|
|
225
245
|
"source": "const entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: { image },\n});",
|
|
226
246
|
"version": "0"
|
|
@@ -262,7 +282,7 @@
|
|
|
262
282
|
"281": 2,
|
|
263
283
|
"282": 2
|
|
264
284
|
},
|
|
265
|
-
"fqnsFingerprint": "
|
|
285
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
266
286
|
},
|
|
267
287
|
"14e4ba79828d038e590c7e524c824df007cc37e22d21a9867a3f714df7531431": {
|
|
268
288
|
"translations": {
|
|
@@ -278,6 +298,10 @@
|
|
|
278
298
|
"source": "import child.process.execSync;\n\n\nString entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nString domain = \"my-domain\";\nString domainOwner = \"111122223333\";\nString repoName = \"my_repo\";\nString region = \"us-east-1\";\nString codeArtifactAuthToken = execSync(String.format(\"aws codeartifact get-authorization-token --domain %s --domain-owner %s --query authorizationToken --output text\", domain, domainOwner)).toString().trim();\n\nString indexUrl = String.format(\"https://aws:%s@%s-%s.d.codeartifact.%s.amazonaws.com/pypi/%s/simple/\", codeArtifactAuthToken, domain, domainOwner, region, repoName);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .environment(Map.of(\"PIP_INDEX_URL\", indexUrl))\n .build())\n .build();",
|
|
279
299
|
"version": "1"
|
|
280
300
|
},
|
|
301
|
+
"go": {
|
|
302
|
+
"source": "import _ \"github.com/aws-samples/dummy/child_process\"\n\nentry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\ndomain := \"my-domain\"\ndomainOwner := \"111122223333\"\nrepoName := \"my_repo\"\nregion := \"us-east-1\"\ncodeArtifactAuthToken := execSync(fmt.Sprintf(\"aws codeartifact get-authorization-token --domain %v --domain-owner %v --query authorizationToken --output text\", domain, domainOwner)).toString().trim()\n\nindexUrl := fmt.Sprintf(\"https://aws:%v@%v-%v.d.codeartifact.%v.amazonaws.com/pypi/%v/simple/\", codeArtifactAuthToken, domain, domainOwner, region, repoName)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tenvironment: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": indexUrl,\n\t\t},\n\t},\n})",
|
|
303
|
+
"version": "1"
|
|
304
|
+
},
|
|
281
305
|
"$": {
|
|
282
306
|
"source": "import { execSync } from 'child_process';\n\nconst entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nconst domain = 'my-domain';\nconst domainOwner = '111122223333';\nconst repoName = 'my_repo';\nconst region = 'us-east-1';\nconst codeArtifactAuthToken = execSync(`aws codeartifact get-authorization-token --domain ${domain} --domain-owner ${domainOwner} --query authorizationToken --output text`).toString().trim();\n\nconst indexUrl = `https://aws:${codeArtifactAuthToken}@${domain}-${domainOwner}.d.codeartifact.${region}.amazonaws.com/pypi/${repoName}/simple/`;\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n environment: { PIP_INDEX_URL: indexUrl },\n },\n});",
|
|
283
307
|
"version": "0"
|
|
@@ -329,7 +353,7 @@
|
|
|
329
353
|
"282": 1,
|
|
330
354
|
"290": 1
|
|
331
355
|
},
|
|
332
|
-
"fqnsFingerprint": "
|
|
356
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
333
357
|
},
|
|
334
358
|
"3b28361dfadd6daca165162a42c06bce31bc977911dc6cb37fd4212bf3c53fba": {
|
|
335
359
|
"translations": {
|
|
@@ -345,6 +369,10 @@
|
|
|
345
369
|
"source": "import child.process.execSync;\n\n\nString entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nString domain = \"my-domain\";\nString domainOwner = \"111122223333\";\nString repoName = \"my_repo\";\nString region = \"us-east-1\";\nString codeArtifactAuthToken = execSync(String.format(\"aws codeartifact get-authorization-token --domain %s --domain-owner %s --query authorizationToken --output text\", domain, domainOwner)).toString().trim();\n\nString indexUrl = String.format(\"https://aws:%s@%s-%s.d.codeartifact.%s.amazonaws.com/pypi/%s/simple/\", codeArtifactAuthToken, domain, domainOwner, region, repoName);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\"PIP_INDEX_URL\", indexUrl))\n .build())\n .build();",
|
|
346
370
|
"version": "1"
|
|
347
371
|
},
|
|
372
|
+
"go": {
|
|
373
|
+
"source": "import _ \"github.com/aws-samples/dummy/child_process\"\n\nentry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\ndomain := \"my-domain\"\ndomainOwner := \"111122223333\"\nrepoName := \"my_repo\"\nregion := \"us-east-1\"\ncodeArtifactAuthToken := execSync(fmt.Sprintf(\"aws codeartifact get-authorization-token --domain %v --domain-owner %v --query authorizationToken --output text\", domain, domainOwner)).toString().trim()\n\nindexUrl := fmt.Sprintf(\"https://aws:%v@%v-%v.d.codeartifact.%v.amazonaws.com/pypi/%v/simple/\", codeArtifactAuthToken, domain, domainOwner, region, repoName)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tbuildArgs: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": indexUrl,\n\t\t},\n\t},\n})",
|
|
374
|
+
"version": "1"
|
|
375
|
+
},
|
|
348
376
|
"$": {
|
|
349
377
|
"source": "import { execSync } from 'child_process';\n\nconst entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nconst domain = 'my-domain';\nconst domainOwner = '111122223333';\nconst repoName = 'my_repo';\nconst region = 'us-east-1';\nconst codeArtifactAuthToken = execSync(`aws codeartifact get-authorization-token --domain ${domain} --domain-owner ${domainOwner} --query authorizationToken --output text`).toString().trim();\n\nconst indexUrl = `https://aws:${codeArtifactAuthToken}@${domain}-${domainOwner}.d.codeartifact.${region}.amazonaws.com/pypi/${repoName}/simple/`;\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n buildArgs: { PIP_INDEX_URL: indexUrl },\n },\n});",
|
|
350
378
|
"version": "0"
|
|
@@ -396,7 +424,7 @@
|
|
|
396
424
|
"282": 1,
|
|
397
425
|
"290": 1
|
|
398
426
|
},
|
|
399
|
-
"fqnsFingerprint": "
|
|
427
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
400
428
|
},
|
|
401
429
|
"8c6e45181f0dbc7b76c7757eb559a6a2e14089f3c0d142067ef510dac8445b89": {
|
|
402
430
|
"translations": {
|
|
@@ -412,6 +440,10 @@
|
|
|
412
440
|
"source": "String entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\"PIP_INDEX_URL\", \"https://your.index.url/simple/\", \"PIP_EXTRA_INDEX_URL\", \"https://your.extra-index.url/simple/\"))\n .build())\n .build();",
|
|
413
441
|
"version": "1"
|
|
414
442
|
},
|
|
443
|
+
"go": {
|
|
444
|
+
"source": "entry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tbuildArgs: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": jsii.String(\"https://your.index.url/simple/\"),\n\t\t\t\"PIP_EXTRA_INDEX_URL\": jsii.String(\"https://your.extra-index.url/simple/\"),\n\t\t},\n\t},\n})",
|
|
445
|
+
"version": "1"
|
|
446
|
+
},
|
|
415
447
|
"$": {
|
|
416
448
|
"source": "const entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n buildArgs: { PIP_INDEX_URL: \"https://your.index.url/simple/\", PIP_EXTRA_INDEX_URL: \"https://your.extra-index.url/simple/\" },\n },\n});",
|
|
417
449
|
"version": "0"
|
|
@@ -452,7 +484,7 @@
|
|
|
452
484
|
"281": 5,
|
|
453
485
|
"282": 1
|
|
454
486
|
},
|
|
455
|
-
"fqnsFingerprint": "
|
|
487
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
456
488
|
},
|
|
457
489
|
"1fe68738b650f042a6ca8c4370a73d0a12f94c263535d18a6fcf558138da45b9": {
|
|
458
490
|
"translations": {
|
|
@@ -468,6 +500,10 @@
|
|
|
468
500
|
"source": "String entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\"PIP_INDEX_URL\", \"https://your.index.url/simple/\", \"PIP_EXTRA_INDEX_URL\", \"https://your.extra-index.url/simple/\"))\n .build())\n .build();",
|
|
469
501
|
"version": "1"
|
|
470
502
|
},
|
|
503
|
+
"go": {
|
|
504
|
+
"source": "entry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tbuildArgs: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": jsii.String(\"https://your.index.url/simple/\"),\n\t\t\t\"PIP_EXTRA_INDEX_URL\": jsii.String(\"https://your.extra-index.url/simple/\"),\n\t\t},\n\t},\n})",
|
|
505
|
+
"version": "1"
|
|
506
|
+
},
|
|
471
507
|
"$": {
|
|
472
508
|
"source": "const entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n buildArgs: { PIP_INDEX_URL: \"https://your.index.url/simple/\", PIP_EXTRA_INDEX_URL: \"https://your.extra-index.url/simple/\" },\n },\n});",
|
|
473
509
|
"version": "0"
|
|
@@ -508,7 +544,7 @@
|
|
|
508
544
|
"281": 5,
|
|
509
545
|
"282": 1
|
|
510
546
|
},
|
|
511
|
-
"fqnsFingerprint": "
|
|
547
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
512
548
|
},
|
|
513
549
|
"1487ff584727a1589c5476ca3c4df23801dbe200acd7d18d1bda015d3ea3244c": {
|
|
514
550
|
"translations": {
|
|
@@ -524,6 +560,10 @@
|
|
|
524
560
|
"source": "String entry = \"/path/to/function\";\nDockerImage image = DockerImage.fromBuild(entry);\n\nPythonFunction.Builder.create(this, \"function\")\n .entry(entry)\n .runtime(Runtime.PYTHON_3_8)\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\"PIP_INDEX_URL\", \"https://your.index.url/simple/\", \"PIP_EXTRA_INDEX_URL\", \"https://your.extra-index.url/simple/\"))\n .build())\n .build();",
|
|
525
561
|
"version": "1"
|
|
526
562
|
},
|
|
563
|
+
"go": {
|
|
564
|
+
"source": "entry := \"/path/to/function\"\nimage := dockerImage.fromBuild(entry)\n\nlambda.NewPythonFunction(this, jsii.String(\"function\"), &pythonFunctionProps{\n\tentry: jsii.String(entry),\n\truntime: runtime_PYTHON_3_8(),\n\tbundling: &bundlingOptions{\n\t\tbuildArgs: map[string]*string{\n\t\t\t\"PIP_INDEX_URL\": jsii.String(\"https://your.index.url/simple/\"),\n\t\t\t\"PIP_EXTRA_INDEX_URL\": jsii.String(\"https://your.extra-index.url/simple/\"),\n\t\t},\n\t},\n})",
|
|
565
|
+
"version": "1"
|
|
566
|
+
},
|
|
527
567
|
"$": {
|
|
528
568
|
"source": "const entry = '/path/to/function';\nconst image = DockerImage.fromBuild(entry);\n\nnew lambda.PythonFunction(this, 'function', {\n entry,\n runtime: Runtime.PYTHON_3_8,\n bundling: {\n buildArgs: { PIP_INDEX_URL: \"https://your.index.url/simple/\", PIP_EXTRA_INDEX_URL: \"https://your.extra-index.url/simple/\" },\n },\n});",
|
|
529
569
|
"version": "0"
|
|
@@ -564,7 +604,7 @@
|
|
|
564
604
|
"281": 5,
|
|
565
605
|
"282": 1
|
|
566
606
|
},
|
|
567
|
-
"fqnsFingerprint": "
|
|
607
|
+
"fqnsFingerprint": "a422d707dfc013ff823311d87cb00098534434e4c55b7865a7bc073c4d1bb40c"
|
|
568
608
|
},
|
|
569
609
|
"2577bd631c6ca99528df5a0dcc24cc3934fd1629688eaf608a382ff7bc1b6a0f": {
|
|
570
610
|
"translations": {
|
|
@@ -580,6 +620,10 @@
|
|
|
580
620
|
"source": "PythonLayerVersion.Builder.create(this, \"MyLayer\")\n .entry(\"/path/to/my/layer\")\n .build();",
|
|
581
621
|
"version": "1"
|
|
582
622
|
},
|
|
623
|
+
"go": {
|
|
624
|
+
"source": "lambda.NewPythonLayerVersion(this, jsii.String(\"MyLayer\"), &pythonLayerVersionProps{\n\tentry: jsii.String(\"/path/to/my/layer\"),\n})",
|
|
625
|
+
"version": "1"
|
|
626
|
+
},
|
|
583
627
|
"$": {
|
|
584
628
|
"source": "new lambda.PythonLayerVersion(this, 'MyLayer', {\n entry: '/path/to/my/layer', // point this to your library's directory\n})",
|
|
585
629
|
"version": "0"
|
|
@@ -610,7 +654,7 @@
|
|
|
610
654
|
"226": 1,
|
|
611
655
|
"281": 1
|
|
612
656
|
},
|
|
613
|
-
"fqnsFingerprint": "
|
|
657
|
+
"fqnsFingerprint": "7b8312c5ef919d95063668ec3e48d7e268ce9d6e9ffbac8fa72e5c4e25890635"
|
|
614
658
|
},
|
|
615
659
|
"e3289a04dc8d758a99b631eb6f19978e241b633977bdc01f803ce3b8bf56da73": {
|
|
616
660
|
"translations": {
|
|
@@ -626,6 +670,10 @@
|
|
|
626
670
|
"source": "PythonLayerVersion.Builder.create(this, \"MyLayer\")\n .entry(\"/path/to/my/layer\")\n .build();",
|
|
627
671
|
"version": "1"
|
|
628
672
|
},
|
|
673
|
+
"go": {
|
|
674
|
+
"source": "lambda.NewPythonLayerVersion(this, jsii.String(\"MyLayer\"), &pythonLayerVersionProps{\n\tentry: jsii.String(\"/path/to/my/layer\"),\n})",
|
|
675
|
+
"version": "1"
|
|
676
|
+
},
|
|
629
677
|
"$": {
|
|
630
678
|
"source": "new lambda.PythonLayerVersion(this, 'MyLayer', {\n entry: '/path/to/my/layer', // point this to your library's directory\n})",
|
|
631
679
|
"version": "0"
|
|
@@ -656,7 +704,7 @@
|
|
|
656
704
|
"226": 1,
|
|
657
705
|
"281": 1
|
|
658
706
|
},
|
|
659
|
-
"fqnsFingerprint": "
|
|
707
|
+
"fqnsFingerprint": "7b8312c5ef919d95063668ec3e48d7e268ce9d6e9ffbac8fa72e5c4e25890635"
|
|
660
708
|
}
|
|
661
709
|
}
|
|
662
710
|
}
|
package/.warnings.jsii.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function _aws_cdk_aws_lambda_python_alpha_PythonFunction(p) {
|
|
2
|
-
}
|
|
3
1
|
function _aws_cdk_aws_lambda_python_alpha_PythonLayerVersion(p) {
|
|
4
2
|
}
|
|
3
|
+
function _aws_cdk_aws_lambda_python_alpha_PythonFunction(p) {
|
|
4
|
+
}
|
|
5
5
|
function _aws_cdk_aws_lambda_python_alpha_PythonFunctionProps(p) {
|
|
6
6
|
if (p == null)
|
|
7
7
|
return;
|
|
@@ -47,5 +47,5 @@ function print(name, deprecationMessage) {
|
|
|
47
47
|
const visitedObjects = new Set();
|
|
48
48
|
class DeprecationError extends Error {
|
|
49
49
|
}
|
|
50
|
-
module.exports = { print,
|
|
50
|
+
module.exports = { print, _aws_cdk_aws_lambda_python_alpha_PythonLayerVersion, _aws_cdk_aws_lambda_python_alpha_PythonFunction, _aws_cdk_aws_lambda_python_alpha_PythonFunctionProps, _aws_cdk_aws_lambda_python_alpha_PythonLayerVersionProps, _aws_cdk_aws_lambda_python_alpha_BundlingOptions };
|
|
51
51
|
module.exports.DeprecationError = DeprecationError;
|
package/lib/function.js
CHANGED
|
@@ -44,5 +44,5 @@ class PythonFunction extends aws_lambda_1.Function {
|
|
|
44
44
|
}
|
|
45
45
|
exports.PythonFunction = PythonFunction;
|
|
46
46
|
_a = JSII_RTTI_SYMBOL_1;
|
|
47
|
-
PythonFunction[_a] = { fqn: "@aws-cdk/aws-lambda-python-alpha.PythonFunction", version: "2.
|
|
47
|
+
PythonFunction[_a] = { fqn: "@aws-cdk/aws-lambda-python-alpha.PythonFunction", version: "2.20.0-alpha.0" };
|
|
48
48
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJmdW5jdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs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IHByb3BzLnJ1bnRpbWUuZmFtaWx5ICE9PSBSdW50aW1lRmFtaWx5LlBZVEhPTikge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdPbmx5IGBQWVRIT05gIHJ1bnRpbWVzIGFyZSBzdXBwb3J0ZWQuJyk7XG4gICAgfVxuXG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICAuLi5wcm9wcyxcbiAgICAgIHJ1bnRpbWUsXG4gICAgICBjb2RlOiBCdW5kbGluZy5idW5kbGUoe1xuICAgICAgICBlbnRyeSxcbiAgICAgICAgcnVudGltZSxcbiAgICAgICAgc2tpcDogIVN0YWNrLm9mKHNjb3BlKS5idW5kbGluZ1JlcXVpcmVkLFxuICAgICAgICAuLi5wcm9wcy5idW5kbGluZyxcbiAgICAgIH0pLFxuICAgICAgaGFuZGxlcjogcmVzb2x2ZWRIYW5kbGVyLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
package/lib/layer.js
CHANGED
|
@@ -45,5 +45,5 @@ class PythonLayerVersion extends lambda.LayerVersion {
|
|
|
45
45
|
}
|
|
46
46
|
exports.PythonLayerVersion = PythonLayerVersion;
|
|
47
47
|
_a = JSII_RTTI_SYMBOL_1;
|
|
48
|
-
PythonLayerVersion[_a] = { fqn: "@aws-cdk/aws-lambda-python-alpha.PythonLayerVersion", version: "2.
|
|
48
|
+
PythonLayerVersion[_a] = { fqn: "@aws-cdk/aws-lambda-python-alpha.PythonLayerVersion", version: "2.20.0-alpha.0" };
|
|
49
49
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJsYXllci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw2QkFBNkI7QUFDN0IsaURBQWlEO0FBQ2pELDZDQUFvQztBQUNwQyx5Q0FBc0M7QUFxQ3RDOzs7R0FHRztBQUNILE1BQWEsa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GluZy5idW5kbGUoe1xuICAgICAgICBlbnRyeSxcbiAgICAgICAgcnVudGltZSxcbiAgICAgICAgYXJjaGl0ZWN0dXJlLFxuICAgICAgICBvdXRwdXRQYXRoU3VmZml4OiAncHl0aG9uJyxcbiAgICAgICAgc2tpcDogIVN0YWNrLm9mKHNjb3BlKS5idW5kbGluZ1JlcXVpcmVkLFxuICAgICAgICAuLi5wcm9wcy5idW5kbGluZyxcbiAgICAgIH0pLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-lambda-python-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.20.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for AWS Lambda in Python",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"distName": "aws-cdk.aws-lambda-python-alpha",
|
|
25
25
|
"module": "aws_cdk.aws_lambda_python_alpha",
|
|
26
26
|
"classifiers": [
|
|
27
|
-
"Framework :: AWS CDK"
|
|
28
|
-
"Framework :: AWS CDK :: 1"
|
|
27
|
+
"Framework :: AWS CDK"
|
|
29
28
|
]
|
|
30
29
|
},
|
|
31
30
|
"go": {
|
|
@@ -76,17 +75,17 @@
|
|
|
76
75
|
},
|
|
77
76
|
"license": "Apache-2.0",
|
|
78
77
|
"devDependencies": {
|
|
79
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
80
|
-
"@aws-cdk/cdk-integ-tools": "2.
|
|
81
|
-
"@aws-cdk/pkglint": "2.
|
|
78
|
+
"@aws-cdk/cdk-build-tools": "2.20.0",
|
|
79
|
+
"@aws-cdk/cdk-integ-tools": "2.20.0",
|
|
80
|
+
"@aws-cdk/pkglint": "2.20.0",
|
|
82
81
|
"@types/jest": "^27.4.1",
|
|
83
|
-
"aws-cdk-lib": "2.
|
|
82
|
+
"aws-cdk-lib": "2.20.0",
|
|
84
83
|
"constructs": "^10.0.0"
|
|
85
84
|
},
|
|
86
85
|
"dependencies": {},
|
|
87
86
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
88
87
|
"peerDependencies": {
|
|
89
|
-
"aws-cdk-lib": "^2.
|
|
88
|
+
"aws-cdk-lib": "^2.20.0",
|
|
90
89
|
"constructs": "^10.0.0"
|
|
91
90
|
},
|
|
92
91
|
"engines": {
|