gammarers.aws-rds-database-running-schedule-stack 2.5.3__py3-none-any.whl → 2.8.3__py3-none-any.whl
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.
- gammarers/aws_rds_database_running_schedule_stack/__init__.py +155 -24
- gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py +2 -2
- gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.8.3.jsii.tgz +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info → gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info}/METADATA +8 -8
- gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/RECORD +9 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info → gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info}/WHEEL +1 -1
- gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.5.3.jsii.tgz +0 -0
- gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/RECORD +0 -9
- {gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info → gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info}/LICENSE +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info → gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info}/top_level.txt +0 -0
|
@@ -169,10 +169,51 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
169
169
|
from ._jsii import *
|
|
170
170
|
|
|
171
171
|
import aws_cdk as _aws_cdk_ceddda9d
|
|
172
|
+
import aws_cdk.aws_stepfunctions as _aws_cdk_aws_stepfunctions_ceddda9d
|
|
172
173
|
import constructs as _constructs_77d1e7e8
|
|
173
174
|
import gammarers.aws_resource_naming as _gammarers_aws_resource_naming_22f917da
|
|
174
175
|
|
|
175
176
|
|
|
177
|
+
@jsii.data_type(
|
|
178
|
+
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.LogOption",
|
|
179
|
+
jsii_struct_bases=[],
|
|
180
|
+
name_mapping={"machine_log_level": "machineLogLevel"},
|
|
181
|
+
)
|
|
182
|
+
class LogOption:
|
|
183
|
+
def __init__(
|
|
184
|
+
self,
|
|
185
|
+
*,
|
|
186
|
+
machine_log_level: typing.Optional["_aws_cdk_aws_stepfunctions_ceddda9d.LogLevel"] = None,
|
|
187
|
+
) -> None:
|
|
188
|
+
'''
|
|
189
|
+
:param machine_log_level:
|
|
190
|
+
'''
|
|
191
|
+
if __debug__:
|
|
192
|
+
type_hints = typing.get_type_hints(_typecheckingstub__861cb66dd60b1e140ff0caf62dd14995aff531d001d0ee1b1a7859df175faf26)
|
|
193
|
+
check_type(argname="argument machine_log_level", value=machine_log_level, expected_type=type_hints["machine_log_level"])
|
|
194
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
195
|
+
if machine_log_level is not None:
|
|
196
|
+
self._values["machine_log_level"] = machine_log_level
|
|
197
|
+
|
|
198
|
+
@builtins.property
|
|
199
|
+
def machine_log_level(
|
|
200
|
+
self,
|
|
201
|
+
) -> typing.Optional["_aws_cdk_aws_stepfunctions_ceddda9d.LogLevel"]:
|
|
202
|
+
result = self._values.get("machine_log_level")
|
|
203
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_stepfunctions_ceddda9d.LogLevel"], result)
|
|
204
|
+
|
|
205
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
206
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
207
|
+
|
|
208
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
209
|
+
return not (rhs == self)
|
|
210
|
+
|
|
211
|
+
def __repr__(self) -> str:
|
|
212
|
+
return "LogOption(%s)" % ", ".join(
|
|
213
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
|
|
176
217
|
@jsii.data_type(
|
|
177
218
|
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.Notifications",
|
|
178
219
|
jsii_struct_bases=[],
|
|
@@ -230,23 +271,25 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
230
271
|
):
|
|
231
272
|
def __init__(
|
|
232
273
|
self,
|
|
233
|
-
scope: _constructs_77d1e7e8.Construct,
|
|
274
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
234
275
|
id: builtins.str,
|
|
235
276
|
*,
|
|
236
277
|
target_resource: typing.Union["TargetResource", typing.Dict[builtins.str, typing.Any]],
|
|
237
278
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
238
|
-
|
|
239
|
-
|
|
279
|
+
log_option: typing.Optional[typing.Union["LogOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
280
|
+
notifications: typing.Optional[typing.Union["Notifications", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
281
|
+
resource_naming_option: typing.Optional[typing.Union[typing.Union["ResourceCustomNaming", typing.Dict[builtins.str, typing.Any]], typing.Union["_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming", typing.Dict[builtins.str, typing.Any]], typing.Union["_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
240
282
|
start_schedule: typing.Optional[typing.Union["Schedule", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
241
283
|
stop_schedule: typing.Optional[typing.Union["Schedule", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
284
|
+
timeout_option: typing.Optional[typing.Union["TimeoutOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
242
285
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
243
286
|
cross_region_references: typing.Optional[builtins.bool] = None,
|
|
244
287
|
description: typing.Optional[builtins.str] = None,
|
|
245
|
-
env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
246
|
-
permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
|
|
288
|
+
env: typing.Optional[typing.Union["_aws_cdk_ceddda9d.Environment", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
289
|
+
permissions_boundary: typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"] = None,
|
|
247
290
|
stack_name: typing.Optional[builtins.str] = None,
|
|
248
291
|
suppress_template_indentation: typing.Optional[builtins.bool] = None,
|
|
249
|
-
synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
|
|
292
|
+
synthesizer: typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"] = None,
|
|
250
293
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
251
294
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
252
295
|
) -> None:
|
|
@@ -255,10 +298,12 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
255
298
|
:param id: -
|
|
256
299
|
:param target_resource:
|
|
257
300
|
:param enable_scheduling:
|
|
301
|
+
:param log_option:
|
|
258
302
|
:param notifications:
|
|
259
303
|
:param resource_naming_option:
|
|
260
304
|
:param start_schedule:
|
|
261
305
|
:param stop_schedule:
|
|
306
|
+
:param timeout_option:
|
|
262
307
|
: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
|
|
263
308
|
:param cross_region_references: Enable this flag to allow native cross region stack references. Enabling this will create a CloudFormation custom resource in both the producing stack and consuming stack in order to perform the export/import This feature is currently experimental Default: false
|
|
264
309
|
:param description: A description of the stack. Default: - No description.
|
|
@@ -277,10 +322,12 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
277
322
|
props = RDSDatabaseRunningScheduleStackProps(
|
|
278
323
|
target_resource=target_resource,
|
|
279
324
|
enable_scheduling=enable_scheduling,
|
|
325
|
+
log_option=log_option,
|
|
280
326
|
notifications=notifications,
|
|
281
327
|
resource_naming_option=resource_naming_option,
|
|
282
328
|
start_schedule=start_schedule,
|
|
283
329
|
stop_schedule=stop_schedule,
|
|
330
|
+
timeout_option=timeout_option,
|
|
284
331
|
analytics_reporting=analytics_reporting,
|
|
285
332
|
cross_region_references=cross_region_references,
|
|
286
333
|
description=description,
|
|
@@ -312,10 +359,12 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
312
359
|
"termination_protection": "terminationProtection",
|
|
313
360
|
"target_resource": "targetResource",
|
|
314
361
|
"enable_scheduling": "enableScheduling",
|
|
362
|
+
"log_option": "logOption",
|
|
315
363
|
"notifications": "notifications",
|
|
316
364
|
"resource_naming_option": "resourceNamingOption",
|
|
317
365
|
"start_schedule": "startSchedule",
|
|
318
366
|
"stop_schedule": "stopSchedule",
|
|
367
|
+
"timeout_option": "timeoutOption",
|
|
319
368
|
},
|
|
320
369
|
)
|
|
321
370
|
class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
@@ -325,19 +374,21 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
325
374
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
326
375
|
cross_region_references: typing.Optional[builtins.bool] = None,
|
|
327
376
|
description: typing.Optional[builtins.str] = None,
|
|
328
|
-
env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
329
|
-
permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
|
|
377
|
+
env: typing.Optional[typing.Union["_aws_cdk_ceddda9d.Environment", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
378
|
+
permissions_boundary: typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"] = None,
|
|
330
379
|
stack_name: typing.Optional[builtins.str] = None,
|
|
331
380
|
suppress_template_indentation: typing.Optional[builtins.bool] = None,
|
|
332
|
-
synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
|
|
381
|
+
synthesizer: typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"] = None,
|
|
333
382
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
334
383
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
335
384
|
target_resource: typing.Union["TargetResource", typing.Dict[builtins.str, typing.Any]],
|
|
336
385
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
337
|
-
|
|
338
|
-
|
|
386
|
+
log_option: typing.Optional[typing.Union["LogOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
387
|
+
notifications: typing.Optional[typing.Union["Notifications", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
388
|
+
resource_naming_option: typing.Optional[typing.Union[typing.Union["ResourceCustomNaming", typing.Dict[builtins.str, typing.Any]], typing.Union["_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming", typing.Dict[builtins.str, typing.Any]], typing.Union["_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
339
389
|
start_schedule: typing.Optional[typing.Union["Schedule", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
340
390
|
stop_schedule: typing.Optional[typing.Union["Schedule", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
391
|
+
timeout_option: typing.Optional[typing.Union["TimeoutOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
341
392
|
) -> None:
|
|
342
393
|
'''
|
|
343
394
|
: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
|
|
@@ -352,21 +403,27 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
352
403
|
:param termination_protection: Whether to enable termination protection for this stack. Default: false
|
|
353
404
|
:param target_resource:
|
|
354
405
|
:param enable_scheduling:
|
|
406
|
+
:param log_option:
|
|
355
407
|
:param notifications:
|
|
356
408
|
:param resource_naming_option:
|
|
357
409
|
:param start_schedule:
|
|
358
410
|
:param stop_schedule:
|
|
411
|
+
:param timeout_option:
|
|
359
412
|
'''
|
|
360
413
|
if isinstance(env, dict):
|
|
361
414
|
env = _aws_cdk_ceddda9d.Environment(**env)
|
|
362
415
|
if isinstance(target_resource, dict):
|
|
363
416
|
target_resource = TargetResource(**target_resource)
|
|
417
|
+
if isinstance(log_option, dict):
|
|
418
|
+
log_option = LogOption(**log_option)
|
|
364
419
|
if isinstance(notifications, dict):
|
|
365
420
|
notifications = Notifications(**notifications)
|
|
366
421
|
if isinstance(start_schedule, dict):
|
|
367
422
|
start_schedule = Schedule(**start_schedule)
|
|
368
423
|
if isinstance(stop_schedule, dict):
|
|
369
424
|
stop_schedule = Schedule(**stop_schedule)
|
|
425
|
+
if isinstance(timeout_option, dict):
|
|
426
|
+
timeout_option = TimeoutOption(**timeout_option)
|
|
370
427
|
if __debug__:
|
|
371
428
|
type_hints = typing.get_type_hints(_typecheckingstub__e3a02c77b05b4403ac204e4b21fbecf9f310b2adf40ef9f6754f8cde04bbb117)
|
|
372
429
|
check_type(argname="argument analytics_reporting", value=analytics_reporting, expected_type=type_hints["analytics_reporting"])
|
|
@@ -381,10 +438,12 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
381
438
|
check_type(argname="argument termination_protection", value=termination_protection, expected_type=type_hints["termination_protection"])
|
|
382
439
|
check_type(argname="argument target_resource", value=target_resource, expected_type=type_hints["target_resource"])
|
|
383
440
|
check_type(argname="argument enable_scheduling", value=enable_scheduling, expected_type=type_hints["enable_scheduling"])
|
|
441
|
+
check_type(argname="argument log_option", value=log_option, expected_type=type_hints["log_option"])
|
|
384
442
|
check_type(argname="argument notifications", value=notifications, expected_type=type_hints["notifications"])
|
|
385
443
|
check_type(argname="argument resource_naming_option", value=resource_naming_option, expected_type=type_hints["resource_naming_option"])
|
|
386
444
|
check_type(argname="argument start_schedule", value=start_schedule, expected_type=type_hints["start_schedule"])
|
|
387
445
|
check_type(argname="argument stop_schedule", value=stop_schedule, expected_type=type_hints["stop_schedule"])
|
|
446
|
+
check_type(argname="argument timeout_option", value=timeout_option, expected_type=type_hints["timeout_option"])
|
|
388
447
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
389
448
|
"target_resource": target_resource,
|
|
390
449
|
}
|
|
@@ -410,6 +469,8 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
410
469
|
self._values["termination_protection"] = termination_protection
|
|
411
470
|
if enable_scheduling is not None:
|
|
412
471
|
self._values["enable_scheduling"] = enable_scheduling
|
|
472
|
+
if log_option is not None:
|
|
473
|
+
self._values["log_option"] = log_option
|
|
413
474
|
if notifications is not None:
|
|
414
475
|
self._values["notifications"] = notifications
|
|
415
476
|
if resource_naming_option is not None:
|
|
@@ -418,6 +479,8 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
418
479
|
self._values["start_schedule"] = start_schedule
|
|
419
480
|
if stop_schedule is not None:
|
|
420
481
|
self._values["stop_schedule"] = stop_schedule
|
|
482
|
+
if timeout_option is not None:
|
|
483
|
+
self._values["timeout_option"] = timeout_option
|
|
421
484
|
|
|
422
485
|
@builtins.property
|
|
423
486
|
def analytics_reporting(self) -> typing.Optional[builtins.bool]:
|
|
@@ -455,7 +518,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
455
518
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
456
519
|
|
|
457
520
|
@builtins.property
|
|
458
|
-
def env(self) -> typing.Optional[_aws_cdk_ceddda9d.Environment]:
|
|
521
|
+
def env(self) -> typing.Optional["_aws_cdk_ceddda9d.Environment"]:
|
|
459
522
|
'''The AWS environment (account/region) where this stack will be deployed.
|
|
460
523
|
|
|
461
524
|
Set the ``region``/``account`` fields of ``env`` to either a concrete value to
|
|
@@ -522,18 +585,18 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
522
585
|
new MyStack(app, 'Stack1');
|
|
523
586
|
'''
|
|
524
587
|
result = self._values.get("env")
|
|
525
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Environment], result)
|
|
588
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Environment"], result)
|
|
526
589
|
|
|
527
590
|
@builtins.property
|
|
528
591
|
def permissions_boundary(
|
|
529
592
|
self,
|
|
530
|
-
) -> typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary]:
|
|
593
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"]:
|
|
531
594
|
'''Options for applying a permissions boundary to all IAM Roles and Users created within this Stage.
|
|
532
595
|
|
|
533
596
|
:default: - no permissions boundary is applied
|
|
534
597
|
'''
|
|
535
598
|
result = self._values.get("permissions_boundary")
|
|
536
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary], result)
|
|
599
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"], result)
|
|
537
600
|
|
|
538
601
|
@builtins.property
|
|
539
602
|
def stack_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -558,7 +621,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
558
621
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
559
622
|
|
|
560
623
|
@builtins.property
|
|
561
|
-
def synthesizer(self) -> typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer]:
|
|
624
|
+
def synthesizer(self) -> typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"]:
|
|
562
625
|
'''Synthesis method to use while deploying this stack.
|
|
563
626
|
|
|
564
627
|
The Stack Synthesizer controls aspects of synthesis and deployment,
|
|
@@ -574,7 +637,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
574
637
|
:default: - The synthesizer specified on ``App``, or ``DefaultStackSynthesizer`` otherwise.
|
|
575
638
|
'''
|
|
576
639
|
result = self._values.get("synthesizer")
|
|
577
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer], result)
|
|
640
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"], result)
|
|
578
641
|
|
|
579
642
|
@builtins.property
|
|
580
643
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -606,16 +669,21 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
606
669
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
607
670
|
|
|
608
671
|
@builtins.property
|
|
609
|
-
def
|
|
672
|
+
def log_option(self) -> typing.Optional["LogOption"]:
|
|
673
|
+
result = self._values.get("log_option")
|
|
674
|
+
return typing.cast(typing.Optional["LogOption"], result)
|
|
675
|
+
|
|
676
|
+
@builtins.property
|
|
677
|
+
def notifications(self) -> typing.Optional["Notifications"]:
|
|
610
678
|
result = self._values.get("notifications")
|
|
611
|
-
return typing.cast(typing.Optional[Notifications], result)
|
|
679
|
+
return typing.cast(typing.Optional["Notifications"], result)
|
|
612
680
|
|
|
613
681
|
@builtins.property
|
|
614
682
|
def resource_naming_option(
|
|
615
683
|
self,
|
|
616
|
-
) -> typing.Optional[typing.Union["ResourceCustomNaming", _gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, _gammarers_aws_resource_naming_22f917da.ResourceAutoNaming]]:
|
|
684
|
+
) -> typing.Optional[typing.Union["ResourceCustomNaming", "_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming", "_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming"]]:
|
|
617
685
|
result = self._values.get("resource_naming_option")
|
|
618
|
-
return typing.cast(typing.Optional[typing.Union["ResourceCustomNaming", _gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, _gammarers_aws_resource_naming_22f917da.ResourceAutoNaming]], result)
|
|
686
|
+
return typing.cast(typing.Optional[typing.Union["ResourceCustomNaming", "_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming", "_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming"]], result)
|
|
619
687
|
|
|
620
688
|
@builtins.property
|
|
621
689
|
def start_schedule(self) -> typing.Optional["Schedule"]:
|
|
@@ -627,6 +695,11 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
627
695
|
result = self._values.get("stop_schedule")
|
|
628
696
|
return typing.cast(typing.Optional["Schedule"], result)
|
|
629
697
|
|
|
698
|
+
@builtins.property
|
|
699
|
+
def timeout_option(self) -> typing.Optional["TimeoutOption"]:
|
|
700
|
+
result = self._values.get("timeout_option")
|
|
701
|
+
return typing.cast(typing.Optional["TimeoutOption"], result)
|
|
702
|
+
|
|
630
703
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
631
704
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
632
705
|
|
|
@@ -664,7 +737,7 @@ class ResourceCustomNaming:
|
|
|
664
737
|
state_machine_name: builtins.str,
|
|
665
738
|
state_machine_role_name: builtins.str,
|
|
666
739
|
stop_schedule_name: builtins.str,
|
|
667
|
-
type: _gammarers_aws_resource_naming_22f917da.ResourceNamingType,
|
|
740
|
+
type: "_gammarers_aws_resource_naming_22f917da.ResourceNamingType",
|
|
668
741
|
) -> None:
|
|
669
742
|
'''
|
|
670
743
|
:param notification_topic_display_name:
|
|
@@ -740,10 +813,10 @@ class ResourceCustomNaming:
|
|
|
740
813
|
return typing.cast(builtins.str, result)
|
|
741
814
|
|
|
742
815
|
@builtins.property
|
|
743
|
-
def type(self) -> _gammarers_aws_resource_naming_22f917da.ResourceNamingType:
|
|
816
|
+
def type(self) -> "_gammarers_aws_resource_naming_22f917da.ResourceNamingType":
|
|
744
817
|
result = self._values.get("type")
|
|
745
818
|
assert result is not None, "Required property 'type' is missing"
|
|
746
|
-
return typing.cast(_gammarers_aws_resource_naming_22f917da.ResourceNamingType, result)
|
|
819
|
+
return typing.cast("_gammarers_aws_resource_naming_22f917da.ResourceNamingType", result)
|
|
747
820
|
|
|
748
821
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
749
822
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -915,7 +988,46 @@ class TargetResource:
|
|
|
915
988
|
)
|
|
916
989
|
|
|
917
990
|
|
|
991
|
+
@jsii.data_type(
|
|
992
|
+
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.TimeoutOption",
|
|
993
|
+
jsii_struct_bases=[],
|
|
994
|
+
name_mapping={"state_machine_timeout": "stateMachineTimeout"},
|
|
995
|
+
)
|
|
996
|
+
class TimeoutOption:
|
|
997
|
+
def __init__(
|
|
998
|
+
self,
|
|
999
|
+
*,
|
|
1000
|
+
state_machine_timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
1001
|
+
) -> None:
|
|
1002
|
+
'''
|
|
1003
|
+
:param state_machine_timeout:
|
|
1004
|
+
'''
|
|
1005
|
+
if __debug__:
|
|
1006
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c51306d5b5e2b8439addb6ff60d0da376b46562daaca900a243f30d792aad9ab)
|
|
1007
|
+
check_type(argname="argument state_machine_timeout", value=state_machine_timeout, expected_type=type_hints["state_machine_timeout"])
|
|
1008
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
1009
|
+
if state_machine_timeout is not None:
|
|
1010
|
+
self._values["state_machine_timeout"] = state_machine_timeout
|
|
1011
|
+
|
|
1012
|
+
@builtins.property
|
|
1013
|
+
def state_machine_timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
1014
|
+
result = self._values.get("state_machine_timeout")
|
|
1015
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
1016
|
+
|
|
1017
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1018
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1019
|
+
|
|
1020
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1021
|
+
return not (rhs == self)
|
|
1022
|
+
|
|
1023
|
+
def __repr__(self) -> str:
|
|
1024
|
+
return "TimeoutOption(%s)" % ", ".join(
|
|
1025
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1026
|
+
)
|
|
1027
|
+
|
|
1028
|
+
|
|
918
1029
|
__all__ = [
|
|
1030
|
+
"LogOption",
|
|
919
1031
|
"Notifications",
|
|
920
1032
|
"RDSDatabaseRunningScheduleStack",
|
|
921
1033
|
"RDSDatabaseRunningScheduleStackProps",
|
|
@@ -923,10 +1035,18 @@ __all__ = [
|
|
|
923
1035
|
"Schedule",
|
|
924
1036
|
"Slack",
|
|
925
1037
|
"TargetResource",
|
|
1038
|
+
"TimeoutOption",
|
|
926
1039
|
]
|
|
927
1040
|
|
|
928
1041
|
publication.publish()
|
|
929
1042
|
|
|
1043
|
+
def _typecheckingstub__861cb66dd60b1e140ff0caf62dd14995aff531d001d0ee1b1a7859df175faf26(
|
|
1044
|
+
*,
|
|
1045
|
+
machine_log_level: typing.Optional[_aws_cdk_aws_stepfunctions_ceddda9d.LogLevel] = None,
|
|
1046
|
+
) -> None:
|
|
1047
|
+
"""Type checking stubs"""
|
|
1048
|
+
pass
|
|
1049
|
+
|
|
930
1050
|
def _typecheckingstub__9263a5e99a8d2d6d95de03296670142a536b53c0f26d3bf3148db2380e5cd7fd(
|
|
931
1051
|
*,
|
|
932
1052
|
emails: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -941,10 +1061,12 @@ def _typecheckingstub__c1280dc248fa00837f0fd9aade32e57cf0658d41b8f0e88b4b0468581
|
|
|
941
1061
|
*,
|
|
942
1062
|
target_resource: typing.Union[TargetResource, typing.Dict[builtins.str, typing.Any]],
|
|
943
1063
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
1064
|
+
log_option: typing.Optional[typing.Union[LogOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
944
1065
|
notifications: typing.Optional[typing.Union[Notifications, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
945
1066
|
resource_naming_option: typing.Optional[typing.Union[typing.Union[ResourceCustomNaming, typing.Dict[builtins.str, typing.Any]], typing.Union[_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, typing.Dict[builtins.str, typing.Any]], typing.Union[_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
946
1067
|
start_schedule: typing.Optional[typing.Union[Schedule, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
947
1068
|
stop_schedule: typing.Optional[typing.Union[Schedule, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1069
|
+
timeout_option: typing.Optional[typing.Union[TimeoutOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
948
1070
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
949
1071
|
cross_region_references: typing.Optional[builtins.bool] = None,
|
|
950
1072
|
description: typing.Optional[builtins.str] = None,
|
|
@@ -973,10 +1095,12 @@ def _typecheckingstub__e3a02c77b05b4403ac204e4b21fbecf9f310b2adf40ef9f6754f8cde0
|
|
|
973
1095
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
974
1096
|
target_resource: typing.Union[TargetResource, typing.Dict[builtins.str, typing.Any]],
|
|
975
1097
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
1098
|
+
log_option: typing.Optional[typing.Union[LogOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
976
1099
|
notifications: typing.Optional[typing.Union[Notifications, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
977
1100
|
resource_naming_option: typing.Optional[typing.Union[typing.Union[ResourceCustomNaming, typing.Dict[builtins.str, typing.Any]], typing.Union[_gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, typing.Dict[builtins.str, typing.Any]], typing.Union[_gammarers_aws_resource_naming_22f917da.ResourceAutoNaming, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
978
1101
|
start_schedule: typing.Optional[typing.Union[Schedule, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
979
1102
|
stop_schedule: typing.Optional[typing.Union[Schedule, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1103
|
+
timeout_option: typing.Optional[typing.Union[TimeoutOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
980
1104
|
) -> None:
|
|
981
1105
|
"""Type checking stubs"""
|
|
982
1106
|
pass
|
|
@@ -1019,3 +1143,10 @@ def _typecheckingstub__192bfa0133591042d61f7c1a7f90b1b3ecc87a45a8b8683ab7ea2019d
|
|
|
1019
1143
|
) -> None:
|
|
1020
1144
|
"""Type checking stubs"""
|
|
1021
1145
|
pass
|
|
1146
|
+
|
|
1147
|
+
def _typecheckingstub__c51306d5b5e2b8439addb6ff60d0da376b46562daaca900a243f30d792aad9ab(
|
|
1148
|
+
*,
|
|
1149
|
+
state_machine_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
1150
|
+
) -> None:
|
|
1151
|
+
"""Type checking stubs"""
|
|
1152
|
+
pass
|
|
@@ -35,9 +35,9 @@ import gammarers.aws_sns_slack_message_lambda_subscription._jsii
|
|
|
35
35
|
|
|
36
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
37
37
|
"@gammarers/aws-rds-database-running-schedule-stack",
|
|
38
|
-
"2.
|
|
38
|
+
"2.8.3",
|
|
39
39
|
__name__[0:-6],
|
|
40
|
-
"aws-rds-database-running-schedule-stack@2.
|
|
40
|
+
"aws-rds-database-running-schedule-stack@2.8.3.jsii.tgz",
|
|
41
41
|
)
|
|
42
42
|
|
|
43
43
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gammarers.aws-rds-database-running-schedule-stack
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.3
|
|
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>
|
|
@@ -19,13 +19,13 @@ Classifier: License :: OSI Approved
|
|
|
19
19
|
Requires-Python: ~=3.9
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.120.0
|
|
23
|
-
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
24
|
-
Requires-Dist: gammarers.aws-resource-naming<0.11.0,>=0.10.1
|
|
25
|
-
Requires-Dist: gammarers.aws-sns-slack-message-lambda-subscription<0.3.0,>=0.2.4
|
|
26
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
27
|
-
Requires-Dist: publication>=0.0.3
|
|
28
|
-
Requires-Dist: typeguard
|
|
22
|
+
Requires-Dist: aws-cdk-lib <3.0.0,>=2.120.0
|
|
23
|
+
Requires-Dist: constructs <11.0.0,>=10.0.5
|
|
24
|
+
Requires-Dist: gammarers.aws-resource-naming <0.11.0,>=0.10.1
|
|
25
|
+
Requires-Dist: gammarers.aws-sns-slack-message-lambda-subscription <0.3.0,>=0.2.4
|
|
26
|
+
Requires-Dist: jsii <2.0.0,>=1.125.0
|
|
27
|
+
Requires-Dist: publication >=0.0.3
|
|
28
|
+
Requires-Dist: typeguard ==2.13.3
|
|
29
29
|
|
|
30
30
|
# AWS RDS Database Running Schedule Stack
|
|
31
31
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
gammarers/aws_rds_database_running_schedule_stack/__init__.py,sha256=qUAT3Qq-lLiPkifeZDMyg2ZS4NBwSG4XauH8HYQELYo,58293
|
|
2
|
+
gammarers/aws_rds_database_running_schedule_stack/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py,sha256=6R6bGn4M5B-hZZHiZDAWjK2f4-oGPv2uaaMU-5l13Vw,1621
|
|
4
|
+
gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.8.3.jsii.tgz,sha256=lBDong6Ts0_S4HI9dxgjzqdY4dS8UF8mu8w1kdbnL_c,206216
|
|
5
|
+
gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/METADATA,sha256=ewPzmbNpzKEesxuKkCOAD0sRGK-8ea_mdjkO3ZZ_4iA,5768
|
|
7
|
+
gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/WHEEL,sha256=WnJ8fYhv8N4SYVK2lLYNI6N0kVATA7b0piVUNvqIIJE,91
|
|
8
|
+
gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
9
|
+
gammarers_aws_rds_database_running_schedule_stack-2.8.3.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
gammarers/aws_rds_database_running_schedule_stack/__init__.py,sha256=_PfmPV_PYKOF11sFBfjaaP1lkfbrwBCgJ_IJC7t9gCk,52390
|
|
2
|
-
gammarers/aws_rds_database_running_schedule_stack/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py,sha256=b-2xUDN-9CrbxlbE8btHnjsgboWquftWRTbb08shMTM,1621
|
|
4
|
-
gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.5.3.jsii.tgz,sha256=Lh1bg495Gj2_fyKotil8cwEXuMzXtuQQQhIxzpEawmU,204270
|
|
5
|
-
gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
-
gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/METADATA,sha256=adny1XpEreKNasENn43GKEcLc4JgEewg8YMIz8U-HSc,5768
|
|
7
|
-
gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
8
|
-
gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
9
|
-
gammarers_aws_rds_database_running_schedule_stack-2.5.3.dist-info/RECORD,,
|
|
File without changes
|