AWS RDS Database Running Scheduler
This is an AWS CDK Construct to make RDS Database running schedule (only running while working hours(start/stop)).
Fixed
- RDS Aurora Cluster
- RDS Instance
Resources
This construct creating resource list.
- EventBridge Scheduler execution role
- EventBridge Scheduler
Install
TypeScript
npm install aws-rds-database-running-scheduler
or
yarn add aws-rds-database-running-scheduler
Python
pip install aws-rds-database-running-scheduler
Example
npm install aws-rds-database-running-scheduler
import { RdsDatabaseRunningScheduler, Type } from 'aws-rds-database-running-scheduler';
new RdsDatabaseRunningScheduler(stack, 'RdsDatabaseRunningScheduler', {
type: Type.CLUSTER, // TYPE.CLUSTER or TYPE.INSTANCE
identifiers: {
['db-cluster-1a']: { // cluster identirier
startSchedule: {
timezone: 'Asia/Tokyo',
minute: '55',
hour: '8',
week: 'MON-FRI',
},
stopSchedule: {
timezone: 'Asia/Tokyo',
minute: '5',
hour: '19',
week: 'MON-FRI',
},
},
},
})
License
This project is licensed under the Apache-2.0 License.
Metadata
Release files for aws-rds-database-running-scheduler 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws-rds-database-running-scheduler-0.3.5.tar.gz | 33.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.0 kB
Release files / aws-rds-database-running-scheduler-0.3.5.tar.gz
| Download URL | aws-rds-database-running-scheduler-0.3.5.tar.gz |
|---|---|
| Size | 33.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42b0dab4e2544d2b657c02e286bcefce12ea0cdb57c0f475c10d9a8be47ee3ec
|
|
BLAKE2b-256 checksum How to use checksums |
5336f3a76ad29500dba80696ed2348f563075e1cb4c16d8f411b429b08a324cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl
| Download URL | aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd945e8ccfd93127ae9b421b427eb5a02c382c0addd5fd8cf0d8890a3ec44ee1
|
|
BLAKE2b-256 checksum How to use checksums |
39495c36dbcfd844f00cd12a96ada710940b2736ba87bb7aff0c3c55d1899559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|