@reapit-cdk/active-ruleset
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@reapit-cdk/active-ruleset

npm version npm downloads coverage: 99.02%25 Integ Tests: ✔

This construct returns the currently active SES receipt RuleSet, or creates one. This enables you to add rules to it.

Package Installation:

yarn add --dev @reapit-cdk/active-ruleset
# or
npm install @reapit-cdk/active-ruleset --save-dev

Usage

import { CfnOutput, Stack, App } from 'aws-cdk-lib'
import { ActiveRuleset } from '@reapit-cdk/active-ruleset'

const app = new App()
const stack = new Stack(app, 'stack-name')
const activeRuleset = new ActiveRuleset(stack, 'active-ruleset')
new CfnOutput(stack, 'activeRulesetName', {
  value: activeRuleset.receiptRuleSet.receiptRuleSetName,
})

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i @reapit-cdk/active-ruleset

    Weekly Downloads

    27

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    121 kB

    Total Files

    10

    Last publish

    Collaborators

    • joshbalfour