Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gammarers/aws-rds-database-running-schedule-stack

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gammarers/aws-rds-database-running-schedule-stack - npm Package Compare versions

Comparing version 2.2.12 to 2.3.0

14

lib/index.d.ts

@@ -0,3 +1,16 @@

import { ResourceAutoNaming, ResourceDefaultNaming, ResourceNamingType } from '@gammarers/aws-resource-naming';
export { ResourceAutoNaming, ResourceDefaultNaming, ResourceNaming, ResourceNamingOptions, ResourceNamingType } from '@gammarers/aws-resource-naming';
import { Stack, StackProps } from 'aws-cdk-lib';
import { Construct } from 'constructs';
export interface CustomNaming {
readonly type: ResourceNamingType.CUSTOM;
readonly notificationTopicName: string;
readonly notificationTopicDisplayName: string;
readonly stateMachineName: string;
readonly stateMachineRoleName: string;
readonly schedulerRoleName: string;
readonly startScheduleName: string;
readonly stopScheduleName: string;
}
export type ResourceNamingOption = ResourceDefaultNaming | ResourceAutoNaming | CustomNaming;
export interface ScheduleProperty {

@@ -22,2 +35,3 @@ readonly timezone: string;

readonly notifications?: NotificationsProperty;
readonly resourceNamingOption?: ResourceNamingOption;
}

@@ -24,0 +38,0 @@ export declare class RDSDatabaseRunningScheduleStack extends Stack {

5

package.json

@@ -67,2 +67,5 @@ {

},
"dependencies": {
"@gammarers/aws-resource-naming": "^0.8.2"
},
"keywords": [

@@ -85,3 +88,3 @@ "aws",

},
"version": "2.2.12",
"version": "2.3.0",
"jest": {

@@ -88,0 +91,0 @@ "coverageProvider": "v8",

@@ -14,2 +14,20 @@ # AWS RDS Database Running Schedule Stack

> [!WARNING]
> v2.3.0:
> Stack props add option resourceNamingOption
> default ResourceNamingType.DEFAULT is cdk generated name
> f you want to maintain compatibility with versions below `v2.3.0`, please include the following settings (ResourceNamingType.AUTO).
> ```typescript
> new RDSDatabaseRunningScheduleStack(app, 'RDSDatabaseRunningScheduleStack', {
> targetResource: {
> tagKey: 'WorkHoursRunning',
> tagValues: ['YES'],
> },
> resourceNamingOption: {
> type: ResourceNamingType.AUTO, // HERE
> },
> });
> ```
## Fixed

@@ -92,2 +110,5 @@

},
resourceNamingOption: {
type: ResourceNamingType.AUTO, // DEFAULT or AUTO or CUSTOM
},
});

@@ -94,0 +115,0 @@

.jsii

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc