
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@gammarers/aws-rds-database-running-schedule-stack
Advanced tools
This AWS CDK Construct Stack controls the starting and stopping of RDS DB instances and clusters based on specified tags, ensuring they only run during working hours. It uses EventBridge Scheduler to trigger a StepFunctions State Machine at the start and end of the working hours(default 07:50(UTC) - 21:10(UTC)), which then starts or stops the databases depending on the mode.
[!WARNING] v2.3.0: Stack props add option resourceNamingOption default ResourceNamingType.DEFAULT is cdk generated name f you want to maintain compatibility with versions below
v2.3.0, please include the following settings (ResourceNamingType.AUTO).new RDSDatabaseRunningScheduleStack(app, 'RDSDatabaseRunningScheduleStack', { targetResource: { tagKey: 'WorkHoursRunning', tagValues: ['YES'], }, resourceNamingOption: { type: ResourceNamingType.AUTO, // HERE }, });
This construct creating resource list.
npm install @gammarers/aws-rds-database-running-schedule-stack
yarn add @gammarers/aws-rds-database-running-schedule-stack
pnpm add @gammarers/aws-rds-database-running-schedule-stack
bun add @gammarers/aws-rds-database-running-schedule-stack
pip install gammarers.aws-rds-database-running-schedule-stack
dotnet add package Gammarers.CDK.AWS.RdsDatabaseRunningScheduleStack
import { RDSDatabaseRunningScheduleStack, ResourceNamingType } from '@gammarer/aws-rds-database-running-schedule-stack';
new RDSDatabaseRunningScheduleStack(app, 'RDSDatabaseRunningScheduleStack', {
targetResource: {
tagKey: 'WorkHoursRunning', // already tagging to rds instance or cluster
tagValues: ['YES'], // already tagging to rds instance or cluster
},
enableScheduling: true,
startSchedule: {
timezone: 'Asia/Tokyo',
minute: '55',
hour: '8',
week: 'MON-FRI',
},
stopSchedule: {
timezone: 'Asia/Tokyo',
minute: '5',
hour: '19',
week: 'MON-FRI',
},
resourceNamingOption: {
type: ResourceNamingType.AUTO, // DEFAULT or AUTO or CUSTOM
},
notifications: {
emails: [ // "Incoming Sample Message - EMAIL"
'foo@example.com',
'bar@example.net',
],
slack: { // "Incoming Sample Message - EMAIL"
webhookSecretName: 'example/slack/webhook',
},
},
});


This project is licensed under the Apache-2.0 License.
FAQs
AWS RDS Database Running Scheduler
The npm package @gammarers/aws-rds-database-running-schedule-stack receives a total of 640 weekly downloads. As such, @gammarers/aws-rds-database-running-schedule-stack popularity was classified as not popular.
We found that @gammarers/aws-rds-database-running-schedule-stack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.