Package: ses-verify-identities
@seeebiii/ses-verify-identitiesThis package provides two constructs helping you to verify identities inAWS SESusing theAWS CDK.For more information about verifying identities in AWS SES,read the documentation.Installnpmnpmi-D@seeebiii/ses-verify-identitiesSee more details on npmjs.com:https://www.npmjs.com/package/@seeebiii/ses-verify-identitiesMaven<dependency><groupId>de.sebastianhesse.cdk-constructs</groupId><artifactId>ses-verify-identities</artifactId><version>4.0.2</version></dependency>See more details on mvnrepository.com:https://mvnrepository.com/artifact/de.sebastianhesse.cdk-constructs/ses-verify-identities/Pythonpipinstallses-verify-identitiesSee 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/UsageExamples below are based on TypeScript.
SeeAPI.mdfor a full reference.Verify a DomainnewVerifySesDomain(this,'SesDomainVerification',{domainName:'example.org'});OptionsdomainNameA domain name to be used for the SES domain identity, e.g. 'example.org'hostedZoneNameA hosted zone name to be matched with a Route 53 record, e.g. 'example.org'. Default: same asdomainName.addTxtRecordWhether 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.addMxRecordWhether 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.addDkimRecordWhether 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.notificationTopicAn 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 provided notification types.notificationTypesSelect for which notification types you want to configure a topic. Default:[Bounce, Complaint].removalPolicySet aRemovalPolicyif you want to retain the resources. Default:DESTROYVerify an Email AddressnewVerifySesEmailAddress(this,'SesEmailVerification',{emailAddress:'hello@example.org'});OptionsemailAddressThe email address to be verified, e.g.hello@example.org.regionAn optional AWS region to validate the email address. Default: The custom resource will be created in the stack region.removalPolicySet aRemovalPolicyif you want to retain the resources. Default:DESTROYContributingI'm happy to receive any contributions!
Just open an issue or pull request :)These commands should help you while developing:npx projeninitprojenand synthesize changes in.projenrc.jsto the projectyarn buildcompile typescript to jsyarn watchwatch for changes and compileyarn testperform the jest unit testsyarn eslintvalidate code against best practicesAuthorSebastian Hesse- Freelancer for serverless cloud projects on AWS.LicenseMIT LicenseCopyright (c) 2022Sebastian HessePermission 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.