@aws-blocks/bb-email-client 0.1.3 → 0.1.5
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/dist/index.cdk.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +12 -3
- package/src/index.cdk.ts +1 -1
- package/src/version.ts +1 -1
package/dist/index.cdk.js
CHANGED
|
@@ -18,7 +18,7 @@ export class EmailClient extends Scope {
|
|
|
18
18
|
// 3. Include a link to the SES identity setup guide in the warning message
|
|
19
19
|
// Grant the Lambda handler permission to send emails
|
|
20
20
|
// Scoped to this account's SES identities rather than '*'
|
|
21
|
-
this.
|
|
21
|
+
this.executionRole.addToPrincipalPolicy(new PolicyStatement({
|
|
22
22
|
effect: Effect.ALLOW,
|
|
23
23
|
actions: [
|
|
24
24
|
'ses:SendEmail',
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-blocks/bb-email-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/aws-devtools-labs/aws-blocks.git",
|
|
7
|
+
"directory": "packages/bb-email-client"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/aws-devtools-labs/aws-blocks/tree/main/packages/bb-email-client#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/aws-devtools-labs/aws-blocks/issues"
|
|
12
|
+
},
|
|
4
13
|
"author": "Amazon Web Services",
|
|
5
14
|
"license": "Apache-2.0",
|
|
6
15
|
"type": "module",
|
|
@@ -29,8 +38,8 @@
|
|
|
29
38
|
"test": "node --test --test-concurrency=1 dist/*.test.js"
|
|
30
39
|
},
|
|
31
40
|
"dependencies": {
|
|
32
|
-
"@aws-blocks/core": "^0.
|
|
33
|
-
"@aws-blocks/bb-logger": "^0.1.
|
|
41
|
+
"@aws-blocks/core": "^0.3.0",
|
|
42
|
+
"@aws-blocks/bb-logger": "^0.1.5",
|
|
34
43
|
"@aws-sdk/client-sesv2": "^3.0.0"
|
|
35
44
|
},
|
|
36
45
|
"devDependencies": {
|
package/src/index.cdk.ts
CHANGED
|
@@ -31,7 +31,7 @@ export class EmailClient extends Scope {
|
|
|
31
31
|
|
|
32
32
|
// Grant the Lambda handler permission to send emails
|
|
33
33
|
// Scoped to this account's SES identities rather than '*'
|
|
34
|
-
this.
|
|
34
|
+
this.executionRole.addToPrincipalPolicy(new PolicyStatement({
|
|
35
35
|
effect: Effect.ALLOW,
|
|
36
36
|
actions: [
|
|
37
37
|
'ses:SendEmail',
|
package/src/version.ts
CHANGED