cdk-mwaa 0.0.15__tar.gz → 0.0.17__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.15
3
+ Version: 0.0.17
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.15",
8
+ "version": "0.0.17",
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.15.jsii.tgz"
29
+ "cdk-mwaa@0.0.17.jsii.tgz"
30
30
  ],
31
31
  "cdk_mwaa": [
32
32
  "py.typed"
@@ -663,32 +663,55 @@ class DagStorage(
663
663
  @builtins.property
664
664
  @jsii.member(jsii_name="pluginsS3ObjectVersion")
665
665
  def plugins_s3_object_version(self) -> typing.Optional[builtins.str]:
666
+ '''The version ID of the plugins file in S3, if versioning is enabled for the bucket.
667
+
668
+ This allows referencing a specific version of the plugins file.
669
+ '''
666
670
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "pluginsS3ObjectVersion"))
667
671
 
668
672
  @builtins.property
669
673
  @jsii.member(jsii_name="pluginsS3Path")
670
674
  def plugins_s3_path(self) -> typing.Optional[builtins.str]:
671
- '''S3 paths and object versions for configuration files.'''
675
+ '''The S3 path where the plugins file is stored.
676
+
677
+ This is the full path in the S3 bucket, including the prefix and file name.
678
+ '''
672
679
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "pluginsS3Path"))
673
680
 
674
681
  @builtins.property
675
682
  @jsii.member(jsii_name="requirementsS3ObjectVersion")
676
683
  def requirements_s3_object_version(self) -> typing.Optional[builtins.str]:
684
+ '''The version ID of the requirements file in S3, if versioning is enabled for the bucket.
685
+
686
+ This allows referencing a specific version of the requirements file.
687
+ '''
677
688
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "requirementsS3ObjectVersion"))
678
689
 
679
690
  @builtins.property
680
691
  @jsii.member(jsii_name="requirementsS3Path")
681
692
  def requirements_s3_path(self) -> typing.Optional[builtins.str]:
693
+ '''The S3 path where the requirements file is stored.
694
+
695
+ This is the full path in the S3 bucket, including the prefix and file name.
696
+ '''
682
697
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "requirementsS3Path"))
683
698
 
684
699
  @builtins.property
685
700
  @jsii.member(jsii_name="startupScriptS3ObjectVersion")
686
701
  def startup_script_s3_object_version(self) -> typing.Optional[builtins.str]:
702
+ '''The version ID of the startup script in S3, if versioning is enabled for the bucket.
703
+
704
+ This allows referencing a specific version of the startup script.
705
+ '''
687
706
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "startupScriptS3ObjectVersion"))
688
707
 
689
708
  @builtins.property
690
709
  @jsii.member(jsii_name="startupScriptS3Path")
691
710
  def startup_script_s3_path(self) -> typing.Optional[builtins.str]:
711
+ '''The S3 path where the startup script is stored.
712
+
713
+ This is the full path in the S3 bucket, including the prefix and file name.
714
+ '''
692
715
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "startupScriptS3Path"))
693
716
 
694
717
 
@@ -873,6 +896,7 @@ class DagsOptions:
873
896
  jsii_struct_bases=[],
874
897
  name_mapping={
875
898
  "exclude": "exclude",
899
+ "log_retention": "logRetention",
876
900
  "prune": "prune",
877
901
  "retain_on_delete": "retainOnDelete",
878
902
  },
@@ -882,23 +906,28 @@ class DeployOptions:
882
906
  self,
883
907
  *,
884
908
  exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
909
+ log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
885
910
  prune: typing.Optional[builtins.bool] = None,
886
911
  retain_on_delete: typing.Optional[builtins.bool] = None,
887
912
  ) -> None:
888
913
  '''Options for deploying files to the DAG storage bucket.
889
914
 
890
915
  :param exclude: Patterns to exclude from deployment.
916
+ :param log_retention: Log retention settings for the deployment.
891
917
  :param prune: Whether to remove outdated file versions.
892
918
  :param retain_on_delete: Whether to retain files upon stack deletion.
893
919
  '''
894
920
  if __debug__:
895
921
  type_hints = typing.get_type_hints(_typecheckingstub__48a44035944b9df12f94158952c1f3535c44b8ea35ed316dfb479569f4286bb0)
896
922
  check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
923
+ check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
897
924
  check_type(argname="argument prune", value=prune, expected_type=type_hints["prune"])
898
925
  check_type(argname="argument retain_on_delete", value=retain_on_delete, expected_type=type_hints["retain_on_delete"])
899
926
  self._values: typing.Dict[builtins.str, typing.Any] = {}
900
927
  if exclude is not None:
901
928
  self._values["exclude"] = exclude
929
+ if log_retention is not None:
930
+ self._values["log_retention"] = log_retention
902
931
  if prune is not None:
903
932
  self._values["prune"] = prune
904
933
  if retain_on_delete is not None:
@@ -910,6 +939,14 @@ class DeployOptions:
910
939
  result = self._values.get("exclude")
911
940
  return typing.cast(typing.Optional[typing.List[builtins.str]], result)
912
941
 
942
+ @builtins.property
943
+ def log_retention(
944
+ self,
945
+ ) -> typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays]:
946
+ '''Log retention settings for the deployment.'''
947
+ result = self._values.get("log_retention")
948
+ return typing.cast(typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays], result)
949
+
913
950
  @builtins.property
914
951
  def prune(self) -> typing.Optional[builtins.bool]:
915
952
  '''Whether to remove outdated file versions.'''
@@ -1011,6 +1048,7 @@ class Environment(
1011
1048
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
1012
1049
  airflow_configuration_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
1013
1050
  endpoint_management: typing.Optional[EndpointManagement] = None,
1051
+ execution_role_name: typing.Optional[builtins.str] = None,
1014
1052
  kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
1015
1053
  logging_configuration: typing.Optional[typing.Union["LoggingConfiguration", typing.Dict[builtins.str, typing.Any]]] = None,
1016
1054
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
@@ -1029,6 +1067,7 @@ class Environment(
1029
1067
  :param vpc:
1030
1068
  :param airflow_configuration_options:
1031
1069
  :param endpoint_management:
1070
+ :param execution_role_name:
1032
1071
  :param kms_key:
1033
1072
  :param logging_configuration:
1034
1073
  :param security_groups:
@@ -1048,6 +1087,7 @@ class Environment(
1048
1087
  vpc=vpc,
1049
1088
  airflow_configuration_options=airflow_configuration_options,
1050
1089
  endpoint_management=endpoint_management,
1090
+ execution_role_name=execution_role_name,
1051
1091
  kms_key=kms_key,
1052
1092
  logging_configuration=logging_configuration,
1053
1093
  security_groups=security_groups,
@@ -1209,6 +1249,7 @@ class EnvironmentClass(enum.Enum):
1209
1249
  "vpc": "vpc",
1210
1250
  "airflow_configuration_options": "airflowConfigurationOptions",
1211
1251
  "endpoint_management": "endpointManagement",
1252
+ "execution_role_name": "executionRoleName",
1212
1253
  "kms_key": "kmsKey",
1213
1254
  "logging_configuration": "loggingConfiguration",
1214
1255
  "security_groups": "securityGroups",
@@ -1228,6 +1269,7 @@ class EnvironmentProps:
1228
1269
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
1229
1270
  airflow_configuration_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
1230
1271
  endpoint_management: typing.Optional[EndpointManagement] = None,
1272
+ execution_role_name: typing.Optional[builtins.str] = None,
1231
1273
  kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
1232
1274
  logging_configuration: typing.Optional[typing.Union["LoggingConfiguration", typing.Dict[builtins.str, typing.Any]]] = None,
1233
1275
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
@@ -1244,6 +1286,7 @@ class EnvironmentProps:
1244
1286
  :param vpc:
1245
1287
  :param airflow_configuration_options:
1246
1288
  :param endpoint_management:
1289
+ :param execution_role_name:
1247
1290
  :param kms_key:
1248
1291
  :param logging_configuration:
1249
1292
  :param security_groups:
@@ -1262,6 +1305,7 @@ class EnvironmentProps:
1262
1305
  check_type(argname="argument vpc", value=vpc, expected_type=type_hints["vpc"])
1263
1306
  check_type(argname="argument airflow_configuration_options", value=airflow_configuration_options, expected_type=type_hints["airflow_configuration_options"])
1264
1307
  check_type(argname="argument endpoint_management", value=endpoint_management, expected_type=type_hints["endpoint_management"])
1308
+ check_type(argname="argument execution_role_name", value=execution_role_name, expected_type=type_hints["execution_role_name"])
1265
1309
  check_type(argname="argument kms_key", value=kms_key, expected_type=type_hints["kms_key"])
1266
1310
  check_type(argname="argument logging_configuration", value=logging_configuration, expected_type=type_hints["logging_configuration"])
1267
1311
  check_type(argname="argument security_groups", value=security_groups, expected_type=type_hints["security_groups"])
@@ -1279,6 +1323,8 @@ class EnvironmentProps:
1279
1323
  self._values["airflow_configuration_options"] = airflow_configuration_options
1280
1324
  if endpoint_management is not None:
1281
1325
  self._values["endpoint_management"] = endpoint_management
1326
+ if execution_role_name is not None:
1327
+ self._values["execution_role_name"] = execution_role_name
1282
1328
  if kms_key is not None:
1283
1329
  self._values["kms_key"] = kms_key
1284
1330
  if logging_configuration is not None:
@@ -1334,6 +1380,11 @@ class EnvironmentProps:
1334
1380
  result = self._values.get("endpoint_management")
1335
1381
  return typing.cast(typing.Optional[EndpointManagement], result)
1336
1382
 
1383
+ @builtins.property
1384
+ def execution_role_name(self) -> typing.Optional[builtins.str]:
1385
+ result = self._values.get("execution_role_name")
1386
+ return typing.cast(typing.Optional[builtins.str], result)
1387
+
1337
1388
  @builtins.property
1338
1389
  def kms_key(self) -> typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey]:
1339
1390
  result = self._values.get("kms_key")
@@ -2784,6 +2835,7 @@ def _typecheckingstub__098c6089073cc202551294a55936ecb95864b4c571722f34012f6a90a
2784
2835
  def _typecheckingstub__48a44035944b9df12f94158952c1f3535c44b8ea35ed316dfb479569f4286bb0(
2785
2836
  *,
2786
2837
  exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
2838
+ log_retention: typing.Optional[_aws_cdk_aws_logs_ceddda9d.RetentionDays] = None,
2787
2839
  prune: typing.Optional[builtins.bool] = None,
2788
2840
  retain_on_delete: typing.Optional[builtins.bool] = None,
2789
2841
  ) -> None:
@@ -2809,6 +2861,7 @@ def _typecheckingstub__ebc587b767dfc724460675574ff2adf5d781edef0bcce6da7e68d7601
2809
2861
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
2810
2862
  airflow_configuration_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2811
2863
  endpoint_management: typing.Optional[EndpointManagement] = None,
2864
+ execution_role_name: typing.Optional[builtins.str] = None,
2812
2865
  kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
2813
2866
  logging_configuration: typing.Optional[typing.Union[LoggingConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
2814
2867
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = None,
@@ -2841,6 +2894,7 @@ def _typecheckingstub__d58cfc6f1183850b5b51999d54a17bf62c6f7b5c3c75133b721818d02
2841
2894
  vpc: _aws_cdk_aws_ec2_ceddda9d.IVpc,
2842
2895
  airflow_configuration_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2843
2896
  endpoint_management: typing.Optional[EndpointManagement] = None,
2897
+ execution_role_name: typing.Optional[builtins.str] = None,
2844
2898
  kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
2845
2899
  logging_configuration: typing.Optional[typing.Union[LoggingConfiguration, typing.Dict[builtins.str, typing.Any]]] = None,
2846
2900
  security_groups: typing.Optional[typing.Sequence[_aws_cdk_aws_ec2_ceddda9d.ISecurityGroup]] = 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.15", __name__[0:-6], "cdk-mwaa@0.0.15.jsii.tgz"
35
+ "cdk-mwaa", "0.0.17", __name__[0:-6], "cdk-mwaa@0.0.17.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.15
3
+ Version: 0.0.17
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.15.jsii.tgz
14
+ src/cdk_mwaa/_jsii/cdk-mwaa@0.0.17.jsii.tgz
File without changes
File without changes
File without changes
File without changes
File without changes