@gammarers/aws-rds-database-auto-running-protection-stack
v2.0.5
Published
This construct is aws rds database or cluster auto running to stop.
Downloads
441
Readme
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
npm install @gammarers/aws-rds-database-auto-running-protection-stack
install by yarn
yarn add @gammarers/aws-rds-database-auto-running-protection-stack
install by pnpm
pnpm add @gammarers/aws-rds-database-auto-running-protection-stack
install by bun
bun add @gammarers/aws-rds-database-auto-running-protection-stack
Example
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.