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 | Provenance | Actions |
|---|---|---|---|---|
| aws-rds-database-running-scheduler-0.3.5.tar.gz | 33.0 kB | Without provenance | Details for aws-rds-database-running-scheduler-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl |
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
|
Security for aws-rds-database-running-scheduler 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.