@gradientedge/cdk-utils 9.23.0 → 9.24.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.
|
@@ -163,8 +163,8 @@ class LambdaWithIamAccess extends common_1.CommonConstruct {
|
|
|
163
163
|
new aws_iam_1.PolicyStatement({
|
|
164
164
|
actions: ['lambda:InvokeFunction'],
|
|
165
165
|
resources: [
|
|
166
|
-
|
|
167
|
-
`${
|
|
166
|
+
`${this.lambdaFunction.functionArn}:${alias.aliasName}`,
|
|
167
|
+
`${this.lambdaFunction.functionArn}:${alias.aliasName}*`,
|
|
168
168
|
],
|
|
169
169
|
}),
|
|
170
170
|
],
|
package/package.json
CHANGED
|
@@ -209,10 +209,8 @@ export class LambdaWithIamAccess extends CommonConstruct {
|
|
|
209
209
|
new PolicyStatement({
|
|
210
210
|
actions: ['lambda:InvokeFunction'],
|
|
211
211
|
resources: [
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
),
|
|
215
|
-
`${Fn.importValue(`${this.id}-${this.props.stage}-${_.camelCase(`${this.id}Lambda-${alias.aliasName}`)}AliasArn`)}*`,
|
|
212
|
+
`${this.lambdaFunction.functionArn}:${alias.aliasName}`,
|
|
213
|
+
`${this.lambdaFunction.functionArn}:${alias.aliasName}*`,
|
|
216
214
|
],
|
|
217
215
|
}),
|
|
218
216
|
],
|