cdktn 0.25.0.dev43__tar.gz → 0.25.0.dev50__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: cdktn
3
- Version: 0.25.0.dev43
3
+ Version: 0.25.0.dev50
4
4
  Summary: Cloud Development Kit for Terraform
5
5
  Home-page: https://github.com/open-constructs/cdk-terrain
6
6
  Author: OpenConstructs
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdktn",
8
- "version": "0.25.0.dev43",
8
+ "version": "0.25.0.dev50",
9
9
  "description": "Cloud Development Kit for Terraform",
10
10
  "license": "MPL-2.0",
11
11
  "url": "https://github.com/open-constructs/cdk-terrain",
@@ -27,7 +27,7 @@ kwargs = json.loads(
27
27
  ],
28
28
  "package_data": {
29
29
  "cdktn._jsii": [
30
- "cdktn@0.25.0-pre.43.jsii.tgz"
30
+ "cdktn@0.25.0-pre.50.jsii.tgz"
31
31
  ],
32
32
  "cdktn": [
33
33
  "py.typed"
@@ -21,7 +21,7 @@ _SUBMODULE_FQN_MAP = {
21
21
  }
22
22
 
23
23
  __jsii_assembly__ = jsii.JSIIAssembly.load(
24
- "cdktn", "0.25.0-pre.43", __name__[0:-6], "cdktn@0.25.0-pre.43.jsii.tgz"
24
+ "cdktn", "0.25.0-pre.50", __name__[0:-6], "cdktn@0.25.0-pre.50.jsii.tgz"
25
25
  )
26
26
 
27
27
  __all__ = [
@@ -21,16 +21,15 @@ class AssertionReturn(
21
21
  metaclass=jsii.JSIIMeta,
22
22
  jsii_type="cdktn.testingMatchers.AssertionReturn",
23
23
  ):
24
- '''(experimental) Class representing the contents of a return by an assertion.
24
+ '''(experimental) The result of a testing matcher assertion.
25
25
 
26
26
  :stability: experimental
27
27
  '''
28
28
 
29
29
  def __init__(self, message: builtins.str, pass_: builtins.bool) -> None:
30
- '''(experimental) Create an AssertionReturn.
31
-
32
- :param message: - String message containing information about the result of the assertion.
33
- :param pass_: - Boolean pass denoting the success of the assertion.
30
+ '''
31
+ :param message: -
32
+ :param pass_: -
34
33
 
35
34
  :stability: experimental
36
35
  '''
@@ -43,8 +42,7 @@ class AssertionReturn(
43
42
  @builtins.property
44
43
  @jsii.member(jsii_name="message")
45
44
  def message(self) -> builtins.str:
46
- '''(experimental) - String message containing information about the result of the assertion.
47
-
45
+ '''
48
46
  :stability: experimental
49
47
  '''
50
48
  return typing.cast(builtins.str, jsii.get(self, "message"))
@@ -52,8 +50,7 @@ class AssertionReturn(
52
50
  @builtins.property
53
51
  @jsii.member(jsii_name="pass")
54
52
  def pass_(self) -> builtins.bool:
55
- '''(experimental) - Boolean pass denoting the success of the assertion.
56
-
53
+ '''
57
54
  :stability: experimental
58
55
  '''
59
56
  return typing.cast(builtins.bool, jsii.get(self, "pass"))
@@ -99,9 +96,56 @@ class TerraformConstructor:
99
96
  )
100
97
 
101
98
 
99
+ @jsii.data_type(
100
+ jsii_type="cdktn.testingMatchers.ToPlanSuccessfullyOptions",
101
+ jsii_struct_bases=[],
102
+ name_mapping={"backend": "backend"},
103
+ )
104
+ class ToPlanSuccessfullyOptions:
105
+ def __init__(self, *, backend: typing.Optional[builtins.bool] = None) -> None:
106
+ '''
107
+ :param backend: (experimental) Whether ``init``/``plan`` should use the stack's real backend. Disable this for stacks whose backend (e.g. s3, remote) is not reachable in the test environment and whose plan does not depend on existing state. Default: true
108
+
109
+ :stability: experimental
110
+ '''
111
+ if __debug__:
112
+ type_hints = cached_type_hints(_typecheckingstub__44808bbd31df1092b68dbb99469fe6dd492de72936319b197d3d36060f0ae90d)
113
+ check_type(argname="argument backend", value=backend, expected_type=type_hints["backend"])
114
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
115
+ if backend is not None:
116
+ self._values["backend"] = backend
117
+
118
+ @builtins.property
119
+ def backend(self) -> typing.Optional[builtins.bool]:
120
+ '''(experimental) Whether ``init``/``plan`` should use the stack's real backend.
121
+
122
+ Disable this for stacks whose
123
+ backend (e.g. s3, remote) is not reachable in the test environment and whose plan does not
124
+ depend on existing state.
125
+
126
+ :default: true
127
+
128
+ :stability: experimental
129
+ '''
130
+ result = self._values.get("backend")
131
+ return typing.cast(typing.Optional[builtins.bool], result)
132
+
133
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
134
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
135
+
136
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
137
+ return not (rhs == self)
138
+
139
+ def __repr__(self) -> str:
140
+ return "ToPlanSuccessfullyOptions(%s)" % ", ".join(
141
+ k + "=" + repr(v) for k, v in self._values.items()
142
+ )
143
+
144
+
102
145
  __all__ = [
103
146
  "AssertionReturn",
104
147
  "TerraformConstructor",
148
+ "ToPlanSuccessfullyOptions",
105
149
  ]
106
150
 
107
151
  publication.publish()
@@ -119,3 +163,10 @@ def _typecheckingstub__da81a9794f992f914e9f1bcbe907d3f1b7bd31484ee561f00afd7716b
119
163
  ) -> None:
120
164
  """Type checking stubs"""
121
165
  pass
166
+
167
+ def _typecheckingstub__44808bbd31df1092b68dbb99469fe6dd492de72936319b197d3d36060f0ae90d(
168
+ *,
169
+ backend: typing.Optional[builtins.bool] = None,
170
+ ) -> None:
171
+ """Type checking stubs"""
172
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdktn
3
- Version: 0.25.0.dev43
3
+ Version: 0.25.0.dev50
4
4
  Summary: Cloud Development Kit for Terraform
5
5
  Home-page: https://github.com/open-constructs/cdk-terrain
6
6
  Author: OpenConstructs
@@ -11,5 +11,5 @@ src/cdktn.egg-info/dependency_links.txt
11
11
  src/cdktn.egg-info/requires.txt
12
12
  src/cdktn.egg-info/top_level.txt
13
13
  src/cdktn/_jsii/__init__.py
14
- src/cdktn/_jsii/cdktn@0.25.0-pre.43.jsii.tgz
14
+ src/cdktn/_jsii/cdktn@0.25.0-pre.50.jsii.tgz
15
15
  src/cdktn/testing_matchers/__init__.py
File without changes
File without changes
File without changes
File without changes