gammarers.aws-rds-database-running-schedule-stack 2.1.3__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gammarers.aws-rds-database-running-schedule-stack might be problematic. Click here for more details.
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3/src/gammarers.aws_rds_database_running_schedule_stack.egg-info → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/PKG-INFO +1 -1
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/setup.py +2 -2
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers/aws_rds_database_running_schedule_stack/__init__.py +64 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py +2 -2
- gammarers_aws_rds_database_running_schedule_stack-2.2.1/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.2.1.jsii.tgz +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1/src/gammarers.aws_rds_database_running_schedule_stack.egg-info}/PKG-INFO +1 -1
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/SOURCES.txt +1 -1
- gammarers_aws_rds_database_running_schedule_stack-2.1.3/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.1.3.jsii.tgz +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/LICENSE +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/MANIFEST.in +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/README.md +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/pyproject.toml +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/setup.cfg +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers/aws_rds_database_running_schedule_stack/py.typed +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/dependency_links.txt +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/requires.txt +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.3 → gammarers_aws_rds_database_running_schedule_stack-2.2.1}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gammarers.aws-rds-database-running-schedule-stack
|
|
3
|
-
Version: 2.1
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: AWS RDS Database Running Scheduler
|
|
5
5
|
Home-page: https://github.com/gammarers/aws-rds-database-running-schedule-stack.git
|
|
6
6
|
Author: yicr<yicr@users.noreply.github.com>
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "gammarers.aws-rds-database-running-schedule-stack",
|
|
8
|
-
"version": "2.1
|
|
8
|
+
"version": "2.2.1",
|
|
9
9
|
"description": "AWS RDS Database Running Scheduler",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/gammarers/aws-rds-database-running-schedule-stack.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"gammarers.aws_rds_database_running_schedule_stack._jsii": [
|
|
29
|
-
"aws-rds-database-running-schedule-stack@2.1.
|
|
29
|
+
"aws-rds-database-running-schedule-stack@2.2.1.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"gammarers.aws_rds_database_running_schedule_stack": [
|
|
32
32
|
"py.typed"
|
|
@@ -132,6 +132,44 @@ import aws_cdk as _aws_cdk_ceddda9d
|
|
|
132
132
|
import constructs as _constructs_77d1e7e8
|
|
133
133
|
|
|
134
134
|
|
|
135
|
+
@jsii.data_type(
|
|
136
|
+
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.NotificationsProperty",
|
|
137
|
+
jsii_struct_bases=[],
|
|
138
|
+
name_mapping={"emails": "emails"},
|
|
139
|
+
)
|
|
140
|
+
class NotificationsProperty:
|
|
141
|
+
def __init__(
|
|
142
|
+
self,
|
|
143
|
+
*,
|
|
144
|
+
emails: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
145
|
+
) -> None:
|
|
146
|
+
'''
|
|
147
|
+
:param emails:
|
|
148
|
+
'''
|
|
149
|
+
if __debug__:
|
|
150
|
+
type_hints = typing.get_type_hints(_typecheckingstub__251a05c825e7beb6ddfd9ceb6b6c38129822252bd8cdfdc0c3fe1e576d3a4326)
|
|
151
|
+
check_type(argname="argument emails", value=emails, expected_type=type_hints["emails"])
|
|
152
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
153
|
+
if emails is not None:
|
|
154
|
+
self._values["emails"] = emails
|
|
155
|
+
|
|
156
|
+
@builtins.property
|
|
157
|
+
def emails(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
158
|
+
result = self._values.get("emails")
|
|
159
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
160
|
+
|
|
161
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
162
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
163
|
+
|
|
164
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
165
|
+
return not (rhs == self)
|
|
166
|
+
|
|
167
|
+
def __repr__(self) -> str:
|
|
168
|
+
return "NotificationsProperty(%s)" % ", ".join(
|
|
169
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
|
|
135
173
|
class RDSDatabaseRunningScheduleStack(
|
|
136
174
|
_aws_cdk_ceddda9d.Stack,
|
|
137
175
|
metaclass=jsii.JSIIMeta,
|
|
@@ -144,6 +182,7 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
144
182
|
*,
|
|
145
183
|
target_resource: typing.Union["TargetResourceProperty", typing.Dict[builtins.str, typing.Any]],
|
|
146
184
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
185
|
+
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
147
186
|
start_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
148
187
|
stop_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
149
188
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
@@ -162,6 +201,7 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
162
201
|
:param id: -
|
|
163
202
|
:param target_resource:
|
|
164
203
|
:param enable_scheduling:
|
|
204
|
+
:param notifications:
|
|
165
205
|
:param start_schedule:
|
|
166
206
|
:param stop_schedule:
|
|
167
207
|
:param analytics_reporting: Include runtime versioning information in this Stack. Default: ``analyticsReporting`` setting of containing ``App``, or value of 'aws:cdk:version-reporting' context key
|
|
@@ -182,6 +222,7 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
182
222
|
props = RDSDatabaseRunningScheduleStackProps(
|
|
183
223
|
target_resource=target_resource,
|
|
184
224
|
enable_scheduling=enable_scheduling,
|
|
225
|
+
notifications=notifications,
|
|
185
226
|
start_schedule=start_schedule,
|
|
186
227
|
stop_schedule=stop_schedule,
|
|
187
228
|
analytics_reporting=analytics_reporting,
|
|
@@ -215,6 +256,7 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
215
256
|
"termination_protection": "terminationProtection",
|
|
216
257
|
"target_resource": "targetResource",
|
|
217
258
|
"enable_scheduling": "enableScheduling",
|
|
259
|
+
"notifications": "notifications",
|
|
218
260
|
"start_schedule": "startSchedule",
|
|
219
261
|
"stop_schedule": "stopSchedule",
|
|
220
262
|
},
|
|
@@ -235,6 +277,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
235
277
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
236
278
|
target_resource: typing.Union["TargetResourceProperty", typing.Dict[builtins.str, typing.Any]],
|
|
237
279
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
280
|
+
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
238
281
|
start_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
239
282
|
stop_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
240
283
|
) -> None:
|
|
@@ -251,6 +294,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
251
294
|
:param termination_protection: Whether to enable termination protection for this stack. Default: false
|
|
252
295
|
:param target_resource:
|
|
253
296
|
:param enable_scheduling:
|
|
297
|
+
:param notifications:
|
|
254
298
|
:param start_schedule:
|
|
255
299
|
:param stop_schedule:
|
|
256
300
|
'''
|
|
@@ -258,6 +302,8 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
258
302
|
env = _aws_cdk_ceddda9d.Environment(**env)
|
|
259
303
|
if isinstance(target_resource, dict):
|
|
260
304
|
target_resource = TargetResourceProperty(**target_resource)
|
|
305
|
+
if isinstance(notifications, dict):
|
|
306
|
+
notifications = NotificationsProperty(**notifications)
|
|
261
307
|
if isinstance(start_schedule, dict):
|
|
262
308
|
start_schedule = ScheduleProperty(**start_schedule)
|
|
263
309
|
if isinstance(stop_schedule, dict):
|
|
@@ -276,6 +322,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
276
322
|
check_type(argname="argument termination_protection", value=termination_protection, expected_type=type_hints["termination_protection"])
|
|
277
323
|
check_type(argname="argument target_resource", value=target_resource, expected_type=type_hints["target_resource"])
|
|
278
324
|
check_type(argname="argument enable_scheduling", value=enable_scheduling, expected_type=type_hints["enable_scheduling"])
|
|
325
|
+
check_type(argname="argument notifications", value=notifications, expected_type=type_hints["notifications"])
|
|
279
326
|
check_type(argname="argument start_schedule", value=start_schedule, expected_type=type_hints["start_schedule"])
|
|
280
327
|
check_type(argname="argument stop_schedule", value=stop_schedule, expected_type=type_hints["stop_schedule"])
|
|
281
328
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
@@ -303,6 +350,8 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
303
350
|
self._values["termination_protection"] = termination_protection
|
|
304
351
|
if enable_scheduling is not None:
|
|
305
352
|
self._values["enable_scheduling"] = enable_scheduling
|
|
353
|
+
if notifications is not None:
|
|
354
|
+
self._values["notifications"] = notifications
|
|
306
355
|
if start_schedule is not None:
|
|
307
356
|
self._values["start_schedule"] = start_schedule
|
|
308
357
|
if stop_schedule is not None:
|
|
@@ -494,6 +543,11 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
494
543
|
result = self._values.get("enable_scheduling")
|
|
495
544
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
496
545
|
|
|
546
|
+
@builtins.property
|
|
547
|
+
def notifications(self) -> typing.Optional[NotificationsProperty]:
|
|
548
|
+
result = self._values.get("notifications")
|
|
549
|
+
return typing.cast(typing.Optional[NotificationsProperty], result)
|
|
550
|
+
|
|
497
551
|
@builtins.property
|
|
498
552
|
def start_schedule(self) -> typing.Optional["ScheduleProperty"]:
|
|
499
553
|
result = self._values.get("start_schedule")
|
|
@@ -640,6 +694,7 @@ class TargetResourceProperty:
|
|
|
640
694
|
|
|
641
695
|
|
|
642
696
|
__all__ = [
|
|
697
|
+
"NotificationsProperty",
|
|
643
698
|
"RDSDatabaseRunningScheduleStack",
|
|
644
699
|
"RDSDatabaseRunningScheduleStackProps",
|
|
645
700
|
"ScheduleProperty",
|
|
@@ -648,12 +703,20 @@ __all__ = [
|
|
|
648
703
|
|
|
649
704
|
publication.publish()
|
|
650
705
|
|
|
706
|
+
def _typecheckingstub__251a05c825e7beb6ddfd9ceb6b6c38129822252bd8cdfdc0c3fe1e576d3a4326(
|
|
707
|
+
*,
|
|
708
|
+
emails: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
709
|
+
) -> None:
|
|
710
|
+
"""Type checking stubs"""
|
|
711
|
+
pass
|
|
712
|
+
|
|
651
713
|
def _typecheckingstub__c1280dc248fa00837f0fd9aade32e57cf0658d41b8f0e88b4b04685819fded2e(
|
|
652
714
|
scope: _constructs_77d1e7e8.Construct,
|
|
653
715
|
id: builtins.str,
|
|
654
716
|
*,
|
|
655
717
|
target_resource: typing.Union[TargetResourceProperty, typing.Dict[builtins.str, typing.Any]],
|
|
656
718
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
719
|
+
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
657
720
|
start_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
658
721
|
stop_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
659
722
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
@@ -684,6 +747,7 @@ def _typecheckingstub__e3a02c77b05b4403ac204e4b21fbecf9f310b2adf40ef9f6754f8cde0
|
|
|
684
747
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
685
748
|
target_resource: typing.Union[TargetResourceProperty, typing.Dict[builtins.str, typing.Any]],
|
|
686
749
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
750
|
+
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
687
751
|
start_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
688
752
|
stop_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
689
753
|
) -> None:
|
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
35
|
"@gammarers/aws-rds-database-running-schedule-stack",
|
|
36
|
-
"2.1
|
|
36
|
+
"2.2.1",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"aws-rds-database-running-schedule-stack@2.1.
|
|
38
|
+
"aws-rds-database-running-schedule-stack@2.2.1.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gammarers.aws-rds-database-running-schedule-stack
|
|
3
|
-
Version: 2.1
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: AWS RDS Database Running Scheduler
|
|
5
5
|
Home-page: https://github.com/gammarers/aws-rds-database-running-schedule-stack.git
|
|
6
6
|
Author: yicr<yicr@users.noreply.github.com>
|
|
@@ -11,4 +11,4 @@ src/gammarers.aws_rds_database_running_schedule_stack.egg-info/top_level.txt
|
|
|
11
11
|
src/gammarers/aws_rds_database_running_schedule_stack/__init__.py
|
|
12
12
|
src/gammarers/aws_rds_database_running_schedule_stack/py.typed
|
|
13
13
|
src/gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py
|
|
14
|
-
src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.1.
|
|
14
|
+
src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.2.1.jsii.tgz
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|