cdk-mwaa 0.0.12__tar.gz → 0.0.14__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.12
3
+ Version: 0.0.14
4
4
  Summary: cdk-mwaa
5
5
  Home-page: https://github.com/hupe1980/cdk-mwaa.git
6
6
  Author: hupe1980<frankhuebner1980@gmail.com>
@@ -19,7 +19,7 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.9
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.182.0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.185.0
23
23
  Requires-Dist: constructs<11.0.0,>=10.0.5
24
24
  Requires-Dist: jsii<2.0.0,>=1.109.0
25
25
  Requires-Dist: publication>=0.0.3
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-mwaa",
8
- "version": "0.0.12",
8
+ "version": "0.0.14",
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.12.jsii.tgz"
29
+ "cdk-mwaa@0.0.14.jsii.tgz"
30
30
  ],
31
31
  "cdk_mwaa": [
32
32
  "py.typed"
@@ -34,7 +34,7 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.182.0, <3.0.0",
37
+ "aws-cdk-lib>=2.185.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
39
  "jsii>=1.109.0, <2.0.0",
40
40
  "publication>=0.0.3",
@@ -124,6 +124,7 @@ import aws_cdk as _aws_cdk_ceddda9d
124
124
  import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
125
125
  import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d
126
126
  import aws_cdk.aws_kms as _aws_cdk_aws_kms_ceddda9d
127
+ import aws_cdk.aws_logs as _aws_cdk_aws_logs_ceddda9d
127
128
  import aws_cdk.aws_s3 as _aws_cdk_aws_s3_ceddda9d
128
129
  import constructs as _constructs_77d1e7e8
129
130
 
@@ -1142,9 +1143,9 @@ class Environment(
1142
1143
  return typing.cast(builtins.str, jsii.get(self, "celeryExecutorQueue"))
1143
1144
 
1144
1145
  @builtins.property
1145
- @jsii.member(jsii_name="dagProcessingLogsGroupArn")
1146
- def dag_processing_logs_group_arn(self) -> builtins.str:
1147
- return typing.cast(builtins.str, jsii.get(self, "dagProcessingLogsGroupArn"))
1146
+ @jsii.member(jsii_name="dagProcessingLogsGroup")
1147
+ def dag_processing_logs_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
1148
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "dagProcessingLogsGroup"))
1148
1149
 
1149
1150
  @builtins.property
1150
1151
  @jsii.member(jsii_name="databaseVpcEndpointService")
@@ -1157,19 +1158,19 @@ class Environment(
1157
1158
  return typing.cast(builtins.str, jsii.get(self, "name"))
1158
1159
 
1159
1160
  @builtins.property
1160
- @jsii.member(jsii_name="schedulerLogsGroupArn")
1161
- def scheduler_logs_group_arn(self) -> builtins.str:
1162
- return typing.cast(builtins.str, jsii.get(self, "schedulerLogsGroupArn"))
1161
+ @jsii.member(jsii_name="schedulerLogsGroup")
1162
+ def scheduler_logs_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
1163
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "schedulerLogsGroup"))
1163
1164
 
1164
1165
  @builtins.property
1165
- @jsii.member(jsii_name="taskLogsGroupArn")
1166
- def task_logs_group_arn(self) -> builtins.str:
1167
- return typing.cast(builtins.str, jsii.get(self, "taskLogsGroupArn"))
1166
+ @jsii.member(jsii_name="taskLogsGroup")
1167
+ def task_logs_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
1168
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "taskLogsGroup"))
1168
1169
 
1169
1170
  @builtins.property
1170
- @jsii.member(jsii_name="webserverLogsGroupArn")
1171
- def webserver_logs_group_arn(self) -> builtins.str:
1172
- return typing.cast(builtins.str, jsii.get(self, "webserverLogsGroupArn"))
1171
+ @jsii.member(jsii_name="webserverLogsGroup")
1172
+ def webserver_logs_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
1173
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "webserverLogsGroup"))
1173
1174
 
1174
1175
  @builtins.property
1175
1176
  @jsii.member(jsii_name="webserverUrl")
@@ -1182,9 +1183,9 @@ class Environment(
1182
1183
  return typing.cast(builtins.str, jsii.get(self, "webserverVpcEndpointService"))
1183
1184
 
1184
1185
  @builtins.property
1185
- @jsii.member(jsii_name="workerLogsGroupArn")
1186
- def worker_logs_group_arn(self) -> builtins.str:
1187
- return typing.cast(builtins.str, jsii.get(self, "workerLogsGroupArn"))
1186
+ @jsii.member(jsii_name="workerLogsGroup")
1187
+ def worker_logs_group(self) -> _aws_cdk_aws_logs_ceddda9d.ILogGroup:
1188
+ return typing.cast(_aws_cdk_aws_logs_ceddda9d.ILogGroup, jsii.get(self, "workerLogsGroup"))
1188
1189
 
1189
1190
 
1190
1191
  @jsii.enum(jsii_type="cdk-mwaa.EnvironmentClass")
@@ -1486,7 +1487,11 @@ class LoggingConfiguration:
1486
1487
  @jsii.data_type(
1487
1488
  jsii_type="cdk-mwaa.LoggingConfigurationProperty",
1488
1489
  jsii_struct_bases=[],
1489
- name_mapping={"enabled": "enabled", "log_level": "logLevel"},
1490
+ name_mapping={
1491
+ "enabled": "enabled",
1492
+ "log_level": "logLevel",
1493
+ "retention": "retention",
1494
+ },
1490
1495
  )
1491
1496
  class LoggingConfigurationProperty:
1492
1497
  def __init__(
@@ -1494,34 +1499,48 @@ class LoggingConfigurationProperty:
1494
1499
  *,
1495
1500
  enabled: typing.Optional[builtins.bool] = None,
1496
1501
  log_level: typing.Optional[LogLevel] = None,
1502
+ retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
1497
1503
  ) -> None:
1498
1504
  '''Defines the logging configuration properties for various Airflow log types.
1499
1505
 
1500
- :param enabled: Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs.
1501
- :param log_level: Defines the log level for the specified log type (e.g. DagProcessingLogs). Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG.
1506
+ :param enabled: Indicates whether to enable the Apache Airflow log type (e.g., DagProcessingLogs) in CloudWatch Logs.
1507
+ :param log_level: Defines the log level for the specified log type (e.g., DagProcessingLogs). Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG.
1508
+ :param retention: Specifies the retention period for the log group in Amazon CloudWatch Logs. Determines how long the logs should be kept before being automatically deleted.
1502
1509
  '''
1503
1510
  if __debug__:
1504
1511
  type_hints = typing.get_type_hints(_typecheckingstub__36e478654aa87904502c267bca96d1a7c0ca8f8e5e749464cb92a7cd1fd2c4b0)
1505
1512
  check_type(argname="argument enabled", value=enabled, expected_type=type_hints["enabled"])
1506
1513
  check_type(argname="argument log_level", value=log_level, expected_type=type_hints["log_level"])
1514
+ check_type(argname="argument retention", value=retention, expected_type=type_hints["retention"])
1507
1515
  self._values: typing.Dict[builtins.str, typing.Any] = {}
1508
1516
  if enabled is not None:
1509
1517
  self._values["enabled"] = enabled
1510
1518
  if log_level is not None:
1511
1519
  self._values["log_level"] = log_level
1520
+ if retention is not None:
1521
+ self._values["retention"] = retention
1512
1522
 
1513
1523
  @builtins.property
1514
1524
  def enabled(self) -> typing.Optional[builtins.bool]:
1515
- '''Indicates whether to enable the Apache Airflow log type (e.g. DagProcessingLogs) in CloudWatch Logs.'''
1525
+ '''Indicates whether to enable the Apache Airflow log type (e.g., DagProcessingLogs) in CloudWatch Logs.'''
1516
1526
  result = self._values.get("enabled")
1517
1527
  return typing.cast(typing.Optional[builtins.bool], result)
1518
1528
 
1519
1529
  @builtins.property
1520
1530
  def log_level(self) -> typing.Optional[LogLevel]:
1521
- '''Defines the log level for the specified log type (e.g. DagProcessingLogs). Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG.'''
1531
+ '''Defines the log level for the specified log type (e.g., DagProcessingLogs). Valid values: CRITICAL, ERROR, WARNING, INFO, DEBUG.'''
1522
1532
  result = self._values.get("log_level")
1523
1533
  return typing.cast(typing.Optional[LogLevel], result)
1524
1534
 
1535
+ @builtins.property
1536
+ def retention(self) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
1537
+ '''Specifies the retention period for the log group in Amazon CloudWatch Logs.
1538
+
1539
+ Determines how long the logs should be kept before being automatically deleted.
1540
+ '''
1541
+ result = self._values.get("retention")
1542
+ return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays], result)
1543
+
1525
1544
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1526
1545
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1527
1546
 
@@ -2847,6 +2866,7 @@ def _typecheckingstub__36e478654aa87904502c267bca96d1a7c0ca8f8e5e749464cb92a7cd1
2847
2866
  *,
2848
2867
  enabled: typing.Optional[builtins.bool] = None,
2849
2868
  log_level: typing.Optional[LogLevel] = None,
2869
+ retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
2850
2870
  ) -> None:
2851
2871
  """Type checking stubs"""
2852
2872
  pass
@@ -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.12", __name__[0:-6], "cdk-mwaa@0.0.12.jsii.tgz"
35
+ "cdk-mwaa", "0.0.14", __name__[0:-6], "cdk-mwaa@0.0.14.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.12
3
+ Version: 0.0.14
4
4
  Summary: cdk-mwaa
5
5
  Home-page: https://github.com/hupe1980/cdk-mwaa.git
6
6
  Author: hupe1980<frankhuebner1980@gmail.com>
@@ -19,7 +19,7 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.9
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.182.0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.185.0
23
23
  Requires-Dist: constructs<11.0.0,>=10.0.5
24
24
  Requires-Dist: jsii<2.0.0,>=1.109.0
25
25
  Requires-Dist: publication>=0.0.3
@@ -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.12.jsii.tgz
14
+ src/cdk_mwaa/_jsii/cdk-mwaa@0.0.14.jsii.tgz
@@ -1,4 +1,4 @@
1
- aws-cdk-lib<3.0.0,>=2.182.0
1
+ aws-cdk-lib<3.0.0,>=2.185.0
2
2
  constructs<11.0.0,>=10.0.5
3
3
  jsii<2.0.0,>=1.109.0
4
4
  publication>=0.0.3
File without changes
File without changes
File without changes
File without changes
File without changes