cloudsnorkel.cdk-rds-sanitized-snapshots 0.1.1__tar.gz → 0.1.3__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 cloudsnorkel.cdk-rds-sanitized-snapshots might be problematic. Click here for more details.
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/PKG-INFO +6 -1
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/pyproject.toml +1 -1
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/setup.py +5 -5
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/src/cloudsnorkel/cdk_rds_sanitized_snapshots/__init__.py +48 -3
- cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py +45 -0
- cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.3.jsii.tgz +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info}/PKG-INFO +6 -1
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/SOURCES.txt +1 -1
- cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/requires.txt +5 -0
- cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py +0 -30
- cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.1.jsii.tgz +0 -0
- cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/requires.txt +0 -5
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/LICENSE +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/MANIFEST.in +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/README.md +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/setup.cfg +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/src/cloudsnorkel/cdk_rds_sanitized_snapshots/py.typed +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/dependency_links.txt +0 -0
- {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.1 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.3}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudsnorkel.cdk-rds-sanitized-snapshots
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.
|
|
5
5
|
Home-page: https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git
|
|
6
6
|
Author: Amir Szekely<amir@cloudsnorkel.com>
|
|
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
|
|
|
20
20
|
Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.127.0
|
|
24
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
|
+
Requires-Dist: publication>=0.0.3
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
23
28
|
|
|
24
29
|
# CDK Construct for RDS Sanitized Snapshots
|
|
25
30
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cloudsnorkel.cdk-rds-sanitized-snapshots",
|
|
8
|
-
"version": "0.1.
|
|
8
|
+
"version": "0.1.3",
|
|
9
9
|
"description": "CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cloudsnorkel.cdk_rds_sanitized_snapshots._jsii": [
|
|
29
|
-
"cdk-rds-sanitized-snapshots@0.1.
|
|
29
|
+
"cdk-rds-sanitized-snapshots@0.1.3.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudsnorkel.cdk_rds_sanitized_snapshots": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,11 +34,11 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.8",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
37
|
+
"aws-cdk-lib>=2.127.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.5, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.103.1, <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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'''
|
|
1
|
+
r'''
|
|
2
2
|
# CDK Construct for RDS Sanitized Snapshots
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/@cloudsnorkel/cdk-rds-sanitized-snapshots)
|
|
@@ -122,7 +122,22 @@ import jsii
|
|
|
122
122
|
import publication
|
|
123
123
|
import typing_extensions
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
import typeguard
|
|
126
|
+
from importlib.metadata import version as _metadata_package_version
|
|
127
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
128
|
+
|
|
129
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
130
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
131
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
132
|
+
else:
|
|
133
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
134
|
+
pass
|
|
135
|
+
else:
|
|
136
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
137
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
138
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
139
|
+
else:
|
|
140
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
126
141
|
|
|
127
142
|
from ._jsii import *
|
|
128
143
|
|
|
@@ -310,6 +325,21 @@ class IRdsSanitizedSnapshotter(typing_extensions.Protocol):
|
|
|
310
325
|
'''
|
|
311
326
|
...
|
|
312
327
|
|
|
328
|
+
@builtins.property
|
|
329
|
+
@jsii.member(jsii_name="useExistingSnapshot")
|
|
330
|
+
def use_existing_snapshot(self) -> typing.Optional[builtins.bool]:
|
|
331
|
+
'''(experimental) Use the latest available snapshot instead of taking a new one.
|
|
332
|
+
|
|
333
|
+
This can be used to shorten the process at the cost of using a possibly older snapshot.
|
|
334
|
+
|
|
335
|
+
This will use the latest snapshot whether it's an automatic system snapshot or a manual snapshot.
|
|
336
|
+
|
|
337
|
+
:default: false
|
|
338
|
+
|
|
339
|
+
:stability: experimental
|
|
340
|
+
'''
|
|
341
|
+
...
|
|
342
|
+
|
|
313
343
|
|
|
314
344
|
class _IRdsSanitizedSnapshotterProxy:
|
|
315
345
|
'''
|
|
@@ -485,6 +515,21 @@ class _IRdsSanitizedSnapshotterProxy:
|
|
|
485
515
|
'''
|
|
486
516
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "tempPrefix"))
|
|
487
517
|
|
|
518
|
+
@builtins.property
|
|
519
|
+
@jsii.member(jsii_name="useExistingSnapshot")
|
|
520
|
+
def use_existing_snapshot(self) -> typing.Optional[builtins.bool]:
|
|
521
|
+
'''(experimental) Use the latest available snapshot instead of taking a new one.
|
|
522
|
+
|
|
523
|
+
This can be used to shorten the process at the cost of using a possibly older snapshot.
|
|
524
|
+
|
|
525
|
+
This will use the latest snapshot whether it's an automatic system snapshot or a manual snapshot.
|
|
526
|
+
|
|
527
|
+
:default: false
|
|
528
|
+
|
|
529
|
+
:stability: experimental
|
|
530
|
+
'''
|
|
531
|
+
return typing.cast(typing.Optional[builtins.bool], jsii.get(self, "useExistingSnapshot"))
|
|
532
|
+
|
|
488
533
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
489
534
|
typing.cast(typing.Any, IRdsSanitizedSnapshotter).__jsii_proxy_class__ = lambda : _IRdsSanitizedSnapshotterProxy
|
|
490
535
|
|
|
@@ -555,7 +600,7 @@ class RdsSanitizedSnapshotter(
|
|
|
555
600
|
if __debug__:
|
|
556
601
|
type_hints = typing.get_type_hints(_typecheckingstub__df51411713b297623720935bb6779afc65503804a74afed6b48f5754baba7f14)
|
|
557
602
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
558
|
-
jsii.set(self, "snapshotter", value)
|
|
603
|
+
jsii.set(self, "snapshotter", value) # pyright: ignore[reportArgumentType]
|
|
559
604
|
|
|
560
605
|
|
|
561
606
|
__all__ = [
|
|
@@ -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
|
+
"@cloudsnorkel/cdk-rds-sanitized-snapshots",
|
|
36
|
+
"0.1.3",
|
|
37
|
+
__name__[0:-6],
|
|
38
|
+
"cdk-rds-sanitized-snapshots@0.1.3.jsii.tgz",
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
__all__ = [
|
|
42
|
+
"__jsii_assembly__",
|
|
43
|
+
]
|
|
44
|
+
|
|
45
|
+
publication.publish()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cloudsnorkel.cdk-rds-sanitized-snapshots
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.
|
|
5
5
|
Home-page: https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git
|
|
6
6
|
Author: Amir Szekely<amir@cloudsnorkel.com>
|
|
@@ -20,6 +20,11 @@ Classifier: License :: OSI Approved
|
|
|
20
20
|
Requires-Python: ~=3.8
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.127.0
|
|
24
|
+
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.103.1
|
|
26
|
+
Requires-Dist: publication>=0.0.3
|
|
27
|
+
Requires-Dist: typeguard<5.0.0,>=2.13.3
|
|
23
28
|
|
|
24
29
|
# CDK Construct for RDS Sanitized Snapshots
|
|
25
30
|
|
|
@@ -11,4 +11,4 @@ src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/top_level.txt
|
|
|
11
11
|
src/cloudsnorkel/cdk_rds_sanitized_snapshots/__init__.py
|
|
12
12
|
src/cloudsnorkel/cdk_rds_sanitized_snapshots/py.typed
|
|
13
13
|
src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py
|
|
14
|
-
src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.
|
|
14
|
+
src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.3.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
|
-
"@cloudsnorkel/cdk-rds-sanitized-snapshots",
|
|
21
|
-
"0.1.1",
|
|
22
|
-
__name__[0:-6],
|
|
23
|
-
"cdk-rds-sanitized-snapshots@0.1.1.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
|