@pulumi/aws 5.25.0 → 5.26.0-alpha.1672264821
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/lambda/lambdaMixins.d.ts
CHANGED
|
@@ -23,23 +23,23 @@ export interface Context {
|
|
|
23
23
|
/**
|
|
24
24
|
* Name of the Lambda function that is executing.
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
functionName: string;
|
|
27
27
|
/**
|
|
28
28
|
* The Lambda function version that is executing. If an alias is used to invoke the function,
|
|
29
29
|
* then function_version will be the version the alias points to.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
functionVersion: string;
|
|
32
32
|
/**
|
|
33
33
|
* The ARN used to invoke this function. It can be a function ARN or an alias ARN. An
|
|
34
34
|
* unqualified ARN executes the $LATEST version and aliases execute the function version it is
|
|
35
35
|
* pointing to.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
invokedFunctionArn: string;
|
|
38
38
|
/**
|
|
39
39
|
* Memory limit, in MB, you configured for the Lambda function. You set the memory limit at the
|
|
40
40
|
* time you create a Lambda function and you can change it later.
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
memoryLimitInMB: string;
|
|
43
43
|
/**
|
|
44
44
|
* AWS request ID associated with the request. This is the ID returned to the client that called
|
|
45
45
|
* the invoke method.
|
|
@@ -47,11 +47,11 @@ export interface Context {
|
|
|
47
47
|
* If AWS Lambda retries the invocation (for example, in a situation where the Lambda function
|
|
48
48
|
* that is processing Kinesis records throws an exception), the request ID remains the same.
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
awsRequestId: string;
|
|
51
51
|
/**
|
|
52
52
|
* The name of the CloudWatch log group where you can find logs written by your Lambda function.
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
logGroupName: string;
|
|
55
55
|
/**
|
|
56
56
|
* The name of the CloudWatch log group where you can find logs written by your Lambda function.
|
|
57
57
|
* The log stream may or may not change for each invocation of the Lambda function.
|
|
@@ -60,17 +60,17 @@ export interface Context {
|
|
|
60
60
|
* if the execution role that grants necessary permissions to the Lambda function does not
|
|
61
61
|
* include permissions for the CloudWatch actions.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
logStreamName: string;
|
|
64
64
|
/**
|
|
65
65
|
* Information about the Amazon Cognito identity provider when invoked through the AWS Mobile
|
|
66
66
|
* SDK. It can be null.
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
identity?: any;
|
|
69
69
|
/**
|
|
70
70
|
* Information about the client application and device when invoked through the AWS Mobile SDK.
|
|
71
71
|
* It can be null.
|
|
72
72
|
*/
|
|
73
|
-
|
|
73
|
+
clientContext?: any;
|
|
74
74
|
/**
|
|
75
75
|
* Returns the approximate remaining execution time (before timeout occurs) of the Lambda
|
|
76
76
|
* function that is currently executing. The timeout is one of the Lambda function
|
|
@@ -79,7 +79,15 @@ export interface Context {
|
|
|
79
79
|
* You can use this method to check the remaining time during your function execution and take
|
|
80
80
|
* appropriate corrective action at run time.
|
|
81
81
|
*/
|
|
82
|
-
getRemainingTimeInMillis():
|
|
82
|
+
getRemainingTimeInMillis(): number;
|
|
83
|
+
/** @deprecated Use handler callback or promise result */
|
|
84
|
+
done(error?: Error, result?: any): void;
|
|
85
|
+
/** @deprecated Use handler callback with first argument or reject a promise result */
|
|
86
|
+
fail(error: Error | string): void;
|
|
87
|
+
/** @deprecated Use handler callback with second argument or resolve a promise result */
|
|
88
|
+
succeed(messageOrObject: any): void;
|
|
89
|
+
/** @deprecated Use handler callback or promise result */
|
|
90
|
+
succeed(message: string, object: any): void;
|
|
83
91
|
}
|
|
84
92
|
/**
|
|
85
93
|
* Callback is the signature for an AWS Lambda function entrypoint.
|
|
@@ -100,7 +108,7 @@ export interface Context {
|
|
|
100
108
|
* synchronous function must be provided. The synchronous function should return nothing, and
|
|
101
109
|
* should instead invoke 'callback' when complete.
|
|
102
110
|
*/
|
|
103
|
-
export type Callback<E, R> = (event: E, context: Context, callback: (error?:
|
|
111
|
+
export type Callback<E, R> = (event: E, context: Context, callback: (error?: Error | string | null, result?: R) => void) => Promise<R> | void;
|
|
104
112
|
/**
|
|
105
113
|
* CallbackFactory is the signature for a function that will be called once to produce the
|
|
106
114
|
* entrypoint function that AWS Lambda will invoke. It can be used to initialize expensive state
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lambdaMixins.js","sourceRoot":"","sources":["../../lambda/lambdaMixins.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,yCAAyC;AAGzC,8BAA8B;AAC9B,kCAAkC;AAElC,yCAAsE;AAEtE,wBAA4B;
|
|
1
|
+
{"version":3,"file":"lambdaMixins.js","sourceRoot":"","sources":["../../lambda/lambdaMixins.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;AAEjC,yCAAyC;AAGzC,8BAA8B;AAC9B,kCAAkC;AAElC,yCAAsE;AAEtE,wBAA4B;AAmN3B,CAAC;AAEF;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,iBAAiB;IAI3D,YACI,IAAY,EAAE,IAAY,EAAE,IAAsC;QAElE,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;CACJ;AATD,8CASC;AAED,SAAgB,cAAc,CAAC,GAAQ;IACnC,OAAO,mBAAc,CAAC,UAAU,CAAC,GAAG,CA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E;QACnE,IAAI,SAAS,GAA0B;YACnC,0CAA0C;YAC1C,CAAC,6BAA6B,GAAG,KAAK,CAAC,EAAE,IAAI,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,IAAI,CAAC;SACjG,CAAC;QAEF,+FAA+F;QAC/F,+FAA+F;QAC/F,YAAY;QACZ,eAAe,GAAG,eAAe,IAAI,EAAE,CAAC;QACxC,eAAe,CAAC,oBAAoB,GAAG,eAAe,CAAC,oBAAoB,IAAI,EAAE,CAAC;QAClF,eAAe,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAErD,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC;QAE3E,KAAK,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,WAAW,EAAE;YACrC,SAAS,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;SAC3B;QAED,OAAO,SAAS,CAAC;IACrB,CAAC;CAAA;AAED,MAAM,gBAAgB,GAAG;IACrB,SAAS,EAAE,YAAY;IACvB,WAAW,EAAE;QACT;YACI,QAAQ,EAAE,gBAAgB;YAC1B,WAAW,EAAE;gBACT,SAAS,EAAE,sBAAsB;aACpC;YACD,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,EAAE;SACZ;KACJ;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0-alpha.1672264821+01083e42",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws 5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws 5.26.0-alpha.1672264821+01083e42"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0-alpha.1672264821+01083e42",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws 5.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws 5.26.0-alpha.1672264821+01083e42"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0",
|
|
@@ -4,6 +4,7 @@ export declare const Runtime: {
|
|
|
4
4
|
*/
|
|
5
5
|
readonly DotnetCore2d1: "dotnetcore2.1";
|
|
6
6
|
readonly DotnetCore3d1: "dotnetcore3.1";
|
|
7
|
+
readonly Dotnet5d0: "dotnet5.0";
|
|
7
8
|
readonly Dotnet6: "dotnet6";
|
|
8
9
|
readonly Go1dx: "go1.x";
|
|
9
10
|
readonly Java8: "java8";
|
|
@@ -21,10 +22,14 @@ export declare const Runtime: {
|
|
|
21
22
|
readonly NodeJS12dX: "nodejs12.x";
|
|
22
23
|
readonly NodeJS14dX: "nodejs14.x";
|
|
23
24
|
readonly NodeJS16dX: "nodejs16.x";
|
|
25
|
+
readonly NodeJS18dX: "nodejs18.x";
|
|
24
26
|
/**
|
|
25
27
|
* @deprecated This runtime is now deprecated
|
|
26
28
|
*/
|
|
27
29
|
readonly Python2d7: "python2.7";
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated This runtime is now deprecated
|
|
32
|
+
*/
|
|
28
33
|
readonly Python3d6: "python3.6";
|
|
29
34
|
readonly Python3d7: "python3.7";
|
|
30
35
|
readonly Python3d8: "python3.8";
|
|
@@ -9,6 +9,7 @@ exports.Runtime = {
|
|
|
9
9
|
*/
|
|
10
10
|
DotnetCore2d1: "dotnetcore2.1",
|
|
11
11
|
DotnetCore3d1: "dotnetcore3.1",
|
|
12
|
+
Dotnet5d0: "dotnet5.0",
|
|
12
13
|
Dotnet6: "dotnet6",
|
|
13
14
|
Go1dx: "go1.x",
|
|
14
15
|
Java8: "java8",
|
|
@@ -26,10 +27,14 @@ exports.Runtime = {
|
|
|
26
27
|
NodeJS12dX: "nodejs12.x",
|
|
27
28
|
NodeJS14dX: "nodejs14.x",
|
|
28
29
|
NodeJS16dX: "nodejs16.x",
|
|
30
|
+
NodeJS18dX: "nodejs18.x",
|
|
29
31
|
/**
|
|
30
32
|
* @deprecated This runtime is now deprecated
|
|
31
33
|
*/
|
|
32
34
|
Python2d7: "python2.7",
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated This runtime is now deprecated
|
|
37
|
+
*/
|
|
33
38
|
Python3d6: "python3.6",
|
|
34
39
|
Python3d7: "python3.7",
|
|
35
40
|
Python3d8: "python3.8",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/lambda/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGpE,QAAA,OAAO,GAAG;IACnB;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,UAAU;IAClB,SAAS,EAAE,cAAc;CACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../types/enums/lambda/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGpE,QAAA,OAAO,GAAG;IACnB;;OAEG;IACH,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,UAAU;IAClB,SAAS,EAAE,cAAc;CACnB,CAAC"}
|