@aws-cdk/aws-lambda-go-alpha 2.1.0-alpha.0 → 2.5.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 +90 -3
- package/.jsii.tabl.json +392 -0
- package/LICENSE +1 -1
- package/NOTICE +1 -1
- package/lib/function.js +1 -1
- package/package.json +6 -6
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.5.0",
|
|
12
12
|
"constructs": "^10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -105,6 +105,19 @@
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
+
"aws-cdk-lib.aws_amplifyuibuilder": {
|
|
109
|
+
"targets": {
|
|
110
|
+
"dotnet": {
|
|
111
|
+
"namespace": "Amazon.CDK.AWS.AmplifyUIBuilder"
|
|
112
|
+
},
|
|
113
|
+
"java": {
|
|
114
|
+
"package": "software.amazon.awscdk.services.amplifyuibuilder"
|
|
115
|
+
},
|
|
116
|
+
"python": {
|
|
117
|
+
"module": "aws_cdk.aws_amplifyuibuilder"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
108
121
|
"aws-cdk-lib.aws_apigateway": {
|
|
109
122
|
"targets": {
|
|
110
123
|
"dotnet": {
|
|
@@ -1120,6 +1133,19 @@
|
|
|
1120
1133
|
}
|
|
1121
1134
|
}
|
|
1122
1135
|
},
|
|
1136
|
+
"aws-cdk-lib.aws_evidently": {
|
|
1137
|
+
"targets": {
|
|
1138
|
+
"dotnet": {
|
|
1139
|
+
"namespace": "Amazon.CDK.AWS.Evidently"
|
|
1140
|
+
},
|
|
1141
|
+
"java": {
|
|
1142
|
+
"package": "software.amazon.awscdk.services.evidently"
|
|
1143
|
+
},
|
|
1144
|
+
"python": {
|
|
1145
|
+
"module": "aws_cdk.aws_evidently"
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1123
1149
|
"aws-cdk-lib.aws_finspace": {
|
|
1124
1150
|
"targets": {
|
|
1125
1151
|
"dotnet": {
|
|
@@ -1601,6 +1627,19 @@
|
|
|
1601
1627
|
}
|
|
1602
1628
|
}
|
|
1603
1629
|
},
|
|
1630
|
+
"aws-cdk-lib.aws_lex": {
|
|
1631
|
+
"targets": {
|
|
1632
|
+
"dotnet": {
|
|
1633
|
+
"namespace": "Amazon.CDK.AWS.Lex"
|
|
1634
|
+
},
|
|
1635
|
+
"java": {
|
|
1636
|
+
"package": "software.amazon.awscdk.services.lex"
|
|
1637
|
+
},
|
|
1638
|
+
"python": {
|
|
1639
|
+
"module": "aws_cdk.aws_lex"
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1604
1643
|
"aws-cdk-lib.aws_licensemanager": {
|
|
1605
1644
|
"targets": {
|
|
1606
1645
|
"dotnet": {
|
|
@@ -2030,6 +2069,19 @@
|
|
|
2030
2069
|
}
|
|
2031
2070
|
}
|
|
2032
2071
|
},
|
|
2072
|
+
"aws-cdk-lib.aws_refactorspaces": {
|
|
2073
|
+
"targets": {
|
|
2074
|
+
"dotnet": {
|
|
2075
|
+
"namespace": "Amazon.CDK.AWS.RefactorSpaces"
|
|
2076
|
+
},
|
|
2077
|
+
"java": {
|
|
2078
|
+
"package": "software.amazon.awscdk.services.refactorspaces"
|
|
2079
|
+
},
|
|
2080
|
+
"python": {
|
|
2081
|
+
"module": "aws_cdk.aws_refactorspaces"
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2033
2085
|
"aws-cdk-lib.aws_rekognition": {
|
|
2034
2086
|
"targets": {
|
|
2035
2087
|
"dotnet": {
|
|
@@ -2043,6 +2095,19 @@
|
|
|
2043
2095
|
}
|
|
2044
2096
|
}
|
|
2045
2097
|
},
|
|
2098
|
+
"aws-cdk-lib.aws_resiliencehub": {
|
|
2099
|
+
"targets": {
|
|
2100
|
+
"dotnet": {
|
|
2101
|
+
"namespace": "Amazon.CDK.AWS.ResilienceHub"
|
|
2102
|
+
},
|
|
2103
|
+
"java": {
|
|
2104
|
+
"package": "software.amazon.awscdk.services.resiliencehub"
|
|
2105
|
+
},
|
|
2106
|
+
"python": {
|
|
2107
|
+
"module": "aws_cdk.aws_resiliencehub"
|
|
2108
|
+
}
|
|
2109
|
+
}
|
|
2110
|
+
},
|
|
2046
2111
|
"aws-cdk-lib.aws_resourcegroups": {
|
|
2047
2112
|
"targets": {
|
|
2048
2113
|
"dotnet": {
|
|
@@ -2147,6 +2212,19 @@
|
|
|
2147
2212
|
}
|
|
2148
2213
|
}
|
|
2149
2214
|
},
|
|
2215
|
+
"aws-cdk-lib.aws_rum": {
|
|
2216
|
+
"targets": {
|
|
2217
|
+
"dotnet": {
|
|
2218
|
+
"namespace": "Amazon.CDK.AWS.RUM"
|
|
2219
|
+
},
|
|
2220
|
+
"java": {
|
|
2221
|
+
"package": "software.amazon.awscdk.services.rum"
|
|
2222
|
+
},
|
|
2223
|
+
"python": {
|
|
2224
|
+
"module": "aws_cdk.aws_rum"
|
|
2225
|
+
}
|
|
2226
|
+
}
|
|
2227
|
+
},
|
|
2150
2228
|
"aws-cdk-lib.aws_s3": {
|
|
2151
2229
|
"targets": {
|
|
2152
2230
|
"dotnet": {
|
|
@@ -2777,7 +2855,7 @@
|
|
|
2777
2855
|
"stability": "experimental"
|
|
2778
2856
|
},
|
|
2779
2857
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
2780
|
-
"jsiiVersion": "1.
|
|
2858
|
+
"jsiiVersion": "1.50.0 (build d1830a4)",
|
|
2781
2859
|
"keywords": [
|
|
2782
2860
|
"aws",
|
|
2783
2861
|
"cdk",
|
|
@@ -2842,6 +2920,9 @@
|
|
|
2842
2920
|
"assembly": "@aws-cdk/aws-lambda-go-alpha",
|
|
2843
2921
|
"datatype": true,
|
|
2844
2922
|
"docs": {
|
|
2923
|
+
"custom": {
|
|
2924
|
+
"exampleMetadata": "infused"
|
|
2925
|
+
},
|
|
2845
2926
|
"example": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n environment: {\n HELLO: 'WORLD',\n },\n },\n});",
|
|
2846
2927
|
"stability": "experimental",
|
|
2847
2928
|
"summary": "Bundling options."
|
|
@@ -3045,6 +3126,9 @@
|
|
|
3045
3126
|
"assembly": "@aws-cdk/aws-lambda-go-alpha",
|
|
3046
3127
|
"base": "aws-cdk-lib.aws_lambda.Function",
|
|
3047
3128
|
"docs": {
|
|
3129
|
+
"custom": {
|
|
3130
|
+
"exampleMetadata": "infused"
|
|
3131
|
+
},
|
|
3048
3132
|
"example": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});",
|
|
3049
3133
|
"stability": "experimental",
|
|
3050
3134
|
"summary": "A Golang Lambda function."
|
|
@@ -3091,6 +3175,9 @@
|
|
|
3091
3175
|
"assembly": "@aws-cdk/aws-lambda-go-alpha",
|
|
3092
3176
|
"datatype": true,
|
|
3093
3177
|
"docs": {
|
|
3178
|
+
"custom": {
|
|
3179
|
+
"exampleMetadata": "infused"
|
|
3180
|
+
},
|
|
3094
3181
|
"example": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});",
|
|
3095
3182
|
"stability": "experimental",
|
|
3096
3183
|
"summary": "Properties for a GolangFunction."
|
|
@@ -3275,6 +3362,6 @@
|
|
|
3275
3362
|
"symbolId": "lib/types:ICommandHooks"
|
|
3276
3363
|
}
|
|
3277
3364
|
},
|
|
3278
|
-
"version": "2.
|
|
3365
|
+
"version": "2.5.0-alpha.0",
|
|
3279
3366
|
"fingerprint": "**********"
|
|
3280
3367
|
}
|
package/.jsii.tabl.json
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2",
|
|
3
|
+
"toolVersion": "1.50.0",
|
|
4
|
+
"snippets": {
|
|
5
|
+
"0ddaec7539c22b7485ab478a9886f2a382fd5174139080649aa818fece8c4e92": {
|
|
6
|
+
"translations": {
|
|
7
|
+
"python": {
|
|
8
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\"\n)",
|
|
9
|
+
"version": "1"
|
|
10
|
+
},
|
|
11
|
+
"csharp": {
|
|
12
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\"\n});",
|
|
13
|
+
"version": "1"
|
|
14
|
+
},
|
|
15
|
+
"java": {
|
|
16
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .build();",
|
|
17
|
+
"version": "1"
|
|
18
|
+
},
|
|
19
|
+
"$": {
|
|
20
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n});",
|
|
21
|
+
"version": "0"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"location": {
|
|
25
|
+
"api": {
|
|
26
|
+
"api": "moduleReadme",
|
|
27
|
+
"moduleFqn": "@aws-cdk/aws-lambda-go-alpha"
|
|
28
|
+
},
|
|
29
|
+
"field": {
|
|
30
|
+
"field": "markdown",
|
|
31
|
+
"line": 30
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"didCompile": true,
|
|
35
|
+
"fqnsReferenced": [
|
|
36
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
37
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
38
|
+
],
|
|
39
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
40
|
+
"syntaxKindCounter": {
|
|
41
|
+
"10": 2,
|
|
42
|
+
"75": 3,
|
|
43
|
+
"104": 1,
|
|
44
|
+
"193": 1,
|
|
45
|
+
"194": 1,
|
|
46
|
+
"197": 1,
|
|
47
|
+
"226": 1,
|
|
48
|
+
"281": 1
|
|
49
|
+
},
|
|
50
|
+
"fqnsFingerprint": "8a2b507dc6e89cbd1f98d9de7d323b9d602a8989289c5038a47ecc67f37ae179"
|
|
51
|
+
},
|
|
52
|
+
"e70c2439ea96dd819afe0cc5b516581c4f9ddbc891b3763d8ce3479f77c9c6b3": {
|
|
53
|
+
"translations": {
|
|
54
|
+
"python": {
|
|
55
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n environment={\n \"HELLO\": \"WORLD\"\n }\n )\n)",
|
|
56
|
+
"version": "1"
|
|
57
|
+
},
|
|
58
|
+
"csharp": {
|
|
59
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n Environment = new Dictionary<string, string> {\n { \"HELLO\", \"WORLD\" }\n }\n }\n});",
|
|
60
|
+
"version": "1"
|
|
61
|
+
},
|
|
62
|
+
"java": {
|
|
63
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .environment(Map.of(\n \"HELLO\", \"WORLD\"))\n .build())\n .build();",
|
|
64
|
+
"version": "1"
|
|
65
|
+
},
|
|
66
|
+
"$": {
|
|
67
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n environment: {\n HELLO: 'WORLD',\n },\n },\n});",
|
|
68
|
+
"version": "0"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"location": {
|
|
72
|
+
"api": {
|
|
73
|
+
"api": "moduleReadme",
|
|
74
|
+
"moduleFqn": "@aws-cdk/aws-lambda-go-alpha"
|
|
75
|
+
},
|
|
76
|
+
"field": {
|
|
77
|
+
"field": "markdown",
|
|
78
|
+
"line": 114
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"didCompile": true,
|
|
82
|
+
"fqnsReferenced": [
|
|
83
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
84
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
85
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
86
|
+
],
|
|
87
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n environment: {\n HELLO: 'WORLD',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
88
|
+
"syntaxKindCounter": {
|
|
89
|
+
"10": 3,
|
|
90
|
+
"75": 6,
|
|
91
|
+
"104": 1,
|
|
92
|
+
"193": 3,
|
|
93
|
+
"194": 1,
|
|
94
|
+
"197": 1,
|
|
95
|
+
"226": 1,
|
|
96
|
+
"281": 4
|
|
97
|
+
},
|
|
98
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
99
|
+
},
|
|
100
|
+
"48b66a21ffc53208985227b09545759dda324e90fa803d6d69397d67eb1eae37": {
|
|
101
|
+
"translations": {
|
|
102
|
+
"python": {
|
|
103
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n build_args={\n \"HTTPS_PROXY\": \"https://127.0.0.1:3001\"\n }\n )\n)",
|
|
104
|
+
"version": "1"
|
|
105
|
+
},
|
|
106
|
+
"csharp": {
|
|
107
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n BuildArgs = new Dictionary<string, string> {\n { \"HTTPS_PROXY\", \"https://127.0.0.1:3001\" }\n }\n }\n});",
|
|
108
|
+
"version": "1"
|
|
109
|
+
},
|
|
110
|
+
"java": {
|
|
111
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .buildArgs(Map.of(\n \"HTTPS_PROXY\", \"https://127.0.0.1:3001\"))\n .build())\n .build();",
|
|
112
|
+
"version": "1"
|
|
113
|
+
},
|
|
114
|
+
"$": {
|
|
115
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n buildArgs: {\n HTTPS_PROXY: 'https://127.0.0.1:3001',\n },\n },\n});",
|
|
116
|
+
"version": "0"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"location": {
|
|
120
|
+
"api": {
|
|
121
|
+
"api": "moduleReadme",
|
|
122
|
+
"moduleFqn": "@aws-cdk/aws-lambda-go-alpha"
|
|
123
|
+
},
|
|
124
|
+
"field": {
|
|
125
|
+
"field": "markdown",
|
|
126
|
+
"line": 140
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"didCompile": true,
|
|
130
|
+
"fqnsReferenced": [
|
|
131
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
132
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
133
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
134
|
+
],
|
|
135
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n buildArgs: {\n HTTPS_PROXY: 'https://127.0.0.1:3001',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
136
|
+
"syntaxKindCounter": {
|
|
137
|
+
"10": 3,
|
|
138
|
+
"75": 6,
|
|
139
|
+
"104": 1,
|
|
140
|
+
"193": 3,
|
|
141
|
+
"194": 1,
|
|
142
|
+
"197": 1,
|
|
143
|
+
"226": 1,
|
|
144
|
+
"281": 4
|
|
145
|
+
},
|
|
146
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
147
|
+
},
|
|
148
|
+
"aad0bb971e874ac487894fadf4ada34afa6368a0fe470a3c5eff8d28c49046e3": {
|
|
149
|
+
"translations": {
|
|
150
|
+
"python": {
|
|
151
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n docker_image=DockerImage.from_build(\"/path/to/Dockerfile\")\n )\n)",
|
|
152
|
+
"version": "1"
|
|
153
|
+
},
|
|
154
|
+
"csharp": {
|
|
155
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n DockerImage = DockerImage.FromBuild(\"/path/to/Dockerfile\")\n }\n});",
|
|
156
|
+
"version": "1"
|
|
157
|
+
},
|
|
158
|
+
"java": {
|
|
159
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .dockerImage(DockerImage.fromBuild(\"/path/to/Dockerfile\"))\n .build())\n .build();",
|
|
160
|
+
"version": "1"
|
|
161
|
+
},
|
|
162
|
+
"$": {
|
|
163
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n dockerImage: DockerImage.fromBuild('/path/to/Dockerfile'),\n },\n});",
|
|
164
|
+
"version": "0"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"location": {
|
|
168
|
+
"api": {
|
|
169
|
+
"api": "moduleReadme",
|
|
170
|
+
"moduleFqn": "@aws-cdk/aws-lambda-go-alpha"
|
|
171
|
+
},
|
|
172
|
+
"field": {
|
|
173
|
+
"field": "markdown",
|
|
174
|
+
"line": 153
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"didCompile": true,
|
|
178
|
+
"fqnsReferenced": [
|
|
179
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
180
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
181
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps",
|
|
182
|
+
"aws-cdk-lib.DockerImage",
|
|
183
|
+
"aws-cdk-lib.DockerImage#fromBuild"
|
|
184
|
+
],
|
|
185
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n dockerImage: DockerImage.fromBuild('/path/to/Dockerfile'),\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
186
|
+
"syntaxKindCounter": {
|
|
187
|
+
"10": 3,
|
|
188
|
+
"75": 7,
|
|
189
|
+
"104": 1,
|
|
190
|
+
"193": 2,
|
|
191
|
+
"194": 2,
|
|
192
|
+
"196": 1,
|
|
193
|
+
"197": 1,
|
|
194
|
+
"226": 1,
|
|
195
|
+
"281": 3
|
|
196
|
+
},
|
|
197
|
+
"fqnsFingerprint": "d5d38709960a662c6b6c9554cb9d541cf1d1788af8f67f1b7770ee08101f70a2"
|
|
198
|
+
},
|
|
199
|
+
"4813fa1d4ff1554906c147e38be7de9d3a15fb9734ab53a8f64796488501611b": {
|
|
200
|
+
"translations": {
|
|
201
|
+
"python": {
|
|
202
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n go_build_flags=[\"-ldflags \\\"-s -w\\\"\"]\n )\n)",
|
|
203
|
+
"version": "1"
|
|
204
|
+
},
|
|
205
|
+
"csharp": {
|
|
206
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n GoBuildFlags = new [] { \"-ldflags \\\"-s -w\\\"\" }\n }\n});",
|
|
207
|
+
"version": "1"
|
|
208
|
+
},
|
|
209
|
+
"java": {
|
|
210
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .goBuildFlags(List.of(\"-ldflags \\\"-s -w\\\"\"))\n .build())\n .build();",
|
|
211
|
+
"version": "1"
|
|
212
|
+
},
|
|
213
|
+
"$": {
|
|
214
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});",
|
|
215
|
+
"version": "0"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"location": {
|
|
219
|
+
"api": {
|
|
220
|
+
"api": "moduleReadme",
|
|
221
|
+
"moduleFqn": "@aws-cdk/aws-lambda-go-alpha"
|
|
222
|
+
},
|
|
223
|
+
"field": {
|
|
224
|
+
"field": "markdown",
|
|
225
|
+
"line": 164
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"didCompile": true,
|
|
229
|
+
"fqnsReferenced": [
|
|
230
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
231
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
232
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
233
|
+
],
|
|
234
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
235
|
+
"syntaxKindCounter": {
|
|
236
|
+
"10": 3,
|
|
237
|
+
"75": 5,
|
|
238
|
+
"104": 1,
|
|
239
|
+
"192": 1,
|
|
240
|
+
"193": 2,
|
|
241
|
+
"194": 1,
|
|
242
|
+
"197": 1,
|
|
243
|
+
"226": 1,
|
|
244
|
+
"281": 3
|
|
245
|
+
},
|
|
246
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
247
|
+
},
|
|
248
|
+
"b9b468ace2862d2583a80f264d8f99f76fbe474065a42112d85344ed00555af7": {
|
|
249
|
+
"translations": {
|
|
250
|
+
"python": {
|
|
251
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n environment={\n \"HELLO\": \"WORLD\"\n }\n )\n)",
|
|
252
|
+
"version": "1"
|
|
253
|
+
},
|
|
254
|
+
"csharp": {
|
|
255
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n Environment = new Dictionary<string, string> {\n { \"HELLO\", \"WORLD\" }\n }\n }\n});",
|
|
256
|
+
"version": "1"
|
|
257
|
+
},
|
|
258
|
+
"java": {
|
|
259
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .environment(Map.of(\n \"HELLO\", \"WORLD\"))\n .build())\n .build();",
|
|
260
|
+
"version": "1"
|
|
261
|
+
},
|
|
262
|
+
"$": {
|
|
263
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n environment: {\n HELLO: 'WORLD',\n },\n },\n});",
|
|
264
|
+
"version": "0"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"location": {
|
|
268
|
+
"api": {
|
|
269
|
+
"api": "type",
|
|
270
|
+
"fqn": "@aws-cdk/aws-lambda-go-alpha.BundlingOptions"
|
|
271
|
+
},
|
|
272
|
+
"field": {
|
|
273
|
+
"field": "example"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"didCompile": true,
|
|
277
|
+
"fqnsReferenced": [
|
|
278
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
279
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
280
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
281
|
+
],
|
|
282
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n environment: {\n HELLO: 'WORLD',\n },\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
283
|
+
"syntaxKindCounter": {
|
|
284
|
+
"10": 3,
|
|
285
|
+
"75": 6,
|
|
286
|
+
"104": 1,
|
|
287
|
+
"193": 3,
|
|
288
|
+
"194": 1,
|
|
289
|
+
"197": 1,
|
|
290
|
+
"226": 1,
|
|
291
|
+
"281": 4
|
|
292
|
+
},
|
|
293
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
294
|
+
},
|
|
295
|
+
"da5b66c1f2894d6b595fb1ff5d7d5ae6088902bb6692b5de102ef7ed3c791748": {
|
|
296
|
+
"translations": {
|
|
297
|
+
"python": {
|
|
298
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n go_build_flags=[\"-ldflags \\\"-s -w\\\"\"]\n )\n)",
|
|
299
|
+
"version": "1"
|
|
300
|
+
},
|
|
301
|
+
"csharp": {
|
|
302
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n GoBuildFlags = new [] { \"-ldflags \\\"-s -w\\\"\" }\n }\n});",
|
|
303
|
+
"version": "1"
|
|
304
|
+
},
|
|
305
|
+
"java": {
|
|
306
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .goBuildFlags(List.of(\"-ldflags \\\"-s -w\\\"\"))\n .build())\n .build();",
|
|
307
|
+
"version": "1"
|
|
308
|
+
},
|
|
309
|
+
"$": {
|
|
310
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});",
|
|
311
|
+
"version": "0"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"location": {
|
|
315
|
+
"api": {
|
|
316
|
+
"api": "type",
|
|
317
|
+
"fqn": "@aws-cdk/aws-lambda-go-alpha.GoFunction"
|
|
318
|
+
},
|
|
319
|
+
"field": {
|
|
320
|
+
"field": "example"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"didCompile": true,
|
|
324
|
+
"fqnsReferenced": [
|
|
325
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
326
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
327
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
328
|
+
],
|
|
329
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
330
|
+
"syntaxKindCounter": {
|
|
331
|
+
"10": 3,
|
|
332
|
+
"75": 5,
|
|
333
|
+
"104": 1,
|
|
334
|
+
"192": 1,
|
|
335
|
+
"193": 2,
|
|
336
|
+
"194": 1,
|
|
337
|
+
"197": 1,
|
|
338
|
+
"226": 1,
|
|
339
|
+
"281": 3
|
|
340
|
+
},
|
|
341
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
342
|
+
},
|
|
343
|
+
"e08f92e358389a1d1634ee1353821349d445e7db841259c4c020eae416c870ef": {
|
|
344
|
+
"translations": {
|
|
345
|
+
"python": {
|
|
346
|
+
"source": "lambda_.GoFunction(self, \"handler\",\n entry=\"app/cmd/api\",\n bundling=lambda.BundlingOptions(\n go_build_flags=[\"-ldflags \\\"-s -w\\\"\"]\n )\n)",
|
|
347
|
+
"version": "1"
|
|
348
|
+
},
|
|
349
|
+
"csharp": {
|
|
350
|
+
"source": "new GoFunction(this, \"handler\", new GoFunctionProps {\n Entry = \"app/cmd/api\",\n Bundling = new BundlingOptions {\n GoBuildFlags = new [] { \"-ldflags \\\"-s -w\\\"\" }\n }\n});",
|
|
351
|
+
"version": "1"
|
|
352
|
+
},
|
|
353
|
+
"java": {
|
|
354
|
+
"source": "GoFunction.Builder.create(this, \"handler\")\n .entry(\"app/cmd/api\")\n .bundling(BundlingOptions.builder()\n .goBuildFlags(List.of(\"-ldflags \\\"-s -w\\\"\"))\n .build())\n .build();",
|
|
355
|
+
"version": "1"
|
|
356
|
+
},
|
|
357
|
+
"$": {
|
|
358
|
+
"source": "new lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});",
|
|
359
|
+
"version": "0"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"location": {
|
|
363
|
+
"api": {
|
|
364
|
+
"api": "type",
|
|
365
|
+
"fqn": "@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
366
|
+
},
|
|
367
|
+
"field": {
|
|
368
|
+
"field": "example"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"didCompile": true,
|
|
372
|
+
"fqnsReferenced": [
|
|
373
|
+
"@aws-cdk/aws-lambda-go-alpha.BundlingOptions",
|
|
374
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunction",
|
|
375
|
+
"@aws-cdk/aws-lambda-go-alpha.GoFunctionProps"
|
|
376
|
+
],
|
|
377
|
+
"fullSource": "// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { DockerImage, Stack } from 'aws-cdk-lib';\nimport * as lambda from '@aws-cdk/aws-lambda-go-alpha';\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\nnew lambda.GoFunction(this, 'handler', {\n entry: 'app/cmd/api',\n bundling: {\n goBuildFlags: ['-ldflags \"-s -w\"'],\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n",
|
|
378
|
+
"syntaxKindCounter": {
|
|
379
|
+
"10": 3,
|
|
380
|
+
"75": 5,
|
|
381
|
+
"104": 1,
|
|
382
|
+
"192": 1,
|
|
383
|
+
"193": 2,
|
|
384
|
+
"194": 1,
|
|
385
|
+
"197": 1,
|
|
386
|
+
"226": 1,
|
|
387
|
+
"281": 3
|
|
388
|
+
},
|
|
389
|
+
"fqnsFingerprint": "54f61b054f7936f371b3843f94f4538db195a4a076a65561e1c10f724e2cd398"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2018-
|
|
189
|
+
Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/NOTICE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
AWS Cloud Development Kit (AWS CDK)
|
|
2
|
-
Copyright 2018-
|
|
2
|
+
Copyright 2018-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
package/lib/function.js
CHANGED
|
@@ -67,5 +67,5 @@ class GoFunction extends lambda.Function {
|
|
|
67
67
|
}
|
|
68
68
|
exports.GoFunction = GoFunction;
|
|
69
69
|
_a = JSII_RTTI_SYMBOL_1;
|
|
70
|
-
GoFunction[_a] = { fqn: "@aws-cdk/aws-lambda-go-alpha.GoFunction", version: "2.
|
|
70
|
+
GoFunction[_a] = { fqn: "@aws-cdk/aws-lambda-go-alpha.GoFunction", version: "2.5.0-alpha.0" };
|
|
71
71
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb24uanMiLCJzb3VyY2V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kFBUSxDQUFDLE1BQU0sQ0FBQztnQkFDcEIsU0FBRyxLQUFLLENBQUMsUUFBUSxtQ0FBSSxFQUFFO2dCQUN2QixLQUFLO2dCQUNMLE9BQU87Z0JBQ1AsWUFBWTtnQkFDWixTQUFTO2FBQ1YsQ0FBQztZQUNGLE9BQU8sRUFBRSxXQUFXO1NBQ3JCLENBQUMsQ0FBQztLQUNKOztBQTdDSCxnQ0E4Q0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBmcyBmcm9tICdmcyc7XG5pbXBvcnQgKiBhcyBwYXRoIGZyb20gJ3BhdGgnO1xuaW1wb3J0ICogYXMgbGFtYmRhIGZyb20gJ2F3cy1jZGstbGliL2F3cy1sYW1iZGEnO1xuaW1wb3J0IHsgQ29uc3RydWN0IH0gZnJvbSAnY29uc3RydWN0cyc7XG5pbXBvcnQgeyBCdW5kbGluZyB9IGZyb20gJy4vYnVuZGxpbmcnO1xuaW1wb3J0IHsgQnVuZGxpbmdPcHRpb25zIH0gZnJvbSAnLi90eXBlcyc7XG5pbXBvcnQgeyBmaW5kVXAgfSBmcm9tICcuL3V0aWwnO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBpbnRlcmZhY2UgR29GdW5jdGlvblByb3BzIGV4dGVuZHMgbGFtYmRhLkZ1bmN0aW9uT3B0aW9ucyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGVudHJ5OiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IHJ1bnRpbWU/OiBsYW1iZGEuUnVudGltZTtcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IG1vZHVsZURpcj86IHN0cmluZztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgYnVuZGxpbmc/OiBCdW5kbGluZ09wdGlvbnM7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgR29GdW5jdGlvbiBleHRlbmRzIGxhbWJkYS5GdW5jdGlvbiB7XG4gIGNvbnN0cnVjdG9yKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIHByb3BzOiBHb0Z1bmN0aW9uUHJvcHMpIHtcbiAgICBpZiAocHJvcHMucnVudGltZSAmJiAocHJvcHMucnVudGltZS5mYW1pbHkgIT09IGxhbWJkYS5SdW50aW1lRmFtaWx5LkdPICYmIHByb3BzLnJ1bnRpbWUuZmFtaWx5ICE9IGxhbWJkYS5SdW50aW1lRmFtaWx5Lk9USEVSKSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdPbmx5IGBnb2AgYW5kIGBwcm92aWRlZGAgcnVudGltZXMgYXJlIHN1cHBvcnRlZC4nKTtcbiAgICB9XG5cbiAgICBjb25zdCBlbnRyeSA9IHBhdGgucmVzb2x2ZShwcm9wcy5lbnRyeSk7XG5cbiAgICAvLyBGaW5kIHRoZSBwcm9qZWN0IHJvb3RcbiAgICBsZXQgbW9kdWxlRGlyOi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ubW9kLiBQbGVhc2Ugc3BlY2lmeSBpdCB3aXRoIGBtb2R1bGVEaXJgLicpO1xuICAgICAgfVxuICAgICAgbW9kdWxlRGlyID0gbW9kRmlsZTtcbiAgICB9XG5cbiAgICBjb25zdCBydW50aW1lID0gcHJvcHMucnVudGltZSA/PyBsYW1iZGEuUnVudGltZS5QUk9WSURFRF9BTDI7XG4gICAgY29uc3QgYXJjaGl0ZWN0dXJlID0gcHJvcHMuYXJjaGl0ZWN0dXJlID8/IGxhbWJkYS5BcmNoaXRlY3R1cmUuWDg2XzY0O1xuXG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICAuLi5wcm9wcyxcbiAgICAgIHJ1bnRpbWUsXG4gICAgICBjb2RlOiBCdW5kbGluZy5idW5kbGUoe1xuICAgICAgICAuLi5wcm9wcy5idW5kbGluZyA/PyB7fSxcbiAgICAgICAgZW50cnksXG4gICAgICAgIHJ1bnRpbWUsXG4gICAgICAgIGFyY2hpdGVjdHVyZSxcbiAgICAgICAgbW9kdWxlRGlyLFxuICAgICAgfSksXG4gICAgICBoYW5kbGVyOiAnYm9vdHN0cmFwJywgLy8gc2V0dGluZyBuYW1lIHRvIGJvb3RzdHJhcCBzbyB0aGF0IHRoZSAncHJvdmlkZWQnIHJ1bnRpbWUgY2FuIGFsc28gYmUgdXNlZFxuICAgIH0pO1xuICB9XG59XG5cbiJdfQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-lambda-go-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0-alpha.0",
|
|
4
4
|
"description": "The CDK Construct Library for AWS Lambda in Golang",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -77,17 +77,17 @@
|
|
|
77
77
|
},
|
|
78
78
|
"license": "Apache-2.0",
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
81
|
-
"@aws-cdk/cdk-integ-tools": "2.
|
|
82
|
-
"@aws-cdk/pkglint": "2.
|
|
80
|
+
"@aws-cdk/cdk-build-tools": "2.5.0",
|
|
81
|
+
"@aws-cdk/cdk-integ-tools": "2.5.0",
|
|
82
|
+
"@aws-cdk/pkglint": "2.5.0",
|
|
83
83
|
"@types/jest": "^27.0.3",
|
|
84
|
-
"aws-cdk-lib": "2.
|
|
84
|
+
"aws-cdk-lib": "2.5.0",
|
|
85
85
|
"constructs": "^10.0.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {},
|
|
88
88
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"aws-cdk-lib": "^2.
|
|
90
|
+
"aws-cdk-lib": "^2.5.0",
|
|
91
91
|
"constructs": "^10.0.0"
|
|
92
92
|
},
|
|
93
93
|
"engines": {
|