Wondering what’s next for npm?Check out our public roadmap! »

    @c3reve/aws
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.0 • Public • Published

    @c3reve/aws

    installation

    npm install @c3reve/aws

    usage

    JavaScript

    const AWS = require('@c3reve/aws');
     
    AWS.setConfig({
      region: 'us-east-1'
    });

    TypeScript

    import * as AWS from '@c3reve/aws';
     
    AWS.setConfig({
      region: 'us-west-2'
    });

    SES

    this.ses = new AWS.SES({
      region: process.env.AWS_SES_REGION || 'us-west-2',
      sourceAddress: process.env.AWS_SES_SOURCE_ADDRESS,
      templatePath: join(__dirname, '../../assets/mail-template'),
    });
     
    this.ses.sendMailTemplate({ to: 'hoge@c3reve.co.jp' }, 'template.txt', { user: 'Taro' });

    Keywords

    none

    Install

    npm i @c3reve/aws

    DownloadsWeekly Downloads

    2

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    6.13 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar