All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gammarer.cdk.aws.rds_database_running_scheduler.package-info Maven / Gradle / Ivy

The newest version!
/**
 * GitHub
 * npm (scoped)
 * PyPI
 * Nuget
 * Sonatype Nexus (Releases)
 * GitHub Workflow Status (branch)
 * GitHub release (latest SemVer)
 * 

*

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;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy