@gammarers/aws-rds-database-running-schedule-stack
Advanced tools
Comparing version 2.2.12 to 2.3.0
@@ -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 { |
@@ -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 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280782
398
122
3
+ Added@aws-cdk/asset-awscli-v1@2.2.213(transitive)
+ Added@gammarers/aws-resource-naming@0.8.3(transitive)
+ Addedaws-cdk-lib@2.171.0(transitive)
- Removed@aws-cdk/asset-awscli-v1@2.2.212(transitive)
- Removedaws-cdk-lib@2.170.0(transitive)