constructs 10.4.1__tar.gz → 10.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.4.1
3
+ Version: 10.4.2
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>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "constructs",
8
- "version": "10.4.1",
8
+ "version": "10.4.2",
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.4.1.jsii.tgz"
29
+ "constructs@10.4.2.jsii.tgz"
30
30
  ],
31
31
  "constructs": [
32
32
  "py.typed"
@@ -841,6 +841,28 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
841
841
  return typing.cast(Node, jsii.get(self, "node"))
842
842
 
843
843
 
844
+ class RootConstruct(
845
+ Construct,
846
+ metaclass=jsii.JSIIMeta,
847
+ jsii_type="constructs.RootConstruct",
848
+ ):
849
+ '''Creates a new root construct node.
850
+
851
+ The root construct represents the top of the construct tree and is not contained within a parent scope itself.
852
+ For root constructs, the id is optional.
853
+ '''
854
+
855
+ def __init__(self, id: typing.Optional[builtins.str] = None) -> None:
856
+ '''Creates a new root construct node.
857
+
858
+ :param id: The scoped construct ID. Must be unique amongst siblings. If the ID includes a path separator (``/``), then it will be replaced by double dash ``--``.
859
+ '''
860
+ if __debug__:
861
+ type_hints = typing.get_type_hints(_typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3)
862
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
863
+ jsii.create(self.__class__, self, [id])
864
+
865
+
844
866
  __all__ = [
845
867
  "Construct",
846
868
  "ConstructOrder",
@@ -852,6 +874,7 @@ __all__ = [
852
874
  "MetadataEntry",
853
875
  "MetadataOptions",
854
876
  "Node",
877
+ "RootConstruct",
855
878
  ]
856
879
 
857
880
  publication.publish()
@@ -1007,3 +1030,9 @@ def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586
1007
1030
  ) -> None:
1008
1031
  """Type checking stubs"""
1009
1032
  pass
1033
+
1034
+ def _typecheckingstub__43869d89939a2770444321abd60b2fdb0daaa395e2fa7d025fe7acd93e2d4dc3(
1035
+ id: typing.Optional[builtins.str] = None,
1036
+ ) -> None:
1037
+ """Type checking stubs"""
1038
+ pass
@@ -14,7 +14,7 @@ import typing_extensions
14
14
  from typeguard import check_type
15
15
 
16
16
  __jsii_assembly__ = jsii.JSIIAssembly.load(
17
- "constructs", "10.4.1", __name__[0:-6], "constructs@10.4.1.jsii.tgz"
17
+ "constructs", "10.4.2", __name__[0:-6], "constructs@10.4.2.jsii.tgz"
18
18
  )
19
19
 
20
20
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.4.1
3
+ Version: 10.4.2
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>
@@ -12,4 +12,4 @@ src/constructs.egg-info/dependency_links.txt
12
12
  src/constructs.egg-info/requires.txt
13
13
  src/constructs.egg-info/top_level.txt
14
14
  src/constructs/_jsii/__init__.py
15
- src/constructs/_jsii/constructs@10.4.1.jsii.tgz
15
+ src/constructs/_jsii/constructs@10.4.2.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes