constructs 10.3.2__tar.gz → 10.4.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: constructs
3
- Version: 10.3.2
3
+ Version: 10.4.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>
@@ -41,6 +41,10 @@ Constructs are classes which define a "piece of system state". Constructs can be
41
41
 
42
42
  Constructs are often used to represent the *desired state* of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a *resource definition* in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.
43
43
 
44
+ ## Support policy
45
+
46
+ All [maintained Node.js versions](https://nodejs.org/en/about/previous-releases#release-schedule) are supported by this package.
47
+
44
48
  ## Contributing
45
49
 
46
50
  This project has adopted the [Amazon Open Source Code of
@@ -14,6 +14,10 @@ Constructs are classes which define a "piece of system state". Constructs can be
14
14
 
15
15
  Constructs are often used to represent the *desired state* of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a *resource definition* in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.
16
16
 
17
+ ## Support policy
18
+
19
+ All [maintained Node.js versions](https://nodejs.org/en/about/previous-releases#release-schedule) are supported by this package.
20
+
17
21
  ## Contributing
18
22
 
19
23
  This project has adopted the [Amazon Open Source Code of
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "constructs",
8
- "version": "10.3.2",
8
+ "version": "10.4.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.3.2.jsii.tgz"
29
+ "constructs@10.4.0.jsii.tgz"
30
30
  ],
31
31
  "constructs": [
32
32
  "py.typed"
@@ -15,6 +15,10 @@ Constructs are classes which define a "piece of system state". Constructs can be
15
15
 
16
16
  Constructs are often used to represent the *desired state* of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a *resource definition* in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.
17
17
 
18
+ ## Support policy
19
+
20
+ All [maintained Node.js versions](https://nodejs.org/en/about/previous-releases#release-schedule) are supported by this package.
21
+
18
22
  ## Contributing
19
23
 
20
24
  This project has adopted the [Amazon Open Source Code of
@@ -57,7 +61,7 @@ class ConstructOrder(enum.Enum):
57
61
 
58
62
 
59
63
  class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependable"):
60
- '''(experimental) Trait for IDependable.
64
+ '''Trait for IDependable.
61
65
 
62
66
  Traits are interfaces that are privately implemented by objects. Instead of
63
67
  showing up in the public interface of a class, they need to be queried
@@ -65,8 +69,6 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
65
69
  not intended to be used by Construct consumers, and so should be hidden
66
70
  from accidental use.
67
71
 
68
- :stability: experimental
69
-
70
72
  Example::
71
73
 
72
74
  // Usage
@@ -100,12 +102,10 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
100
102
  @jsii.member(jsii_name="implement")
101
103
  @builtins.classmethod
102
104
  def implement(cls, instance: "IDependable", trait: "Dependable") -> None:
103
- '''(experimental) Turn any object into an IDependable.
105
+ '''Turn any object into an IDependable.
104
106
 
105
107
  :param instance: -
106
108
  :param trait: -
107
-
108
- :stability: experimental
109
109
  '''
110
110
  if __debug__:
111
111
  type_hints = typing.get_type_hints(_typecheckingstub__fccfa163f8f38b89195d804e18f7122f2b59a7ba7b57ea51cf581e4ae5719bf9)
@@ -116,11 +116,9 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
116
116
  @jsii.member(jsii_name="of")
117
117
  @builtins.classmethod
118
118
  def of(cls, instance: "IDependable") -> "Dependable":
119
- '''(experimental) Return the matching Dependable for the given class instance.
119
+ '''Return the matching Dependable for the given class instance.
120
120
 
121
121
  :param instance: -
122
-
123
- :stability: experimental
124
122
  '''
125
123
  if __debug__:
126
124
  type_hints = typing.get_type_hints(_typecheckingstub__54a9441299838c86c77ad919b31ab158da6bd872c3bf8bf55f147c17abeea083)
@@ -131,12 +129,10 @@ class Dependable(metaclass=jsii.JSIIAbstractClass, jsii_type="constructs.Dependa
131
129
  @jsii.member(jsii_name="dependencyRoots")
132
130
  @abc.abstractmethod
133
131
  def dependency_roots(self) -> typing.List["IConstruct"]:
134
- '''(experimental) The set of constructs that form the root of this dependable.
132
+ '''The set of constructs that form the root of this dependable.
135
133
 
136
134
  All resources under all returned constructs are included in the ordering
137
135
  dependency.
138
-
139
- :stability: experimental
140
136
  '''
141
137
  ...
142
138
 
@@ -145,12 +141,10 @@ class _DependableProxy(Dependable):
145
141
  @builtins.property
146
142
  @jsii.member(jsii_name="dependencyRoots")
147
143
  def dependency_roots(self) -> typing.List["IConstruct"]:
148
- '''(experimental) The set of constructs that form the root of this dependable.
144
+ '''The set of constructs that form the root of this dependable.
149
145
 
150
146
  All resources under all returned constructs are included in the ordering
151
147
  dependency.
152
-
153
- :stability: experimental
154
148
  '''
155
149
  return typing.cast(typing.List["IConstruct"], jsii.get(self, "dependencyRoots"))
156
150
 
@@ -572,13 +566,11 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
572
566
 
573
567
  @jsii.member(jsii_name="tryRemoveChild")
574
568
  def try_remove_child(self, child_name: builtins.str) -> builtins.bool:
575
- '''(experimental) Remove the child with the given name, if present.
569
+ '''Remove the child with the given name, if present.
576
570
 
577
571
  :param child_name: -
578
572
 
579
573
  :return: Whether a child with the given name was deleted.
580
-
581
- :stability: experimental
582
574
  '''
583
575
  if __debug__:
584
576
  type_hints = typing.get_type_hints(_typecheckingstub__0cebd94ba5b2c7d277443dcec352c8c4c87ccbf209e78088ca08a915eb956e36)
@@ -616,9 +608,9 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
616
608
  Addresses are calculated using a SHA-1 of the components of the construct
617
609
  path.
618
610
 
619
- To enable refactorings of construct trees, constructs with the ID ``Default``
611
+ To enable refactoring of construct trees, constructs with the ID ``Default``
620
612
  will be excluded from the calculation. In those cases constructs in the
621
- same tree may have the same addreess.
613
+ same tree may have the same address.
622
614
 
623
615
  Example::
624
616
 
@@ -734,19 +726,15 @@ class Node(metaclass=jsii.JSIIMeta, jsii_type="constructs.Node"):
734
726
 
735
727
  @jsii.implements(IDependable)
736
728
  class DependencyGroup(metaclass=jsii.JSIIMeta, jsii_type="constructs.DependencyGroup"):
737
- '''(experimental) A set of constructs to be used as a dependable.
729
+ '''A set of constructs to be used as a dependable.
738
730
 
739
731
  This class can be used when a set of constructs which are disjoint in the
740
732
  construct tree needs to be combined to be used as a single dependable.
741
-
742
- :stability: experimental
743
733
  '''
744
734
 
745
735
  def __init__(self, *deps: IDependable) -> None:
746
736
  '''
747
737
  :param deps: -
748
-
749
- :stability: experimental
750
738
  '''
751
739
  if __debug__:
752
740
  type_hints = typing.get_type_hints(_typecheckingstub__352fc9ab190809e73b4fcb80cbc3398602d98955aad9386dfbc7162176aa6cbc)
@@ -755,11 +743,9 @@ class DependencyGroup(metaclass=jsii.JSIIMeta, jsii_type="constructs.DependencyG
755
743
 
756
744
  @jsii.member(jsii_name="add")
757
745
  def add(self, *scopes: IDependable) -> None:
758
- '''(experimental) Add a construct to the dependency roots.
746
+ '''Add a construct to the dependency roots.
759
747
 
760
748
  :param scopes: -
761
-
762
- :stability: experimental
763
749
  '''
764
750
  if __debug__:
765
751
  type_hints = typing.get_type_hints(_typecheckingstub__b0e6908dfe4df8e9318ecca332ccd3a1a3e28fcf76f414daa5a764cba186ef02)
@@ -815,6 +801,18 @@ class Construct(metaclass=jsii.JSIIMeta, jsii_type="constructs.Construct"):
815
801
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
816
802
  jsii.create(self.__class__, self, [scope, id])
817
803
 
804
+ @jsii.member(jsii_name="createRoot")
805
+ @builtins.classmethod
806
+ def create_root(cls, id: typing.Optional[builtins.str] = None) -> "Construct":
807
+ '''Creates a new root construct node.
808
+
809
+ :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 ``--``.
810
+ '''
811
+ if __debug__:
812
+ type_hints = typing.get_type_hints(_typecheckingstub__6977719c6b0c33e0c0a5ab31ece9bd2640b7d89d14eac5c29d4c0e4c558cdf70)
813
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
814
+ return typing.cast("Construct", jsii.sinvoke(cls, "createRoot", [id]))
815
+
818
816
  @jsii.member(jsii_name="isConstruct")
819
817
  @builtins.classmethod
820
818
  def is_construct(cls, x: typing.Any) -> builtins.bool:
@@ -1016,6 +1014,12 @@ def _typecheckingstub__020ca90e326a91c7b0f70a5c5df3471c78175b709d5adcbee2cb463d0
1016
1014
  """Type checking stubs"""
1017
1015
  pass
1018
1016
 
1017
+ def _typecheckingstub__6977719c6b0c33e0c0a5ab31ece9bd2640b7d89d14eac5c29d4c0e4c558cdf70(
1018
+ id: typing.Optional[builtins.str] = None,
1019
+ ) -> None:
1020
+ """Type checking stubs"""
1021
+ pass
1022
+
1019
1023
  def _typecheckingstub__fd6a4114560af835bb1c07485e906499cadbf16cf78d7e344bc100586fce523f(
1020
1024
  x: typing.Any,
1021
1025
  ) -> None:
@@ -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.3.2", __name__[0:-6], "constructs@10.3.2.jsii.tgz"
17
+ "constructs", "10.4.0", __name__[0:-6], "constructs@10.4.0.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.3.2
3
+ Version: 10.4.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>
@@ -41,6 +41,10 @@ Constructs are classes which define a "piece of system state". Constructs can be
41
41
 
42
42
  Constructs are often used to represent the *desired state* of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a *resource definition* in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.
43
43
 
44
+ ## Support policy
45
+
46
+ All [maintained Node.js versions](https://nodejs.org/en/about/previous-releases#release-schedule) are supported by this package.
47
+
44
48
  ## Contributing
45
49
 
46
50
  This project has adopted the [Amazon Open Source Code of
@@ -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.3.2.jsii.tgz
15
+ src/constructs/_jsii/constructs@10.4.0.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes