# 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
```shell
npm install aws-rds-database-running-scheduler
```
or
```shell
yarn add aws-rds-database-running-scheduler
```
### Python
```shell
pip install aws-rds-database-running-scheduler
```
## Example
```shell
npm install aws-rds-database-running-scheduler
```
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/yicr/aws-rds-database-running-scheduler.git",
"name": "aws-rds-database-running-scheduler",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "",
"author": "yicr<yicr@users.noreply.github.com>",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/53/36/f3a76ad29500dba80696ed2348f563075e1cb4c16d8f411b429b08a324cc/aws-rds-database-running-scheduler-0.3.5.tar.gz",
"platform": null,
"description": "# AWS RDS Database Running Scheduler\n\nThis is an AWS CDK Construct to make RDS Database running schedule (only running while working hours(start/stop)).\n\n## Fixed\n\n* RDS Aurora Cluster\n* RDS Instance\n\n## Resources\n\nThis construct creating resource list.\n\n* EventBridge Scheduler execution role\n* EventBridge Scheduler\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install aws-rds-database-running-scheduler\n```\n\nor\n\n```shell\nyarn add aws-rds-database-running-scheduler\n```\n\n### Python\n\n```shell\npip install aws-rds-database-running-scheduler\n```\n\n## Example\n\n```shell\nnpm install aws-rds-database-running-scheduler\n```\n\n```python\nimport { RdsDatabaseRunningScheduler, Type } from 'aws-rds-database-running-scheduler';\n\nnew RdsDatabaseRunningScheduler(stack, 'RdsDatabaseRunningScheduler', {\n type: Type.CLUSTER, // TYPE.CLUSTER or TYPE.INSTANCE\n identifiers: {\n ['db-cluster-1a']: { // cluster identirier\n startSchedule: {\n timezone: 'Asia/Tokyo',\n minute: '55',\n hour: '8',\n week: 'MON-FRI',\n },\n stopSchedule: {\n timezone: 'Asia/Tokyo',\n minute: '5',\n hour: '19',\n week: 'MON-FRI',\n },\n },\n },\n})\n```\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "AWS RDS Database Running Scheduler",
"version": "0.3.5",
"project_urls": {
"Homepage": "https://github.com/yicr/aws-rds-database-running-scheduler.git",
"Source": "https://github.com/yicr/aws-rds-database-running-scheduler.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "39495c36dbcfd844f00cd12a96ada710940b2736ba87bb7aff0c3c55d1899559",
"md5": "f40c80884605948cc8b3a53df860300c",
"sha256": "dd945e8ccfd93127ae9b421b427eb5a02c382c0addd5fd8cf0d8890a3ec44ee1"
},
"downloads": -1,
"filename": "aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f40c80884605948cc8b3a53df860300c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 31950,
"upload_time": "2023-07-17T19:16:52",
"upload_time_iso_8601": "2023-07-17T19:16:52.691238Z",
"url": "https://files.pythonhosted.org/packages/39/49/5c36dbcfd844f00cd12a96ada710940b2736ba87bb7aff0c3c55d1899559/aws_rds_database_running_scheduler-0.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5336f3a76ad29500dba80696ed2348f563075e1cb4c16d8f411b429b08a324cc",
"md5": "f799ac756d231ad29013973a5a7cd803",
"sha256": "42b0dab4e2544d2b657c02e286bcefce12ea0cdb57c0f475c10d9a8be47ee3ec"
},
"downloads": -1,
"filename": "aws-rds-database-running-scheduler-0.3.5.tar.gz",
"has_sig": false,
"md5_digest": "f799ac756d231ad29013973a5a7cd803",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 33042,
"upload_time": "2023-07-17T19:16:54",
"upload_time_iso_8601": "2023-07-17T19:16:54.077661Z",
"url": "https://files.pythonhosted.org/packages/53/36/f3a76ad29500dba80696ed2348f563075e1cb4c16d8f411b429b08a324cc/aws-rds-database-running-scheduler-0.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-17 19:16:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yicr",
"github_project": "aws-rds-database-running-scheduler",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aws-rds-database-running-scheduler"
}