Skip to main content

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

Project description

@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,
})

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reapit-cdk.active-ruleset-0.1.0.tar.gz (111.7 kB view hashes)

Uploaded Source

Built Distribution

reapit_cdk.active_ruleset-0.1.0-py3-none-any.whl (110.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page