• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

silvermine / cloudformation-custom-resources / 25378473900

05 May 2026 01:12PM UTC coverage: 0.0%. Remained the same
25378473900

push

github

web-flow
Merge pull request #29 from MrMarCode/MrMarCode/upgrade-node-24

Mr mar code/upgrade node 24

0 of 117 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 270 new or added lines in 6 files covered. (0.0%)

6 existing lines in 3 files now uncovered.

0 of 356 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/SimpleEmailServiceDomainVerification.js
1
'use strict';
2

NEW
3
const _ = require('underscore'),
×
NEW
4
      BaseResource = require('./BaseResource');
×
5

6
const {
7
   SESClient,
8
   VerifyDomainIdentityCommand,
9
   DeleteIdentityCommand,
NEW
10
} = require('@aws-sdk/client-ses');
×
11

NEW
12
const ses = new SESClient({});
×
13

14
class SimpleEmailServiceDomainVerification extends BaseResource {
15

16
   async doCreate(props) {
NEW
17
      const resp = await ses.send(new VerifyDomainIdentityCommand(_.pick(props, 'Domain')));
×
18

NEW
19
      return { PhysicalResourceId: props.Domain, VerificationToken: resp.VerificationToken };
×
20
   }
21

22
   async doDelete(resourceID) {
NEW
23
      await ses.send(new DeleteIdentityCommand({ Identity: resourceID }));
×
24

NEW
25
      return { PhysicalResourceId: resourceID };
×
26
   }
27

28
   async doUpdate(resourceID, props, oldProps) {
NEW
29
      await this.doDelete(oldProps.Domain);
×
30

NEW
31
      return this.doCreate(props);
×
32
   }
33

34
}
35

NEW
36
module.exports = SimpleEmailServiceDomainVerification;
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc