Coder Social home page Coder Social logo

meatherly / ses-verify-identities Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seeebiii/ses-verify-identities

0.0 0.0 0.0 1.92 MB

AWS CDK constructs to verify SES identities like domains and email addresses.

License: MIT License

JavaScript 14.51% TypeScript 85.49%

ses-verify-identities's Introduction

@seeebiii/ses-verify-identities

This package provides two constructs helping you to verify identities in AWS SES using the AWS CDK.

For more information about verifying identities in AWS SES, read the documentation.

Install

npm

npm i -D @seeebiii/ses-verify-identities

See more details on npmjs.com: https://www.npmjs.com/package/@seeebiii/ses-verify-identities

Maven

<dependency>
  <groupId>de.sebastianhesse.cdk-constructs</groupId>
  <artifactId>ses-verify-identities</artifactId>
  <version>3.0.3</version>
</dependency>

See more details on mvnrepository.com: https://mvnrepository.com/artifact/de.sebastianhesse.cdk-constructs/ses-verify-identities/

Python

pip install ses-verify-identities

See more details on PyPi: https://pypi.org/project/ses-verify-identities/

Dotnet / C#

You can find the details here: https://www.nuget.org/packages/Ses.Verify.Identities/

Usage

Examples below are based on TypeScript. See API.md for a full reference.

Verify a Domain

new VerifySesDomain(this, 'SesDomainVerification', {
  domainName: 'example.org'
});

Options

  • domainName A domain name to be used for the SES domain identity, e.g. 'example.org'
  • addTxtRecord Whether to automatically add a TXT record to the hosed zone of your domain. This only works if your domain is managed by Route53. Otherwise disable it. Default: true.
  • addMxRecord Whether to automatically add a MX record to the hosted zone of your domain. This only works if your domain is managed by Route53. Otherwise disable it. Default: true.
  • addDkimRecord Whether to automatically add DKIM records to the hosted zone of your domain. This only works if your domain is managed by Route53. Otherwise disable it. Default: true.
  • notificationTopic An SNS topic where bounces, complaints or delivery notifications can be sent to. If none is provided, a new topic will be created and used for all different notification types.
  • notificationTypes Select for which notification types you want to configure a topic. Default: [Bounce, Complaint].

Verify an Email Address

new VerifySesEmailAddress(this, 'SesEmailVerification', {
  emailAddress: '[email protected]'
});

Options

Contributing

I'm happy to receive any contributions! Just open an issue or pull request :)

These commands should help you while developing:

  • npx projen synthesize changes in .projenrc.js to the project
  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • npm run lint validate code against best practices

Author

Sebastian Hesse - Freelancer for serverless cloud projects on AWS.

License

MIT License

Copyright (c) 2020 Sebastian Hesse

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ses-verify-identities's People

Contributors

charles-salmon avatar dependabot[bot] avatar github-actions[bot] avatar seeebiii avatar voro2038 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.