cdk-mwaa 0.0.9__tar.gz → 0.0.10__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: cdk-mwaa
3
- Version: 0.0.9
3
+ Version: 0.0.10
4
4
  Summary: cdk-mwaa
5
5
  Home-page: https://github.com/hupe1980/cdk-mwaa.git
6
6
  Author: hupe1980<frankhuebner1980@gmail.com>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-mwaa",
8
- "version": "0.0.9",
8
+ "version": "0.0.10",
9
9
  "description": "cdk-mwaa",
10
10
  "license": "MIT",
11
11
  "url": "https://github.com/hupe1980/cdk-mwaa.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "cdk_mwaa._jsii": [
29
- "cdk-mwaa@0.0.9.jsii.tgz"
29
+ "cdk-mwaa@0.0.10.jsii.tgz"
30
30
  ],
31
31
  "cdk_mwaa": [
32
32
  "py.typed"
@@ -128,6 +128,198 @@ import aws_cdk.aws_s3 as _aws_cdk_aws_s3_ceddda9d
128
128
  import constructs as _constructs_77d1e7e8
129
129
 
130
130
 
131
+ @jsii.data_type(
132
+ jsii_type="cdk-mwaa.AirflowPoolProps",
133
+ jsii_struct_bases=[],
134
+ name_mapping={
135
+ "environment": "environment",
136
+ "pool_name": "poolName",
137
+ "pool_description": "poolDescription",
138
+ "pool_slots": "poolSlots",
139
+ },
140
+ )
141
+ class AirflowPoolProps:
142
+ def __init__(
143
+ self,
144
+ *,
145
+ environment: "Environment",
146
+ pool_name: builtins.str,
147
+ pool_description: typing.Optional[builtins.str] = None,
148
+ pool_slots: typing.Optional[jsii.Number] = None,
149
+ ) -> None:
150
+ '''
151
+ :param environment:
152
+ :param pool_name:
153
+ :param pool_description:
154
+ :param pool_slots:
155
+ '''
156
+ if __debug__:
157
+ type_hints = typing.get_type_hints(_typecheckingstub__ef40a9fd92922a66e131a522a984aec05eba98c0a668dd806969973bb688f73d)
158
+ check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
159
+ check_type(argname="argument pool_name", value=pool_name, expected_type=type_hints["pool_name"])
160
+ check_type(argname="argument pool_description", value=pool_description, expected_type=type_hints["pool_description"])
161
+ check_type(argname="argument pool_slots", value=pool_slots, expected_type=type_hints["pool_slots"])
162
+ self._values: typing.Dict[builtins.str, typing.Any] = {
163
+ "environment": environment,
164
+ "pool_name": pool_name,
165
+ }
166
+ if pool_description is not None:
167
+ self._values["pool_description"] = pool_description
168
+ if pool_slots is not None:
169
+ self._values["pool_slots"] = pool_slots
170
+
171
+ @builtins.property
172
+ def environment(self) -> "Environment":
173
+ result = self._values.get("environment")
174
+ assert result is not None, "Required property 'environment' is missing"
175
+ return typing.cast("Environment", result)
176
+
177
+ @builtins.property
178
+ def pool_name(self) -> builtins.str:
179
+ result = self._values.get("pool_name")
180
+ assert result is not None, "Required property 'pool_name' is missing"
181
+ return typing.cast(builtins.str, result)
182
+
183
+ @builtins.property
184
+ def pool_description(self) -> typing.Optional[builtins.str]:
185
+ result = self._values.get("pool_description")
186
+ return typing.cast(typing.Optional[builtins.str], result)
187
+
188
+ @builtins.property
189
+ def pool_slots(self) -> typing.Optional[jsii.Number]:
190
+ result = self._values.get("pool_slots")
191
+ return typing.cast(typing.Optional[jsii.Number], result)
192
+
193
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
194
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
195
+
196
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
197
+ return not (rhs == self)
198
+
199
+ def __repr__(self) -> str:
200
+ return "AirflowPoolProps(%s)" % ", ".join(
201
+ k + "=" + repr(v) for k, v in self._values.items()
202
+ )
203
+
204
+
205
+ class AirflowResourceBase(
206
+ _constructs_77d1e7e8.Construct,
207
+ metaclass=jsii.JSIIAbstractClass,
208
+ jsii_type="cdk-mwaa.AirflowResourceBase",
209
+ ):
210
+ def __init__(
211
+ self,
212
+ scope: _constructs_77d1e7e8.Construct,
213
+ id: builtins.str,
214
+ *,
215
+ environment: "Environment",
216
+ properties: typing.Mapping[builtins.str, typing.Any],
217
+ resource_type: builtins.str,
218
+ airflow_role: typing.Optional[builtins.str] = None,
219
+ ) -> None:
220
+ '''
221
+ :param scope: -
222
+ :param id: -
223
+ :param environment:
224
+ :param properties:
225
+ :param resource_type:
226
+ :param airflow_role:
227
+ '''
228
+ if __debug__:
229
+ type_hints = typing.get_type_hints(_typecheckingstub__61b1e5b1838312720b9a40d8100bdb1ea7816afa18317e3c11c6c7b57fea60d9)
230
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
231
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
232
+ props = AirflowResourceBaseProps(
233
+ environment=environment,
234
+ properties=properties,
235
+ resource_type=resource_type,
236
+ airflow_role=airflow_role,
237
+ )
238
+
239
+ jsii.create(self.__class__, self, [scope, id, props])
240
+
241
+
242
+ class _AirflowResourceBaseProxy(AirflowResourceBase):
243
+ pass
244
+
245
+ # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class
246
+ typing.cast(typing.Any, AirflowResourceBase).__jsii_proxy_class__ = lambda : _AirflowResourceBaseProxy
247
+
248
+
249
+ @jsii.data_type(
250
+ jsii_type="cdk-mwaa.AirflowResourceBaseProps",
251
+ jsii_struct_bases=[],
252
+ name_mapping={
253
+ "environment": "environment",
254
+ "properties": "properties",
255
+ "resource_type": "resourceType",
256
+ "airflow_role": "airflowRole",
257
+ },
258
+ )
259
+ class AirflowResourceBaseProps:
260
+ def __init__(
261
+ self,
262
+ *,
263
+ environment: "Environment",
264
+ properties: typing.Mapping[builtins.str, typing.Any],
265
+ resource_type: builtins.str,
266
+ airflow_role: typing.Optional[builtins.str] = None,
267
+ ) -> None:
268
+ '''
269
+ :param environment:
270
+ :param properties:
271
+ :param resource_type:
272
+ :param airflow_role:
273
+ '''
274
+ if __debug__:
275
+ type_hints = typing.get_type_hints(_typecheckingstub__8a8f1fd388b3f30715d7f1ec120097450271a8e8e30b8f0b682d0b5169eb2bca)
276
+ check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
277
+ check_type(argname="argument properties", value=properties, expected_type=type_hints["properties"])
278
+ check_type(argname="argument resource_type", value=resource_type, expected_type=type_hints["resource_type"])
279
+ check_type(argname="argument airflow_role", value=airflow_role, expected_type=type_hints["airflow_role"])
280
+ self._values: typing.Dict[builtins.str, typing.Any] = {
281
+ "environment": environment,
282
+ "properties": properties,
283
+ "resource_type": resource_type,
284
+ }
285
+ if airflow_role is not None:
286
+ self._values["airflow_role"] = airflow_role
287
+
288
+ @builtins.property
289
+ def environment(self) -> "Environment":
290
+ result = self._values.get("environment")
291
+ assert result is not None, "Required property 'environment' is missing"
292
+ return typing.cast("Environment", result)
293
+
294
+ @builtins.property
295
+ def properties(self) -> typing.Mapping[builtins.str, typing.Any]:
296
+ result = self._values.get("properties")
297
+ assert result is not None, "Required property 'properties' is missing"
298
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], result)
299
+
300
+ @builtins.property
301
+ def resource_type(self) -> builtins.str:
302
+ result = self._values.get("resource_type")
303
+ assert result is not None, "Required property 'resource_type' is missing"
304
+ return typing.cast(builtins.str, result)
305
+
306
+ @builtins.property
307
+ def airflow_role(self) -> typing.Optional[builtins.str]:
308
+ result = self._values.get("airflow_role")
309
+ return typing.cast(typing.Optional[builtins.str], result)
310
+
311
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
312
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
313
+
314
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
315
+ return not (rhs == self)
316
+
317
+ def __repr__(self) -> str:
318
+ return "AirflowResourceBaseProps(%s)" % ", ".join(
319
+ k + "=" + repr(v) for k, v in self._values.items()
320
+ )
321
+
322
+
131
323
  class BaseVpc(
132
324
  _aws_cdk_aws_ec2_ceddda9d.Vpc,
133
325
  metaclass=jsii.JSIIAbstractClass,
@@ -959,6 +1151,11 @@ class Environment(
959
1151
  def database_vpc_endpoint_service(self) -> builtins.str:
960
1152
  return typing.cast(builtins.str, jsii.get(self, "databaseVpcEndpointService"))
961
1153
 
1154
+ @builtins.property
1155
+ @jsii.member(jsii_name="name")
1156
+ def name(self) -> builtins.str:
1157
+ return typing.cast(builtins.str, jsii.get(self, "name"))
1158
+
962
1159
  @builtins.property
963
1160
  @jsii.member(jsii_name="schedulerLogsGroupArn")
964
1161
  def scheduler_logs_group_arn(self) -> builtins.str:
@@ -2288,6 +2485,43 @@ class WebserverAccessMode(enum.Enum):
2288
2485
  PUBLIC_ONLY = "PUBLIC_ONLY"
2289
2486
 
2290
2487
 
2488
+ class AirflowPool(
2489
+ AirflowResourceBase,
2490
+ metaclass=jsii.JSIIMeta,
2491
+ jsii_type="cdk-mwaa.AirflowPool",
2492
+ ):
2493
+ def __init__(
2494
+ self,
2495
+ scope: _constructs_77d1e7e8.Construct,
2496
+ id: builtins.str,
2497
+ *,
2498
+ environment: Environment,
2499
+ pool_name: builtins.str,
2500
+ pool_description: typing.Optional[builtins.str] = None,
2501
+ pool_slots: typing.Optional[jsii.Number] = None,
2502
+ ) -> None:
2503
+ '''
2504
+ :param scope: -
2505
+ :param id: -
2506
+ :param environment:
2507
+ :param pool_name:
2508
+ :param pool_description:
2509
+ :param pool_slots:
2510
+ '''
2511
+ if __debug__:
2512
+ type_hints = typing.get_type_hints(_typecheckingstub__a87ff3b6f71f463c250df83cf9fd051ffc2d598fc9199d37ac367d525c389523)
2513
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
2514
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
2515
+ props = AirflowPoolProps(
2516
+ environment=environment,
2517
+ pool_name=pool_name,
2518
+ pool_description=pool_description,
2519
+ pool_slots=pool_slots,
2520
+ )
2521
+
2522
+ jsii.create(self.__class__, self, [scope, id, props])
2523
+
2524
+
2291
2525
  @jsii.data_type(
2292
2526
  jsii_type="cdk-mwaa.BaseVpcProps",
2293
2527
  jsii_struct_bases=[CommonVpcProps],
@@ -2382,6 +2616,10 @@ class BaseVpcProps(CommonVpcProps):
2382
2616
 
2383
2617
 
2384
2618
  __all__ = [
2619
+ "AirflowPool",
2620
+ "AirflowPoolProps",
2621
+ "AirflowResourceBase",
2622
+ "AirflowResourceBaseProps",
2385
2623
  "BaseVpc",
2386
2624
  "BaseVpcProps",
2387
2625
  "CommonVpcProps",
@@ -2415,6 +2653,38 @@ __all__ = [
2415
2653
 
2416
2654
  publication.publish()
2417
2655
 
2656
+ def _typecheckingstub__ef40a9fd92922a66e131a522a984aec05eba98c0a668dd806969973bb688f73d(
2657
+ *,
2658
+ environment: Environment,
2659
+ pool_name: builtins.str,
2660
+ pool_description: typing.Optional[builtins.str] = None,
2661
+ pool_slots: typing.Optional[jsii.Number] = None,
2662
+ ) -> None:
2663
+ """Type checking stubs"""
2664
+ pass
2665
+
2666
+ def _typecheckingstub__61b1e5b1838312720b9a40d8100bdb1ea7816afa18317e3c11c6c7b57fea60d9(
2667
+ scope: _constructs_77d1e7e8.Construct,
2668
+ id: builtins.str,
2669
+ *,
2670
+ environment: Environment,
2671
+ properties: typing.Mapping[builtins.str, typing.Any],
2672
+ resource_type: builtins.str,
2673
+ airflow_role: typing.Optional[builtins.str] = None,
2674
+ ) -> None:
2675
+ """Type checking stubs"""
2676
+ pass
2677
+
2678
+ def _typecheckingstub__8a8f1fd388b3f30715d7f1ec120097450271a8e8e30b8f0b682d0b5169eb2bca(
2679
+ *,
2680
+ environment: Environment,
2681
+ properties: typing.Mapping[builtins.str, typing.Any],
2682
+ resource_type: builtins.str,
2683
+ airflow_role: typing.Optional[builtins.str] = None,
2684
+ ) -> None:
2685
+ """Type checking stubs"""
2686
+ pass
2687
+
2418
2688
  def _typecheckingstub__36432c6d2bb93b3d16e7983780304847c92cd402d8b9d4a0d6f29506aa732ff5(
2419
2689
  scope: _constructs_77d1e7e8.Construct,
2420
2690
  id: builtins.str,
@@ -2705,6 +2975,18 @@ def _typecheckingstub__379e3b2e8fe393bf82766c342457e207198846f531bd3cef817a10a9a
2705
2975
  """Type checking stubs"""
2706
2976
  pass
2707
2977
 
2978
+ def _typecheckingstub__a87ff3b6f71f463c250df83cf9fd051ffc2d598fc9199d37ac367d525c389523(
2979
+ scope: _constructs_77d1e7e8.Construct,
2980
+ id: builtins.str,
2981
+ *,
2982
+ environment: Environment,
2983
+ pool_name: builtins.str,
2984
+ pool_description: typing.Optional[builtins.str] = None,
2985
+ pool_slots: typing.Optional[jsii.Number] = None,
2986
+ ) -> None:
2987
+ """Type checking stubs"""
2988
+ pass
2989
+
2708
2990
  def _typecheckingstub__37b318e855026c52b2d51a58b8910511f891b4cb049f49619d4309af57a3e4f4(
2709
2991
  *,
2710
2992
  ip_addresses: typing.Optional[_aws_cdk_aws_ec2_ceddda9d.IIpAddresses] = None,
@@ -32,7 +32,7 @@ import aws_cdk._jsii
32
32
  import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
- "cdk-mwaa", "0.0.9", __name__[0:-6], "cdk-mwaa@0.0.9.jsii.tgz"
35
+ "cdk-mwaa", "0.0.10", __name__[0:-6], "cdk-mwaa@0.0.10.jsii.tgz"
36
36
  )
37
37
 
38
38
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-mwaa
3
- Version: 0.0.9
3
+ Version: 0.0.10
4
4
  Summary: cdk-mwaa
5
5
  Home-page: https://github.com/hupe1980/cdk-mwaa.git
6
6
  Author: hupe1980<frankhuebner1980@gmail.com>
@@ -11,4 +11,4 @@ src/cdk_mwaa.egg-info/dependency_links.txt
11
11
  src/cdk_mwaa.egg-info/requires.txt
12
12
  src/cdk_mwaa.egg-info/top_level.txt
13
13
  src/cdk_mwaa/_jsii/__init__.py
14
- src/cdk_mwaa/_jsii/cdk-mwaa@0.0.9.jsii.tgz
14
+ src/cdk_mwaa/_jsii/cdk-mwaa@0.0.10.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes