Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gammarers/aws-rds-database-auto-running-protection-stack
This constructor stack includes a function to automatically stop a database or cluster that will automatically start in 7 days.
https://github.com/gammarers/aws-rds-database-auto-running-protection-stack
auto aws aws-cdk cdk rds stop
Last synced: about 2 months ago
JSON representation
This constructor stack includes a function to automatically stop a database or cluster that will automatically start in 7 days.
- Host: GitHub
- URL: https://github.com/gammarers/aws-rds-database-auto-running-protection-stack
- Owner: gammarers
- License: apache-2.0
- Created: 2023-08-22T06:25:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-18T04:36:31.000Z (3 months ago)
- Last Synced: 2024-10-19T09:56:50.511Z (3 months ago)
- Topics: auto, aws, aws-cdk, cdk, rds, stop
- Language: TypeScript
- Homepage:
- Size: 1.27 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS RDS Database Auto Running Protection Stack
[![GitHub](https://img.shields.io/github/license/gammarers/aws-rds-database-auto-running-protection-stack?style=flat-square)](https://github.com/gammarers/aws-rds-database-auto-running-protection-stack/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@gammarers/aws-rds-database-auto-running-protection-stack?style=flat-square)](https://www.npmjs.com/package/@gammarers/aws-rds-database-auto-running-protection-stack)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/gammarers/aws-rds-database-auto-running-protection-stack/release.yml?branch=main&label=release&style=flat-square)](https://github.com/gammarers/aws-rds-database-auto-running-protection-stack/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/gammarers/aws-rds-database-auto-running-protection-stack?sort=semver&style=flat-square)](https://github.com/gammarers/aws-rds-database-auto-running-protection-stack/releases)[![View on Construct Hub](https://constructs.dev/badge?package=@gammarers/aws-rds-database-auto-running-protection-stack)](https://constructs.dev/packages/@gammarers/aws-rds-database-auto-running-protection-stack)
This constructor stack includes a function to automatically stop a database or cluster that will automatically start in 7 days.
## Resources
This construct creating resource list.
- StepFunctions(StateMachine)
- IAM Role (StepFunctions)
- IAM Policy (StepFunctions)
- EventBridge
- IAM Role (EventBridge)## Install
### TypeScript
#### install by npm
```shell
npm install @gammarers/aws-rds-database-auto-running-protection-stack
```#### install by yarn
```shell
yarn add @gammarers/aws-rds-database-auto-running-protection-stack
```#### install by pnpm
```shell
pnpm add @gammarers/aws-rds-database-auto-running-protection-stack
```#### install by bun
```shell
bun add @gammarers/aws-rds-database-auto-running-protection-stack
```## Example
```typescript
import { RDSDatabaseAutoRunningProtectionStack } from '@gammarers/aws-rds-database-auto-running-protection-stack';new RDSDatabaseAutoRunningProtectionStack(app, 'RDSDatabaseAutoRunningProtectionStack', {
stackName: 'rds-database-auto-running-protection-stack',
targetResource: {
tagKey: 'AutoRunningProtection',
tagValues: ['YES'],
},
});```
## License
This project is licensed under the Apache-2.0 License.