com.gammarer.cdk.aws.rds_database_running_scheduler.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-rds-database-running-scheduler Show documentation
Show all versions of aws-rds-database-running-scheduler Show documentation
AWS RDS Database Running Scheduler
The newest version!
/**
*
*
*
*
*
*
*
*
*
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 @gammarer/aws-rds-database-running-scheduler
* # or
* yarn add @gammarer/aws-rds-database-running-scheduler
*
*
*
Python
*
*
* pip install gammarer.aws-rds-database-running-scheduler
*
*
*
C# / .NET
*
*
* dotnet add package Gammarer.CDK.AWS.RdsDatabaseRunningScheduler
*
*
*
Java
*
* Add the following to pom.xml:
*
*
* <dependency>
* <groupId>com.gammarer</groupId>
* <artifactId>aws-rds-database-running-scheduler</artifactId>
* </dependency>
*
*
*
Example
*
*
* import { RdsDatabaseRunningScheduler, DatabaseType } from '@gammarer/aws-rds-database-running-scheduler';
*
* new RdsDatabaseRunningScheduler(stack, 'RdsDatabaseRunningScheduler', {
* targets: [
* {
* type: DatabaseType.CLUSTER,
* identifiers: ['db-cluster-1a'],
* startSchedule: {
* timezone: 'UTC',
* },
* stopSchedule: {
* timezone: 'UTC',
* },
* },
* {
* type: DatabaseType.INSTANCE,
* identifiers: ['db-instance-1a'],
* startSchedule: {
* timezone: 'UTC',
* },
* stopSchedule: {
* timezone: 'UTC',
* },
* },
* ],
* });)
*
*
*
License
*
* This project is licensed under the Apache-2.0 License.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
package com.gammarer.cdk.aws.rds_database_running_scheduler;