gammarers.aws-rds-database-running-schedule-stack 2.1.0__tar.gz → 2.1.2__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.0/src/gammarers.aws_rds_database_running_schedule_stack.egg-info → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/PKG-INFO +5 -3
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/README.md +2 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/setup.py +4 -4
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/src/gammarers/aws_rds_database_running_schedule_stack/__init__.py +18 -1
- gammarers_aws_rds_database_running_schedule_stack-2.1.2/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py +45 -0
- gammarers_aws_rds_database_running_schedule_stack-2.1.2/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.1.2.jsii.tgz +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2/src/gammarers.aws_rds_database_running_schedule_stack.egg-info}/PKG-INFO +5 -3
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/SOURCES.txt +1 -1
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/requires.txt +2 -2
- gammarers_aws_rds_database_running_schedule_stack-2.1.0/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/__init__.py +0 -30
- gammarers_aws_rds_database_running_schedule_stack-2.1.0/src/gammarers/aws_rds_database_running_schedule_stack/_jsii/aws-rds-database-running-schedule-stack@2.1.0.jsii.tgz +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/LICENSE +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/MANIFEST.in +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/pyproject.toml +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/setup.cfg +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/src/gammarers/aws_rds_database_running_schedule_stack/py.typed +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/src/gammarers.aws_rds_database_running_schedule_stack.egg-info/dependency_links.txt +0 -0
- {gammarers_aws_rds_database_running_schedule_stack-2.1.0 → gammarers_aws_rds_database_running_schedule_stack-2.1.2}/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.1.2
|
|
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>
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
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
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
28
28
|
|
|
29
29
|
# AWS RDS Database Running Schedule Stack
|
|
30
30
|
|
|
@@ -35,6 +35,8 @@ Requires-Dist: typeguard~=2.13.3
|
|
|
35
35
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/actions/workflows/release.yml)
|
|
36
36
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/releases)
|
|
37
37
|
|
|
38
|
+
[](https://constructs.dev/packages/@gammarers/aws-rds-database-running-schedule-stack)
|
|
39
|
+
|
|
38
40
|
This AWS CDK Construct Stack controls the starting and stopping of RDS DB instances and clusters based on specified tags, ensuring they only run during working hours. It uses EventBridge Scheduler to trigger a StepFunctions State Machine at the start and end of the working hours(default 07:50(UTC) - 21:10(UTC)), which then starts or stops the databases depending on the mode.
|
|
39
41
|
|
|
40
42
|
## Fixed
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/actions/workflows/release.yml)
|
|
8
8
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/releases)
|
|
9
9
|
|
|
10
|
+
[](https://constructs.dev/packages/@gammarers/aws-rds-database-running-schedule-stack)
|
|
11
|
+
|
|
10
12
|
This AWS CDK Construct Stack controls the starting and stopping of RDS DB instances and clusters based on specified tags, ensuring they only run during working hours. It uses EventBridge Scheduler to trigger a StepFunctions State Machine at the start and end of the working hours(default 07:50(UTC) - 21:10(UTC)), which then starts or stops the databases depending on the mode.
|
|
11
13
|
|
|
12
14
|
## Fixed
|
|
@@ -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.1.2",
|
|
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.1.2.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"gammarers.aws_rds_database_running_schedule_stack": [
|
|
32
32
|
"py.typed"
|
|
@@ -36,9 +36,9 @@ kwargs = json.loads(
|
|
|
36
36
|
"install_requires": [
|
|
37
37
|
"aws-cdk-lib>=2.120.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.103.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
|
-
"typeguard
|
|
41
|
+
"typeguard>=2.13.3,<5.0.0"
|
|
42
42
|
],
|
|
43
43
|
"classifiers": [
|
|
44
44
|
"Intended Audience :: Developers",
|
|
@@ -8,6 +8,8 @@ r'''
|
|
|
8
8
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/actions/workflows/release.yml)
|
|
9
9
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/releases)
|
|
10
10
|
|
|
11
|
+
[](https://constructs.dev/packages/@gammarers/aws-rds-database-running-schedule-stack)
|
|
12
|
+
|
|
11
13
|
This AWS CDK Construct Stack controls the starting and stopping of RDS DB instances and clusters based on specified tags, ensuring they only run during working hours. It uses EventBridge Scheduler to trigger a StepFunctions State Machine at the start and end of the working hours(default 07:50(UTC) - 21:10(UTC)), which then starts or stops the databases depending on the mode.
|
|
12
14
|
|
|
13
15
|
## Fixed
|
|
@@ -107,7 +109,22 @@ import jsii
|
|
|
107
109
|
import publication
|
|
108
110
|
import typing_extensions
|
|
109
111
|
|
|
110
|
-
|
|
112
|
+
import typeguard
|
|
113
|
+
from importlib.metadata import version as _metadata_package_version
|
|
114
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
115
|
+
|
|
116
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
117
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
118
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
119
|
+
else:
|
|
120
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
121
|
+
pass
|
|
122
|
+
else:
|
|
123
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
124
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
125
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
126
|
+
else:
|
|
127
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
111
128
|
|
|
112
129
|
from ._jsii import *
|
|
113
130
|
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
from pkgutil import extend_path
|
|
2
|
+
__path__ = extend_path(__path__, __name__)
|
|
3
|
+
|
|
4
|
+
import abc
|
|
5
|
+
import builtins
|
|
6
|
+
import datetime
|
|
7
|
+
import enum
|
|
8
|
+
import typing
|
|
9
|
+
|
|
10
|
+
import jsii
|
|
11
|
+
import publication
|
|
12
|
+
import typing_extensions
|
|
13
|
+
|
|
14
|
+
import typeguard
|
|
15
|
+
from importlib.metadata import version as _metadata_package_version
|
|
16
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
17
|
+
|
|
18
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
19
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
20
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
21
|
+
else:
|
|
22
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
23
|
+
pass
|
|
24
|
+
else:
|
|
25
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
26
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
27
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
28
|
+
else:
|
|
29
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
30
|
+
|
|
31
|
+
import aws_cdk._jsii
|
|
32
|
+
import constructs._jsii
|
|
33
|
+
|
|
34
|
+
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
|
+
"@gammarers/aws-rds-database-running-schedule-stack",
|
|
36
|
+
"2.1.2",
|
|
37
|
+
__name__[0:-6],
|
|
38
|
+
"aws-rds-database-running-schedule-stack@2.1.2.jsii.tgz",
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
__all__ = [
|
|
42
|
+
"__jsii_assembly__",
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
publication.publish()
|
|
@@ -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.1.2
|
|
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>
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
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
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.0
|
|
26
26
|
Requires-Dist: publication>=0.0.3
|
|
27
|
-
Requires-Dist: typeguard
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
28
28
|
|
|
29
29
|
# AWS RDS Database Running Schedule Stack
|
|
30
30
|
|
|
@@ -35,6 +35,8 @@ Requires-Dist: typeguard~=2.13.3
|
|
|
35
35
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/actions/workflows/release.yml)
|
|
36
36
|
[](https://github.com/gammarers/aws-rds-database-running-schedule-stack/releases)
|
|
37
37
|
|
|
38
|
+
[](https://constructs.dev/packages/@gammarers/aws-rds-database-running-schedule-stack)
|
|
39
|
+
|
|
38
40
|
This AWS CDK Construct Stack controls the starting and stopping of RDS DB instances and clusters based on specified tags, ensuring they only run during working hours. It uses EventBridge Scheduler to trigger a StepFunctions State Machine at the start and end of the working hours(default 07:50(UTC) - 21:10(UTC)), which then starts or stops the databases depending on the mode.
|
|
39
41
|
|
|
40
42
|
## Fixed
|
|
@@ -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.1.2.jsii.tgz
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
from pkgutil import extend_path
|
|
2
|
-
__path__ = extend_path(__path__, __name__)
|
|
3
|
-
|
|
4
|
-
import abc
|
|
5
|
-
import builtins
|
|
6
|
-
import datetime
|
|
7
|
-
import enum
|
|
8
|
-
import typing
|
|
9
|
-
|
|
10
|
-
import jsii
|
|
11
|
-
import publication
|
|
12
|
-
import typing_extensions
|
|
13
|
-
|
|
14
|
-
from typeguard import check_type
|
|
15
|
-
|
|
16
|
-
import aws_cdk._jsii
|
|
17
|
-
import constructs._jsii
|
|
18
|
-
|
|
19
|
-
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
20
|
-
"@gammarers/aws-rds-database-running-schedule-stack",
|
|
21
|
-
"2.1.0",
|
|
22
|
-
__name__[0:-6],
|
|
23
|
-
"aws-rds-database-running-schedule-stack@2.1.0.jsii.tgz",
|
|
24
|
-
)
|
|
25
|
-
|
|
26
|
-
__all__ = [
|
|
27
|
-
"__jsii_assembly__",
|
|
28
|
-
]
|
|
29
|
-
|
|
30
|
-
publication.publish()
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|