@aws-cdk/aws-lambda-go-alpha 2.121.0-alpha.0 → 2.122.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 CHANGED
@@ -8,7 +8,7 @@
8
8
  "url": "https://aws.amazon.com"
9
9
  },
10
10
  "dependencies": {
11
- "aws-cdk-lib": "^2.121.0",
11
+ "aws-cdk-lib": "^2.122.0",
12
12
  "constructs": "^10.0.0"
13
13
  },
14
14
  "dependencyClosure": {
@@ -3663,7 +3663,7 @@
3663
3663
  "stability": "experimental"
3664
3664
  },
3665
3665
  "homepage": "https://github.com/aws/aws-cdk",
3666
- "jsiiVersion": "5.3.3 (build 720b620)",
3666
+ "jsiiVersion": "5.3.7 (build e512679)",
3667
3667
  "keywords": [
3668
3668
  "aws",
3669
3669
  "cdk",
@@ -4211,6 +4211,6 @@
4211
4211
  "symbolId": "lib/types:ICommandHooks"
4212
4212
  }
4213
4213
  },
4214
- "version": "2.121.0-alpha.0",
4214
+ "version": "2.122.0-alpha.0",
4215
4215
  "fingerprint": "**********"
4216
4216
  }
Binary file
package/.warnings.jsii.js CHANGED
@@ -17,6 +17,12 @@ function _aws_cdk_aws_lambda_go_alpha_GoFunctionProps(p) {
17
17
  for (const o of p.layers)
18
18
  if (!visitedObjects.has(o))
19
19
  require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_lambda_ILayerVersion(o);
20
+ if ("logRetention" in p)
21
+ print("aws-cdk-lib.aws_lambda.FunctionOptions#logRetention", "instead create a fully customizable log group with `logs.LogGroup` and use the `logGroup` property to instruct the Lambda function to send logs to it.\nMigrating from `logRetention` to `logGroup` will cause the name of the log group to change.\nUsers and code and referencing the name verbatim will have to adjust.\n\nIn AWS CDK code, you can access the log group name directly from the LogGroup construct:\n```ts\ndeclare const myLogGroup: logs.LogGroup;\nmyLogGroup.logGroupName;\n```");
22
+ if ("logRetentionRetryOptions" in p)
23
+ print("aws-cdk-lib.aws_lambda.FunctionOptions#logRetentionRetryOptions", "instead use `logGroup` to create a fully customizable log group and instruct the Lambda function to send logs to it.");
24
+ if ("logRetentionRole" in p)
25
+ print("aws-cdk-lib.aws_lambda.FunctionOptions#logRetentionRole", "instead use `logGroup` to create a fully customizable log group and instruct the Lambda function to send logs to it.");
20
26
  if (p.securityGroups != null)
21
27
  for (const o of p.securityGroups)
22
28
  if (!visitedObjects.has(o))
package/lib/function.js CHANGED
@@ -69,7 +69,7 @@ class GoFunction extends lambda.Function {
69
69
  }
70
70
  exports.GoFunction = GoFunction;
71
71
  _a = JSII_RTTI_SYMBOL_1;
72
- GoFunction[_a] = { fqn: "@aws-cdk/aws-lambda-go-alpha.GoFunction", version: "2.121.0-alpha.0" };
72
+ GoFunction[_a] = { fqn: "@aws-cdk/aws-lambda-go-alpha.GoFunction", version: "2.122.0-alpha.0" };
73
73
  /**
74
74
  * The address of the Google Go proxy
75
75
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/aws-lambda-go-alpha",
3
- "version": "2.121.0-alpha.0",
3
+ "version": "2.122.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,18 +77,18 @@
77
77
  },
78
78
  "license": "Apache-2.0",
79
79
  "devDependencies": {
80
- "@aws-cdk/cdk-build-tools": "2.121.0-alpha.0",
81
- "@aws-cdk/integ-runner": "2.121.0-alpha.0",
82
- "@aws-cdk/integ-tests-alpha": "2.121.0-alpha.0",
83
- "@aws-cdk/pkglint": "2.121.0-alpha.0",
80
+ "@aws-cdk/cdk-build-tools": "2.122.0-alpha.0",
81
+ "@aws-cdk/integ-runner": "2.122.0-alpha.0",
82
+ "@aws-cdk/integ-tests-alpha": "2.122.0-alpha.0",
83
+ "@aws-cdk/pkglint": "2.122.0-alpha.0",
84
84
  "@types/jest": "^29.5.11",
85
- "aws-cdk-lib": "2.121.0",
85
+ "aws-cdk-lib": "2.122.0",
86
86
  "constructs": "^10.0.0"
87
87
  },
88
88
  "dependencies": {},
89
89
  "homepage": "https://github.com/aws/aws-cdk",
90
90
  "peerDependencies": {
91
- "aws-cdk-lib": "^2.121.0",
91
+ "aws-cdk-lib": "^2.122.0",
92
92
  "constructs": "^10.0.0"
93
93
  },
94
94
  "engines": {