gammarers.aws-rds-database-running-schedule-stack 2.3.11__py3-none-any.whl → 2.4.1__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.
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/__init__.py +196 -140
- gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py +3 -2
- gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.4.1.jsii.tgz +0 -0
- {gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info → gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info}/METADATA +2 -1
- gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/RECORD +9 -0
- gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.3.11.jsii.tgz +0 -0
- gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/RECORD +0 -9
- {gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info → gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info}/LICENSE +0 -0
- {gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info → gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info}/WHEEL +0 -0
- {gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info → gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info}/top_level.txt +0 -0
|
@@ -154,150 +154,44 @@ import constructs as _constructs_77d1e7e8
|
|
|
154
154
|
import gammarers.aws_resource_naming as _gammarers_aws_resource_naming_22f917da
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
@jsii.data_type(
|
|
158
|
-
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.CustomNaming",
|
|
159
|
-
jsii_struct_bases=[],
|
|
160
|
-
name_mapping={
|
|
161
|
-
"notification_topic_display_name": "notificationTopicDisplayName",
|
|
162
|
-
"notification_topic_name": "notificationTopicName",
|
|
163
|
-
"scheduler_role_name": "schedulerRoleName",
|
|
164
|
-
"start_schedule_name": "startScheduleName",
|
|
165
|
-
"state_machine_name": "stateMachineName",
|
|
166
|
-
"state_machine_role_name": "stateMachineRoleName",
|
|
167
|
-
"stop_schedule_name": "stopScheduleName",
|
|
168
|
-
"type": "type",
|
|
169
|
-
},
|
|
170
|
-
)
|
|
171
|
-
class CustomNaming:
|
|
172
|
-
def __init__(
|
|
173
|
-
self,
|
|
174
|
-
*,
|
|
175
|
-
notification_topic_display_name: builtins.str,
|
|
176
|
-
notification_topic_name: builtins.str,
|
|
177
|
-
scheduler_role_name: builtins.str,
|
|
178
|
-
start_schedule_name: builtins.str,
|
|
179
|
-
state_machine_name: builtins.str,
|
|
180
|
-
state_machine_role_name: builtins.str,
|
|
181
|
-
stop_schedule_name: builtins.str,
|
|
182
|
-
type: _gammarers_aws_resource_naming_22f917da.ResourceNamingType,
|
|
183
|
-
) -> None:
|
|
184
|
-
'''
|
|
185
|
-
:param notification_topic_display_name:
|
|
186
|
-
:param notification_topic_name:
|
|
187
|
-
:param scheduler_role_name:
|
|
188
|
-
:param start_schedule_name:
|
|
189
|
-
:param state_machine_name:
|
|
190
|
-
:param state_machine_role_name:
|
|
191
|
-
:param stop_schedule_name:
|
|
192
|
-
:param type:
|
|
193
|
-
'''
|
|
194
|
-
if __debug__:
|
|
195
|
-
type_hints = typing.get_type_hints(_typecheckingstub__bc6db5a15616ecf5d03a994e1e18a8dc960a3e7c1b808221a2f79d29d1f2c27c)
|
|
196
|
-
check_type(argname="argument notification_topic_display_name", value=notification_topic_display_name, expected_type=type_hints["notification_topic_display_name"])
|
|
197
|
-
check_type(argname="argument notification_topic_name", value=notification_topic_name, expected_type=type_hints["notification_topic_name"])
|
|
198
|
-
check_type(argname="argument scheduler_role_name", value=scheduler_role_name, expected_type=type_hints["scheduler_role_name"])
|
|
199
|
-
check_type(argname="argument start_schedule_name", value=start_schedule_name, expected_type=type_hints["start_schedule_name"])
|
|
200
|
-
check_type(argname="argument state_machine_name", value=state_machine_name, expected_type=type_hints["state_machine_name"])
|
|
201
|
-
check_type(argname="argument state_machine_role_name", value=state_machine_role_name, expected_type=type_hints["state_machine_role_name"])
|
|
202
|
-
check_type(argname="argument stop_schedule_name", value=stop_schedule_name, expected_type=type_hints["stop_schedule_name"])
|
|
203
|
-
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
204
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
205
|
-
"notification_topic_display_name": notification_topic_display_name,
|
|
206
|
-
"notification_topic_name": notification_topic_name,
|
|
207
|
-
"scheduler_role_name": scheduler_role_name,
|
|
208
|
-
"start_schedule_name": start_schedule_name,
|
|
209
|
-
"state_machine_name": state_machine_name,
|
|
210
|
-
"state_machine_role_name": state_machine_role_name,
|
|
211
|
-
"stop_schedule_name": stop_schedule_name,
|
|
212
|
-
"type": type,
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
@builtins.property
|
|
216
|
-
def notification_topic_display_name(self) -> builtins.str:
|
|
217
|
-
result = self._values.get("notification_topic_display_name")
|
|
218
|
-
assert result is not None, "Required property 'notification_topic_display_name' is missing"
|
|
219
|
-
return typing.cast(builtins.str, result)
|
|
220
|
-
|
|
221
|
-
@builtins.property
|
|
222
|
-
def notification_topic_name(self) -> builtins.str:
|
|
223
|
-
result = self._values.get("notification_topic_name")
|
|
224
|
-
assert result is not None, "Required property 'notification_topic_name' is missing"
|
|
225
|
-
return typing.cast(builtins.str, result)
|
|
226
|
-
|
|
227
|
-
@builtins.property
|
|
228
|
-
def scheduler_role_name(self) -> builtins.str:
|
|
229
|
-
result = self._values.get("scheduler_role_name")
|
|
230
|
-
assert result is not None, "Required property 'scheduler_role_name' is missing"
|
|
231
|
-
return typing.cast(builtins.str, result)
|
|
232
|
-
|
|
233
|
-
@builtins.property
|
|
234
|
-
def start_schedule_name(self) -> builtins.str:
|
|
235
|
-
result = self._values.get("start_schedule_name")
|
|
236
|
-
assert result is not None, "Required property 'start_schedule_name' is missing"
|
|
237
|
-
return typing.cast(builtins.str, result)
|
|
238
|
-
|
|
239
|
-
@builtins.property
|
|
240
|
-
def state_machine_name(self) -> builtins.str:
|
|
241
|
-
result = self._values.get("state_machine_name")
|
|
242
|
-
assert result is not None, "Required property 'state_machine_name' is missing"
|
|
243
|
-
return typing.cast(builtins.str, result)
|
|
244
|
-
|
|
245
|
-
@builtins.property
|
|
246
|
-
def state_machine_role_name(self) -> builtins.str:
|
|
247
|
-
result = self._values.get("state_machine_role_name")
|
|
248
|
-
assert result is not None, "Required property 'state_machine_role_name' is missing"
|
|
249
|
-
return typing.cast(builtins.str, result)
|
|
250
|
-
|
|
251
|
-
@builtins.property
|
|
252
|
-
def stop_schedule_name(self) -> builtins.str:
|
|
253
|
-
result = self._values.get("stop_schedule_name")
|
|
254
|
-
assert result is not None, "Required property 'stop_schedule_name' is missing"
|
|
255
|
-
return typing.cast(builtins.str, result)
|
|
256
|
-
|
|
257
|
-
@builtins.property
|
|
258
|
-
def type(self) -> _gammarers_aws_resource_naming_22f917da.ResourceNamingType:
|
|
259
|
-
result = self._values.get("type")
|
|
260
|
-
assert result is not None, "Required property 'type' is missing"
|
|
261
|
-
return typing.cast(_gammarers_aws_resource_naming_22f917da.ResourceNamingType, result)
|
|
262
|
-
|
|
263
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
264
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
265
|
-
|
|
266
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
267
|
-
return not (rhs == self)
|
|
268
|
-
|
|
269
|
-
def __repr__(self) -> str:
|
|
270
|
-
return "CustomNaming(%s)" % ", ".join(
|
|
271
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
272
|
-
)
|
|
273
|
-
|
|
274
|
-
|
|
275
157
|
@jsii.data_type(
|
|
276
158
|
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.NotificationsProperty",
|
|
277
159
|
jsii_struct_bases=[],
|
|
278
|
-
name_mapping={"emails": "emails"},
|
|
160
|
+
name_mapping={"emails": "emails", "slack": "slack"},
|
|
279
161
|
)
|
|
280
162
|
class NotificationsProperty:
|
|
281
163
|
def __init__(
|
|
282
164
|
self,
|
|
283
165
|
*,
|
|
284
166
|
emails: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
167
|
+
slack: typing.Optional[typing.Union["Slack", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
285
168
|
) -> None:
|
|
286
169
|
'''
|
|
287
170
|
:param emails:
|
|
171
|
+
:param slack:
|
|
288
172
|
'''
|
|
173
|
+
if isinstance(slack, dict):
|
|
174
|
+
slack = Slack(**slack)
|
|
289
175
|
if __debug__:
|
|
290
176
|
type_hints = typing.get_type_hints(_typecheckingstub__251a05c825e7beb6ddfd9ceb6b6c38129822252bd8cdfdc0c3fe1e576d3a4326)
|
|
291
177
|
check_type(argname="argument emails", value=emails, expected_type=type_hints["emails"])
|
|
178
|
+
check_type(argname="argument slack", value=slack, expected_type=type_hints["slack"])
|
|
292
179
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
293
180
|
if emails is not None:
|
|
294
181
|
self._values["emails"] = emails
|
|
182
|
+
if slack is not None:
|
|
183
|
+
self._values["slack"] = slack
|
|
295
184
|
|
|
296
185
|
@builtins.property
|
|
297
186
|
def emails(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
298
187
|
result = self._values.get("emails")
|
|
299
188
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
300
189
|
|
|
190
|
+
@builtins.property
|
|
191
|
+
def slack(self) -> typing.Optional["Slack"]:
|
|
192
|
+
result = self._values.get("slack")
|
|
193
|
+
return typing.cast(typing.Optional["Slack"], result)
|
|
194
|
+
|
|
301
195
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
302
196
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
303
197
|
|
|
@@ -323,7 +217,7 @@ class RDSDatabaseRunningScheduleStack(
|
|
|
323
217
|
target_resource: typing.Union["TargetResourceProperty", typing.Dict[builtins.str, typing.Any]],
|
|
324
218
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
325
219
|
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
326
|
-
resource_naming_option: typing.Optional[typing.Union[typing.Union[
|
|
220
|
+
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,
|
|
327
221
|
start_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
328
222
|
stop_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
329
223
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
@@ -422,7 +316,7 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
422
316
|
target_resource: typing.Union["TargetResourceProperty", typing.Dict[builtins.str, typing.Any]],
|
|
423
317
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
424
318
|
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
425
|
-
resource_naming_option: typing.Optional[typing.Union[typing.Union[
|
|
319
|
+
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,
|
|
426
320
|
start_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
427
321
|
stop_schedule: typing.Optional[typing.Union["ScheduleProperty", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
428
322
|
) -> None:
|
|
@@ -700,9 +594,9 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
700
594
|
@builtins.property
|
|
701
595
|
def resource_naming_option(
|
|
702
596
|
self,
|
|
703
|
-
) -> typing.Optional[typing.Union[
|
|
597
|
+
) -> typing.Optional[typing.Union["ResourceCustomNaming", _gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, _gammarers_aws_resource_naming_22f917da.ResourceAutoNaming]]:
|
|
704
598
|
result = self._values.get("resource_naming_option")
|
|
705
|
-
return typing.cast(typing.Optional[typing.Union[
|
|
599
|
+
return typing.cast(typing.Optional[typing.Union["ResourceCustomNaming", _gammarers_aws_resource_naming_22f917da.ResourceDefaultNaming, _gammarers_aws_resource_naming_22f917da.ResourceAutoNaming]], result)
|
|
706
600
|
|
|
707
601
|
@builtins.property
|
|
708
602
|
def start_schedule(self) -> typing.Optional["ScheduleProperty"]:
|
|
@@ -726,6 +620,124 @@ class RDSDatabaseRunningScheduleStackProps(_aws_cdk_ceddda9d.StackProps):
|
|
|
726
620
|
)
|
|
727
621
|
|
|
728
622
|
|
|
623
|
+
@jsii.data_type(
|
|
624
|
+
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.ResourceCustomNaming",
|
|
625
|
+
jsii_struct_bases=[],
|
|
626
|
+
name_mapping={
|
|
627
|
+
"notification_topic_display_name": "notificationTopicDisplayName",
|
|
628
|
+
"notification_topic_name": "notificationTopicName",
|
|
629
|
+
"scheduler_role_name": "schedulerRoleName",
|
|
630
|
+
"start_schedule_name": "startScheduleName",
|
|
631
|
+
"state_machine_name": "stateMachineName",
|
|
632
|
+
"state_machine_role_name": "stateMachineRoleName",
|
|
633
|
+
"stop_schedule_name": "stopScheduleName",
|
|
634
|
+
"type": "type",
|
|
635
|
+
},
|
|
636
|
+
)
|
|
637
|
+
class ResourceCustomNaming:
|
|
638
|
+
def __init__(
|
|
639
|
+
self,
|
|
640
|
+
*,
|
|
641
|
+
notification_topic_display_name: builtins.str,
|
|
642
|
+
notification_topic_name: builtins.str,
|
|
643
|
+
scheduler_role_name: builtins.str,
|
|
644
|
+
start_schedule_name: builtins.str,
|
|
645
|
+
state_machine_name: builtins.str,
|
|
646
|
+
state_machine_role_name: builtins.str,
|
|
647
|
+
stop_schedule_name: builtins.str,
|
|
648
|
+
type: _gammarers_aws_resource_naming_22f917da.ResourceNamingType,
|
|
649
|
+
) -> None:
|
|
650
|
+
'''
|
|
651
|
+
:param notification_topic_display_name:
|
|
652
|
+
:param notification_topic_name:
|
|
653
|
+
:param scheduler_role_name:
|
|
654
|
+
:param start_schedule_name:
|
|
655
|
+
:param state_machine_name:
|
|
656
|
+
:param state_machine_role_name:
|
|
657
|
+
:param stop_schedule_name:
|
|
658
|
+
:param type:
|
|
659
|
+
'''
|
|
660
|
+
if __debug__:
|
|
661
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ba4c86401fc5845d6cceae6ebdfee1c87de413af5b5b3e7bf678da244b4c1538)
|
|
662
|
+
check_type(argname="argument notification_topic_display_name", value=notification_topic_display_name, expected_type=type_hints["notification_topic_display_name"])
|
|
663
|
+
check_type(argname="argument notification_topic_name", value=notification_topic_name, expected_type=type_hints["notification_topic_name"])
|
|
664
|
+
check_type(argname="argument scheduler_role_name", value=scheduler_role_name, expected_type=type_hints["scheduler_role_name"])
|
|
665
|
+
check_type(argname="argument start_schedule_name", value=start_schedule_name, expected_type=type_hints["start_schedule_name"])
|
|
666
|
+
check_type(argname="argument state_machine_name", value=state_machine_name, expected_type=type_hints["state_machine_name"])
|
|
667
|
+
check_type(argname="argument state_machine_role_name", value=state_machine_role_name, expected_type=type_hints["state_machine_role_name"])
|
|
668
|
+
check_type(argname="argument stop_schedule_name", value=stop_schedule_name, expected_type=type_hints["stop_schedule_name"])
|
|
669
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
670
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
671
|
+
"notification_topic_display_name": notification_topic_display_name,
|
|
672
|
+
"notification_topic_name": notification_topic_name,
|
|
673
|
+
"scheduler_role_name": scheduler_role_name,
|
|
674
|
+
"start_schedule_name": start_schedule_name,
|
|
675
|
+
"state_machine_name": state_machine_name,
|
|
676
|
+
"state_machine_role_name": state_machine_role_name,
|
|
677
|
+
"stop_schedule_name": stop_schedule_name,
|
|
678
|
+
"type": type,
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
@builtins.property
|
|
682
|
+
def notification_topic_display_name(self) -> builtins.str:
|
|
683
|
+
result = self._values.get("notification_topic_display_name")
|
|
684
|
+
assert result is not None, "Required property 'notification_topic_display_name' is missing"
|
|
685
|
+
return typing.cast(builtins.str, result)
|
|
686
|
+
|
|
687
|
+
@builtins.property
|
|
688
|
+
def notification_topic_name(self) -> builtins.str:
|
|
689
|
+
result = self._values.get("notification_topic_name")
|
|
690
|
+
assert result is not None, "Required property 'notification_topic_name' is missing"
|
|
691
|
+
return typing.cast(builtins.str, result)
|
|
692
|
+
|
|
693
|
+
@builtins.property
|
|
694
|
+
def scheduler_role_name(self) -> builtins.str:
|
|
695
|
+
result = self._values.get("scheduler_role_name")
|
|
696
|
+
assert result is not None, "Required property 'scheduler_role_name' is missing"
|
|
697
|
+
return typing.cast(builtins.str, result)
|
|
698
|
+
|
|
699
|
+
@builtins.property
|
|
700
|
+
def start_schedule_name(self) -> builtins.str:
|
|
701
|
+
result = self._values.get("start_schedule_name")
|
|
702
|
+
assert result is not None, "Required property 'start_schedule_name' is missing"
|
|
703
|
+
return typing.cast(builtins.str, result)
|
|
704
|
+
|
|
705
|
+
@builtins.property
|
|
706
|
+
def state_machine_name(self) -> builtins.str:
|
|
707
|
+
result = self._values.get("state_machine_name")
|
|
708
|
+
assert result is not None, "Required property 'state_machine_name' is missing"
|
|
709
|
+
return typing.cast(builtins.str, result)
|
|
710
|
+
|
|
711
|
+
@builtins.property
|
|
712
|
+
def state_machine_role_name(self) -> builtins.str:
|
|
713
|
+
result = self._values.get("state_machine_role_name")
|
|
714
|
+
assert result is not None, "Required property 'state_machine_role_name' is missing"
|
|
715
|
+
return typing.cast(builtins.str, result)
|
|
716
|
+
|
|
717
|
+
@builtins.property
|
|
718
|
+
def stop_schedule_name(self) -> builtins.str:
|
|
719
|
+
result = self._values.get("stop_schedule_name")
|
|
720
|
+
assert result is not None, "Required property 'stop_schedule_name' is missing"
|
|
721
|
+
return typing.cast(builtins.str, result)
|
|
722
|
+
|
|
723
|
+
@builtins.property
|
|
724
|
+
def type(self) -> _gammarers_aws_resource_naming_22f917da.ResourceNamingType:
|
|
725
|
+
result = self._values.get("type")
|
|
726
|
+
assert result is not None, "Required property 'type' is missing"
|
|
727
|
+
return typing.cast(_gammarers_aws_resource_naming_22f917da.ResourceNamingType, result)
|
|
728
|
+
|
|
729
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
730
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
731
|
+
|
|
732
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
733
|
+
return not (rhs == self)
|
|
734
|
+
|
|
735
|
+
def __repr__(self) -> str:
|
|
736
|
+
return "ResourceCustomNaming(%s)" % ", ".join(
|
|
737
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
738
|
+
)
|
|
739
|
+
|
|
740
|
+
|
|
729
741
|
@jsii.data_type(
|
|
730
742
|
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.ScheduleProperty",
|
|
731
743
|
jsii_struct_bases=[],
|
|
@@ -800,6 +812,41 @@ class ScheduleProperty:
|
|
|
800
812
|
)
|
|
801
813
|
|
|
802
814
|
|
|
815
|
+
@jsii.data_type(
|
|
816
|
+
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.Slack",
|
|
817
|
+
jsii_struct_bases=[],
|
|
818
|
+
name_mapping={"webhook_secret_name": "webhookSecretName"},
|
|
819
|
+
)
|
|
820
|
+
class Slack:
|
|
821
|
+
def __init__(self, *, webhook_secret_name: builtins.str) -> None:
|
|
822
|
+
'''
|
|
823
|
+
:param webhook_secret_name:
|
|
824
|
+
'''
|
|
825
|
+
if __debug__:
|
|
826
|
+
type_hints = typing.get_type_hints(_typecheckingstub__64a111b67af0ecdd544805a4aba8d4f776983826c5367073227bd499d69ee47c)
|
|
827
|
+
check_type(argname="argument webhook_secret_name", value=webhook_secret_name, expected_type=type_hints["webhook_secret_name"])
|
|
828
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
829
|
+
"webhook_secret_name": webhook_secret_name,
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
@builtins.property
|
|
833
|
+
def webhook_secret_name(self) -> builtins.str:
|
|
834
|
+
result = self._values.get("webhook_secret_name")
|
|
835
|
+
assert result is not None, "Required property 'webhook_secret_name' is missing"
|
|
836
|
+
return typing.cast(builtins.str, result)
|
|
837
|
+
|
|
838
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
839
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
840
|
+
|
|
841
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
842
|
+
return not (rhs == self)
|
|
843
|
+
|
|
844
|
+
def __repr__(self) -> str:
|
|
845
|
+
return "Slack(%s)" % ", ".join(
|
|
846
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
847
|
+
)
|
|
848
|
+
|
|
849
|
+
|
|
803
850
|
@jsii.data_type(
|
|
804
851
|
jsii_type="@gammarers/aws-rds-database-running-schedule-stack.TargetResourceProperty",
|
|
805
852
|
jsii_struct_bases=[],
|
|
@@ -850,33 +897,21 @@ class TargetResourceProperty:
|
|
|
850
897
|
|
|
851
898
|
|
|
852
899
|
__all__ = [
|
|
853
|
-
"CustomNaming",
|
|
854
900
|
"NotificationsProperty",
|
|
855
901
|
"RDSDatabaseRunningScheduleStack",
|
|
856
902
|
"RDSDatabaseRunningScheduleStackProps",
|
|
903
|
+
"ResourceCustomNaming",
|
|
857
904
|
"ScheduleProperty",
|
|
905
|
+
"Slack",
|
|
858
906
|
"TargetResourceProperty",
|
|
859
907
|
]
|
|
860
908
|
|
|
861
909
|
publication.publish()
|
|
862
910
|
|
|
863
|
-
def _typecheckingstub__bc6db5a15616ecf5d03a994e1e18a8dc960a3e7c1b808221a2f79d29d1f2c27c(
|
|
864
|
-
*,
|
|
865
|
-
notification_topic_display_name: builtins.str,
|
|
866
|
-
notification_topic_name: builtins.str,
|
|
867
|
-
scheduler_role_name: builtins.str,
|
|
868
|
-
start_schedule_name: builtins.str,
|
|
869
|
-
state_machine_name: builtins.str,
|
|
870
|
-
state_machine_role_name: builtins.str,
|
|
871
|
-
stop_schedule_name: builtins.str,
|
|
872
|
-
type: _gammarers_aws_resource_naming_22f917da.ResourceNamingType,
|
|
873
|
-
) -> None:
|
|
874
|
-
"""Type checking stubs"""
|
|
875
|
-
pass
|
|
876
|
-
|
|
877
911
|
def _typecheckingstub__251a05c825e7beb6ddfd9ceb6b6c38129822252bd8cdfdc0c3fe1e576d3a4326(
|
|
878
912
|
*,
|
|
879
913
|
emails: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
914
|
+
slack: typing.Optional[typing.Union[Slack, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
880
915
|
) -> None:
|
|
881
916
|
"""Type checking stubs"""
|
|
882
917
|
pass
|
|
@@ -888,7 +923,7 @@ def _typecheckingstub__c1280dc248fa00837f0fd9aade32e57cf0658d41b8f0e88b4b0468581
|
|
|
888
923
|
target_resource: typing.Union[TargetResourceProperty, typing.Dict[builtins.str, typing.Any]],
|
|
889
924
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
890
925
|
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
891
|
-
resource_naming_option: typing.Optional[typing.Union[typing.Union[
|
|
926
|
+
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,
|
|
892
927
|
start_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
893
928
|
stop_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
894
929
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
@@ -920,13 +955,27 @@ def _typecheckingstub__e3a02c77b05b4403ac204e4b21fbecf9f310b2adf40ef9f6754f8cde0
|
|
|
920
955
|
target_resource: typing.Union[TargetResourceProperty, typing.Dict[builtins.str, typing.Any]],
|
|
921
956
|
enable_scheduling: typing.Optional[builtins.bool] = None,
|
|
922
957
|
notifications: typing.Optional[typing.Union[NotificationsProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
923
|
-
resource_naming_option: typing.Optional[typing.Union[typing.Union[
|
|
958
|
+
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,
|
|
924
959
|
start_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
925
960
|
stop_schedule: typing.Optional[typing.Union[ScheduleProperty, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
926
961
|
) -> None:
|
|
927
962
|
"""Type checking stubs"""
|
|
928
963
|
pass
|
|
929
964
|
|
|
965
|
+
def _typecheckingstub__ba4c86401fc5845d6cceae6ebdfee1c87de413af5b5b3e7bf678da244b4c1538(
|
|
966
|
+
*,
|
|
967
|
+
notification_topic_display_name: builtins.str,
|
|
968
|
+
notification_topic_name: builtins.str,
|
|
969
|
+
scheduler_role_name: builtins.str,
|
|
970
|
+
start_schedule_name: builtins.str,
|
|
971
|
+
state_machine_name: builtins.str,
|
|
972
|
+
state_machine_role_name: builtins.str,
|
|
973
|
+
stop_schedule_name: builtins.str,
|
|
974
|
+
type: _gammarers_aws_resource_naming_22f917da.ResourceNamingType,
|
|
975
|
+
) -> None:
|
|
976
|
+
"""Type checking stubs"""
|
|
977
|
+
pass
|
|
978
|
+
|
|
930
979
|
def _typecheckingstub__698ada8cebb0f29cf7aa1b64e0b10a701ff87508b556665b4c2bae69b2799be8(
|
|
931
980
|
*,
|
|
932
981
|
timezone: builtins.str,
|
|
@@ -937,6 +986,13 @@ def _typecheckingstub__698ada8cebb0f29cf7aa1b64e0b10a701ff87508b556665b4c2bae69b
|
|
|
937
986
|
"""Type checking stubs"""
|
|
938
987
|
pass
|
|
939
988
|
|
|
989
|
+
def _typecheckingstub__64a111b67af0ecdd544805a4aba8d4f776983826c5367073227bd499d69ee47c(
|
|
990
|
+
*,
|
|
991
|
+
webhook_secret_name: builtins.str,
|
|
992
|
+
) -> None:
|
|
993
|
+
"""Type checking stubs"""
|
|
994
|
+
pass
|
|
995
|
+
|
|
940
996
|
def _typecheckingstub__8591c95e42de5a4e537e0f91a2110f72b09d18b72008139e5e23a0d230607030(
|
|
941
997
|
*,
|
|
942
998
|
tag_key: builtins.str,
|
|
@@ -31,12 +31,13 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
31
31
|
import aws_cdk._jsii
|
|
32
32
|
import constructs._jsii
|
|
33
33
|
import gammarers.aws_resource_naming._jsii
|
|
34
|
+
import gammarers.aws_sns_slack_message_lambda_subscription._jsii
|
|
34
35
|
|
|
35
36
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
36
37
|
"@gammarers/aws-rds-database-running-schedule-stack",
|
|
37
|
-
"2.
|
|
38
|
+
"2.4.1",
|
|
38
39
|
__name__[0:-6],
|
|
39
|
-
"aws-rds-database-running-schedule-stack@2.
|
|
40
|
+
"aws-rds-database-running-schedule-stack@2.4.1.jsii.tgz",
|
|
40
41
|
)
|
|
41
42
|
|
|
42
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.4.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>
|
|
@@ -23,6 +23,7 @@ License-File: LICENSE
|
|
|
23
23
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.120.0
|
|
24
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
25
|
Requires-Dist: gammarers.aws-resource-naming<0.11.0,>=0.10.1
|
|
26
|
+
Requires-Dist: gammarers.aws-sns-slack-message-lambda-subscription<0.3.0,>=0.2.4
|
|
26
27
|
Requires-Dist: jsii<2.0.0,>=1.106.0
|
|
27
28
|
Requires-Dist: publication>=0.0.3
|
|
28
29
|
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
gammarers/aws_rds_database_running_schedule_stack/__init__.py,sha256=b-YvOq9WiL92rrkNsJGMrs2MOThEBtlAR5ZHQ8p-_6A,52345
|
|
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=G_lfdWd4KVx21oU4GD6lmQMa-skYPoZUCsA3l-sX10A,1621
|
|
4
|
+
gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.4.1.jsii.tgz,sha256=VMNIWp-dwrIx_RyKk55t4G95_6uhUQgSVe9jPrvTJ8c,45420
|
|
5
|
+
gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/METADATA,sha256=0vbiMNnlwQh4OzL6CwmDMT0tGeeHxrl3R6RKuuXXwhg,5453
|
|
7
|
+
gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
8
|
+
gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
9
|
+
gammarers.aws_rds_database_running_schedule_stack-2.4.1.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
gammarers/aws_rds_database_running_schedule_stack/__init__.py,sha256=it7OkJZ3GaCQP-i_baxBbtGG5X2jMtj6WrTZ6PoLJxQ,50013
|
|
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=p9S4nVG61Q9xlNL38PfHAp6LpcKPXV01dRw6ic1diUE,1558
|
|
4
|
-
gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.3.11.jsii.tgz,sha256=QPLuC1Rh80XqC97RN5N2tWFupsF1nMchEXelJqFnUmQ,41951
|
|
5
|
-
gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
-
gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/METADATA,sha256=U9zIKwl7HuGa558sZCMZvUI_mk3UqeKEUfOC1QSkFlc,5373
|
|
7
|
-
gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
8
|
-
gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
9
|
-
gammarers.aws_rds_database_running_schedule_stack-2.3.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|