constructs 10.4.4__tar.gz → 10.5.0__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.
- {constructs-10.4.4/src/constructs.egg-info → constructs-10.5.0}/PKG-INFO +3 -3
- {constructs-10.4.4 → constructs-10.5.0}/README.md +1 -1
- {constructs-10.4.4 → constructs-10.5.0}/setup.py +3 -3
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs/__init__.py +126 -2
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs/_jsii/__init__.py +1 -1
- constructs-10.5.0/src/constructs/_jsii/constructs@10.5.0.jsii.tgz +0 -0
- {constructs-10.4.4 → constructs-10.5.0/src/constructs.egg-info}/PKG-INFO +3 -3
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs.egg-info/SOURCES.txt +1 -1
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs.egg-info/requires.txt +1 -1
- constructs-10.4.4/src/constructs/_jsii/constructs@10.4.4.jsii.tgz +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/LICENSE +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/MANIFEST.in +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/NOTICE +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/pyproject.toml +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/setup.cfg +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs/py.typed +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs.egg-info/dependency_links.txt +0 -0
- {constructs-10.4.4 → constructs-10.5.0}/src/constructs.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.5.0
|
|
4
4
|
Summary: A programming model for software-defined state
|
|
5
5
|
Home-page: https://github.com/aws/constructs
|
|
6
6
|
Author: Amazon Web Services<aws-cdk-dev@amazon.com>
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard==2.13.3
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ Requires-Dist: typeguard==2.13.3
|
|
|
32
32
|
[](https://badge.fury.io/js/constructs)
|
|
33
33
|
[](https://badge.fury.io/py/constructs)
|
|
34
34
|
[](https://badge.fury.io/nu/Constructs)
|
|
35
|
-
[](https://maven-badges.sml.io/maven-central/software.constructs/constructs)
|
|
36
36
|
|
|
37
37
|
## What are constructs?
|
|
38
38
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://badge.fury.io/js/constructs)
|
|
7
7
|
[](https://badge.fury.io/py/constructs)
|
|
8
8
|
[](https://badge.fury.io/nu/Constructs)
|
|
9
|
-
[](https://maven-badges.sml.io/maven-central/software.constructs/constructs)
|
|
10
10
|
|
|
11
11
|
## What are constructs?
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "constructs",
|
|
8
|
-
"version": "10.
|
|
8
|
+
"version": "10.5.0",
|
|
9
9
|
"description": "A programming model for software-defined state",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/aws/constructs",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"constructs._jsii": [
|
|
29
|
-
"constructs@10.
|
|
29
|
+
"constructs@10.5.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"constructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,7 +34,7 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"jsii>=1.
|
|
37
|
+
"jsii>=1.126.0, <2.0.0",
|
|
38
38
|
"publication>=0.0.3",
|
|
39
39
|
"typeguard==2.13.3"
|
|
40
40
|
],
|
|
@@ -7,7 +7,7 @@ r'''
|
|
|
7
7
|
[](https://badge.fury.io/js/constructs)
|
|
8
8
|
[](https://badge.fury.io/py/constructs)
|
|
9
9
|
[](https://badge.fury.io/nu/Constructs)
|
|
10
|
-
[](https://maven-badges.sml.io/maven-central/software.constructs/constructs)
|
|
11
11
|
|
|
12
12
|
## What are constructs?
|
|
13
13
|
|
|
@@ -202,6 +202,58 @@ class _IDependableProxy:
|
|
|
202
202
|
typing.cast(typing.Any, IDependable).__jsii_proxy_class__ = lambda : _IDependableProxy
|
|
203
203
|
|
|
204
204
|
|
|
205
|
+
@jsii.interface(jsii_type="constructs.IMixin")
|
|
206
|
+
class IMixin(typing_extensions.Protocol):
|
|
207
|
+
'''A mixin is a reusable piece of functionality that can be applied to constructs to add behavior, properties, or modify existing functionality without inheritance.'''
|
|
208
|
+
|
|
209
|
+
@jsii.member(jsii_name="applyTo")
|
|
210
|
+
def apply_to(self, construct: "IConstruct") -> None:
|
|
211
|
+
'''Applies the mixin functionality to the target construct.
|
|
212
|
+
|
|
213
|
+
:param construct: -
|
|
214
|
+
'''
|
|
215
|
+
...
|
|
216
|
+
|
|
217
|
+
@jsii.member(jsii_name="supports")
|
|
218
|
+
def supports(self, construct: "IConstruct") -> builtins.bool:
|
|
219
|
+
'''Determines whether this mixin can be applied to the given construct.
|
|
220
|
+
|
|
221
|
+
:param construct: -
|
|
222
|
+
'''
|
|
223
|
+
...
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class _IMixinProxy:
|
|
227
|
+
'''A mixin is a reusable piece of functionality that can be applied to constructs to add behavior, properties, or modify existing functionality without inheritance.'''
|
|
228
|
+
|
|
229
|
+
__jsii_type__: typing.ClassVar[str] = "constructs.IMixin"
|
|
230
|
+
|
|
231
|
+
@jsii.member(jsii_name="applyTo")
|
|
232
|
+
def apply_to(self, construct: "IConstruct") -> None:
|
|
233
|
+
'''Applies the mixin functionality to the target construct.
|
|
234
|
+
|
|
235
|
+
:param construct: -
|
|
236
|
+
'''
|
|
237
|
+
if __debug__:
|
|
238
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ef3057d7b2239a822adb30db5073786298478cd3fa000528394c84d1aeecee1f)
|
|
239
|
+
check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
|
|
240
|
+
return typing.cast(None, jsii.invoke(self, "applyTo", [construct]))
|
|
241
|
+
|
|
242
|
+
@jsii.member(jsii_name="supports")
|
|
243
|
+
def supports(self, construct: "IConstruct") -> builtins.bool:
|
|
244
|
+
'''Determines whether this mixin can be applied to the given construct.
|
|
245
|
+
|
|
246
|
+
:param construct: -
|
|
247
|
+
'''
|
|
248
|
+
if __debug__:
|
|
249
|
+
type_hints = typing.get_type_hints(_typecheckingstub__55ea6788f825fe03077ad971427d715ae61f5ac50df36f708925449c85f4b3b6)
|
|
250
|
+
check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
|
|
251
|
+
return typing.cast(builtins.bool, jsii.invoke(self, "supports", [construct]))
|
|
252
|
+
|
|
253
|
+
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
254
|
+
typing.cast(typing.Any, IMixin).__jsii_proxy_class__ = lambda : _IMixinProxy
|
|
255
|
+
|
|
256
|
+
|
|
205
257
|
@jsii.interface(jsii_type="constructs.IValidation")
|
|
206
258
|
class IValidation(typing_extensions.Protocol):
|
|
207
259
|
'''Implement this interface in order for the construct to be able to validate itself.'''
|
|
@@ -778,6 +830,19 @@ class IConstruct(IDependable, typing_extensions.Protocol):
|
|
|
778
830
|
'''The tree node.'''
|
|
779
831
|
...
|
|
780
832
|
|
|
833
|
+
@jsii.member(jsii_name="with")
|
|
834
|
+
def with_(self, *mixins: "IMixin") -> "IConstruct":
|
|
835
|
+
'''Applies one or more mixins to this construct.
|
|
836
|
+
|
|
837
|
+
Mixins are applied in order. The list of constructs is captured at the
|
|
838
|
+
start of the call, so constructs added by a mixin will not be visited.
|
|
839
|
+
|
|
840
|
+
:param mixins: The mixins to apply.
|
|
841
|
+
|
|
842
|
+
:return: This construct for chaining
|
|
843
|
+
'''
|
|
844
|
+
...
|
|
845
|
+
|
|
781
846
|
|
|
782
847
|
class _IConstructProxy(
|
|
783
848
|
jsii.proxy_for(IDependable), # type: ignore[misc]
|
|
@@ -792,6 +857,22 @@ class _IConstructProxy(
|
|
|
792
857
|
'''The tree node.'''
|
|
793
858
|
return typing.cast("Node", jsii.get(self, "node"))
|
|
794
859
|
|
|
860
|
+
@jsii.member(jsii_name="with")
|
|
861
|
+
def with_(self, *mixins: "IMixin") -> "IConstruct":
|
|
862
|
+
'''Applies one or more mixins to this construct.
|
|
863
|
+
|
|
864
|
+
Mixins are applied in order. The list of constructs is captured at the
|
|
865
|
+
start of the call, so constructs added by a mixin will not be visited.
|
|
866
|
+
|
|
867
|
+
:param mixins: The mixins to apply.
|
|
868
|
+
|
|
869
|
+
:return: This construct for chaining
|
|
870
|
+
'''
|
|
871
|
+
if __debug__:
|
|
872
|
+
type_hints = typing.get_type_hints(_typecheckingstub__46ffe71712de730652fef13db2a6a7bf3168d82f7537656ad03e0ad2b5db5b61)
|
|
873
|
+
check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
874
|
+
return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
|
|
875
|
+
|
|
795
876
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
796
877
|
typing.cast(typing.Any, IConstruct).__jsii_proxy_class__ = lambda : _IConstructProxy
|
|
797
878
|
|
|
@@ -849,6 +930,24 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
|
|
|
849
930
|
'''Returns a string representation of this construct.'''
|
|
850
931
|
return typing.cast(builtins.str, jsii.invoke(self, "toString", []))
|
|
851
932
|
|
|
933
|
+
@jsii.member(jsii_name="with")
|
|
934
|
+
def with_(self, *mixins: "IMixin") -> "IConstruct":
|
|
935
|
+
'''Applies one or more mixins to this construct.
|
|
936
|
+
|
|
937
|
+
Mixins are applied in order. The list of constructs is captured at the
|
|
938
|
+
start of the call, so constructs added by a mixin will not be visited.
|
|
939
|
+
Use multiple ``with()`` calls if subsequent mixins should apply to added
|
|
940
|
+
constructs.
|
|
941
|
+
|
|
942
|
+
:param mixins: The mixins to apply.
|
|
943
|
+
|
|
944
|
+
:return: This construct for chaining
|
|
945
|
+
'''
|
|
946
|
+
if __debug__:
|
|
947
|
+
type_hints = typing.get_type_hints(_typecheckingstub__dcdf5ec1470924572ba805d2d121897d3ef8160905bcb57bc551eb0b9e2e35a7)
|
|
948
|
+
check_type(argname="argument mixins", value=mixins, expected_type=typing.Tuple[type_hints["mixins"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
949
|
+
return typing.cast("IConstruct", jsii.invoke(self, "with", [*mixins]))
|
|
950
|
+
|
|
852
951
|
@builtins.property
|
|
853
952
|
@jsii.member(jsii_name="node")
|
|
854
953
|
def node(self) -> "Node":
|
|
@@ -885,6 +984,7 @@ __all__ = [
|
|
|
885
984
|
"DependencyGroup",
|
|
886
985
|
"IConstruct",
|
|
887
986
|
"IDependable",
|
|
987
|
+
"IMixin",
|
|
888
988
|
"IValidation",
|
|
889
989
|
"MetadataEntry",
|
|
890
990
|
"MetadataOptions",
|
|
@@ -913,6 +1013,18 @@ def _typecheckingstub__54a9441299838c86c77ad919b31ab158da6bd872c3bf8bf55f147c17a
|
|
|
913
1013
|
"""Type checking stubs"""
|
|
914
1014
|
pass
|
|
915
1015
|
|
|
1016
|
+
def _typecheckingstub__ef3057d7b2239a822adb30db5073786298478cd3fa000528394c84d1aeecee1f(
|
|
1017
|
+
construct: IConstruct,
|
|
1018
|
+
) -> None:
|
|
1019
|
+
"""Type checking stubs"""
|
|
1020
|
+
pass
|
|
1021
|
+
|
|
1022
|
+
def _typecheckingstub__55ea6788f825fe03077ad971427d715ae61f5ac50df36f708925449c85f4b3b6(
|
|
1023
|
+
construct: IConstruct,
|
|
1024
|
+
) -> None:
|
|
1025
|
+
"""Type checking stubs"""
|
|
1026
|
+
pass
|
|
1027
|
+
|
|
916
1028
|
def _typecheckingstub__ac0c2f394c95b32376bd2487bfa65b455507f8363a71e56bbcfef3a690552658(
|
|
917
1029
|
*,
|
|
918
1030
|
data: typing.Any,
|
|
@@ -1033,6 +1145,12 @@ def _typecheckingstub__b0e6908dfe4df8e9318ecca332ccd3a1a3e28fcf76f414daa5a764cba
|
|
|
1033
1145
|
"""Type checking stubs"""
|
|
1034
1146
|
pass
|
|
1035
1147
|
|
|
1148
|
+
def _typecheckingstub__46ffe71712de730652fef13db2a6a7bf3168d82f7537656ad03e0ad2b5db5b61(
|
|
1149
|
+
*mixins: IMixin,
|
|
1150
|
+
) -> None:
|
|
1151
|
+
"""Type checking stubs"""
|
|
1152
|
+
pass
|
|
1153
|
+
|
|
1036
1154
|
def _typecheckingstub__020ca90e326a91c7b0f70a5c5df3471c78175b709d5adcbee2cb463d0367e387(
|
|
1037
1155
|
scope: Construct,
|
|
1038
1156
|
id: builtins.str,
|
|
@@ -1046,11 +1164,17 @@ def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586
|
|
|
1046
1164
|
"""Type checking stubs"""
|
|
1047
1165
|
pass
|
|
1048
1166
|
|
|
1167
|
+
def _typecheckingstub__dcdf5ec1470924572ba805d2d121897d3ef8160905bcb57bc551eb0b9e2e35a7(
|
|
1168
|
+
*mixins: IMixin,
|
|
1169
|
+
) -> None:
|
|
1170
|
+
"""Type checking stubs"""
|
|
1171
|
+
pass
|
|
1172
|
+
|
|
1049
1173
|
def _typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3(
|
|
1050
1174
|
id: typing.Optional[builtins.str] = None,
|
|
1051
1175
|
) -> None:
|
|
1052
1176
|
"""Type checking stubs"""
|
|
1053
1177
|
pass
|
|
1054
1178
|
|
|
1055
|
-
for cls in [IConstruct, IDependable, IValidation]:
|
|
1179
|
+
for cls in [IConstruct, IDependable, IMixin, IValidation]:
|
|
1056
1180
|
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -29,7 +29,7 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
29
29
|
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
30
30
|
|
|
31
31
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
32
|
-
"constructs", "10.
|
|
32
|
+
"constructs", "10.5.0", __name__[0:-6], "constructs@10.5.0.jsii.tgz"
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: constructs
|
|
3
|
-
Version: 10.
|
|
3
|
+
Version: 10.5.0
|
|
4
4
|
Summary: A programming model for software-defined state
|
|
5
5
|
Home-page: https://github.com/aws/constructs
|
|
6
6
|
Author: Amazon Web Services<aws-cdk-dev@amazon.com>
|
|
@@ -20,7 +20,7 @@ Requires-Python: ~=3.9
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
23
|
+
Requires-Dist: jsii<2.0.0,>=1.126.0
|
|
24
24
|
Requires-Dist: publication>=0.0.3
|
|
25
25
|
Requires-Dist: typeguard==2.13.3
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ Requires-Dist: typeguard==2.13.3
|
|
|
32
32
|
[](https://badge.fury.io/js/constructs)
|
|
33
33
|
[](https://badge.fury.io/py/constructs)
|
|
34
34
|
[](https://badge.fury.io/nu/Constructs)
|
|
35
|
-
[](https://maven-badges.sml.io/maven-central/software.constructs/constructs)
|
|
36
36
|
|
|
37
37
|
## What are constructs?
|
|
38
38
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|