aws-cdk-lib 2.143.1__py3-none-any.whl → 2.145.0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (43) hide show
  1. aws_cdk/__init__.py +1 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.143.1.jsii.tgz → aws-cdk-lib@2.145.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +27 -0
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +28 -0
  6. aws_cdk/aws_appconfig/__init__.py +132 -1
  7. aws_cdk/aws_autoscaling/__init__.py +4 -4
  8. aws_cdk/aws_bedrock/__init__.py +48 -0
  9. aws_cdk/aws_chatbot/__init__.py +149 -2
  10. aws_cdk/aws_cloudfront/experimental/__init__.py +65 -9
  11. aws_cdk/aws_codebuild/__init__.py +801 -16
  12. aws_cdk/aws_config/__init__.py +1305 -45
  13. aws_cdk/aws_dynamodb/__init__.py +309 -3
  14. aws_cdk/aws_ec2/__init__.py +112 -31
  15. aws_cdk/aws_ecs_patterns/__init__.py +89 -7
  16. aws_cdk/aws_eks/__init__.py +185 -41
  17. aws_cdk/aws_fsx/__init__.py +4 -4
  18. aws_cdk/aws_glue/__init__.py +39 -0
  19. aws_cdk/aws_iam/__init__.py +3 -3
  20. aws_cdk/aws_lambda/__init__.py +605 -42
  21. aws_cdk/aws_lambda_nodejs/__init__.py +160 -13
  22. aws_cdk/aws_logs/__init__.py +114 -8
  23. aws_cdk/aws_logs_destinations/__init__.py +11 -9
  24. aws_cdk/aws_mediaconnect/__init__.py +2 -6
  25. aws_cdk/aws_medialive/__init__.py +20 -2
  26. aws_cdk/aws_mediapackagev2/__init__.py +476 -0
  27. aws_cdk/aws_rds/__init__.py +27 -19
  28. aws_cdk/aws_route53/__init__.py +3 -3
  29. aws_cdk/aws_s3/__init__.py +21 -0
  30. aws_cdk/aws_s3_deployment/__init__.py +3 -2
  31. aws_cdk/aws_securityhub/__init__.py +2415 -374
  32. aws_cdk/aws_securitylake/__init__.py +179 -314
  33. aws_cdk/aws_sqs/__init__.py +2 -2
  34. aws_cdk/aws_stepfunctions/__init__.py +53 -24
  35. aws_cdk/aws_stepfunctions_tasks/__init__.py +763 -16
  36. aws_cdk/pipelines/__init__.py +2 -0
  37. aws_cdk/triggers/__init__.py +65 -9
  38. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/METADATA +1 -1
  39. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/RECORD +43 -43
  40. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/WHEEL +1 -1
  41. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/LICENSE +0 -0
  42. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/NOTICE +0 -0
  43. {aws_cdk_lib-2.143.1.dist-info → aws_cdk_lib-2.145.0.dist-info}/top_level.txt +0 -0
@@ -5960,6 +5960,7 @@ class CfnJob(
5960
5960
  ),
5961
5961
  glue_version="glueVersion",
5962
5962
  log_uri="logUri",
5963
+ maintenance_window="maintenanceWindow",
5963
5964
  max_capacity=123,
5964
5965
  max_retries=123,
5965
5966
  name="name",
@@ -5990,6 +5991,7 @@ class CfnJob(
5990
5991
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJob.ExecutionPropertyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
5991
5992
  glue_version: typing.Optional[builtins.str] = None,
5992
5993
  log_uri: typing.Optional[builtins.str] = None,
5994
+ maintenance_window: typing.Optional[builtins.str] = None,
5993
5995
  max_capacity: typing.Optional[jsii.Number] = None,
5994
5996
  max_retries: typing.Optional[jsii.Number] = None,
5995
5997
  name: typing.Optional[builtins.str] = None,
@@ -6014,6 +6016,7 @@ class CfnJob(
6014
6016
  :param execution_property: The maximum number of concurrent runs that are allowed for this job.
6015
6017
  :param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9.
6016
6018
  :param log_uri: This field is reserved for future use.
6019
+ :param maintenance_window:
6017
6020
  :param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
6018
6021
  :param max_retries: The maximum number of times to retry this job after a JobRun fails.
6019
6022
  :param name: The name you assign to this job definition.
@@ -6040,6 +6043,7 @@ class CfnJob(
6040
6043
  execution_property=execution_property,
6041
6044
  glue_version=glue_version,
6042
6045
  log_uri=log_uri,
6046
+ maintenance_window=maintenance_window,
6043
6047
  max_capacity=max_capacity,
6044
6048
  max_retries=max_retries,
6045
6049
  name=name,
@@ -6252,6 +6256,18 @@ class CfnJob(
6252
6256
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6253
6257
  jsii.set(self, "logUri", value)
6254
6258
 
6259
+ @builtins.property
6260
+ @jsii.member(jsii_name="maintenanceWindow")
6261
+ def maintenance_window(self) -> typing.Optional[builtins.str]:
6262
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "maintenanceWindow"))
6263
+
6264
+ @maintenance_window.setter
6265
+ def maintenance_window(self, value: typing.Optional[builtins.str]) -> None:
6266
+ if __debug__:
6267
+ type_hints = typing.get_type_hints(_typecheckingstub__42885410f13bc9dd6ce3f11fca98e52266bcf89c43473b8d39f8980ef7b211d0)
6268
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6269
+ jsii.set(self, "maintenanceWindow", value)
6270
+
6255
6271
  @builtins.property
6256
6272
  @jsii.member(jsii_name="maxCapacity")
6257
6273
  def max_capacity(self) -> typing.Optional[jsii.Number]:
@@ -6680,6 +6696,7 @@ class CfnJob(
6680
6696
  "execution_property": "executionProperty",
6681
6697
  "glue_version": "glueVersion",
6682
6698
  "log_uri": "logUri",
6699
+ "maintenance_window": "maintenanceWindow",
6683
6700
  "max_capacity": "maxCapacity",
6684
6701
  "max_retries": "maxRetries",
6685
6702
  "name": "name",
@@ -6706,6 +6723,7 @@ class CfnJobProps:
6706
6723
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6707
6724
  glue_version: typing.Optional[builtins.str] = None,
6708
6725
  log_uri: typing.Optional[builtins.str] = None,
6726
+ maintenance_window: typing.Optional[builtins.str] = None,
6709
6727
  max_capacity: typing.Optional[jsii.Number] = None,
6710
6728
  max_retries: typing.Optional[jsii.Number] = None,
6711
6729
  name: typing.Optional[builtins.str] = None,
@@ -6729,6 +6747,7 @@ class CfnJobProps:
6729
6747
  :param execution_property: The maximum number of concurrent runs that are allowed for this job.
6730
6748
  :param glue_version: Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark. For more information about the available AWS Glue versions and corresponding Spark and Python versions, see `Glue version <https://docs.aws.amazon.com/glue/latest/dg/add-job.html>`_ in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9.
6731
6749
  :param log_uri: This field is reserved for future use.
6750
+ :param maintenance_window:
6732
6751
  :param max_capacity: The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. Do not set ``Max Capacity`` if using ``WorkerType`` and ``NumberOfWorkers`` . The value that can be allocated for ``MaxCapacity`` depends on whether you are running a Python shell job or an Apache Spark ETL job: - When you specify a Python shell job ( ``JobCommand.Name`` ="pythonshell"), you can allocate either 0.0625 or 1 DPU. The default is 0.0625 DPU. - When you specify an Apache Spark ETL job ( ``JobCommand.Name`` ="glueetl"), you can allocate from 2 to 100 DPUs. The default is 10 DPUs. This job type cannot have a fractional DPU allocation.
6733
6752
  :param max_retries: The maximum number of times to retry this job after a JobRun fails.
6734
6753
  :param name: The name you assign to this job definition.
@@ -6775,6 +6794,7 @@ class CfnJobProps:
6775
6794
  ),
6776
6795
  glue_version="glueVersion",
6777
6796
  log_uri="logUri",
6797
+ maintenance_window="maintenanceWindow",
6778
6798
  max_capacity=123,
6779
6799
  max_retries=123,
6780
6800
  name="name",
@@ -6801,6 +6821,7 @@ class CfnJobProps:
6801
6821
  check_type(argname="argument execution_property", value=execution_property, expected_type=type_hints["execution_property"])
6802
6822
  check_type(argname="argument glue_version", value=glue_version, expected_type=type_hints["glue_version"])
6803
6823
  check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
6824
+ check_type(argname="argument maintenance_window", value=maintenance_window, expected_type=type_hints["maintenance_window"])
6804
6825
  check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
6805
6826
  check_type(argname="argument max_retries", value=max_retries, expected_type=type_hints["max_retries"])
6806
6827
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
@@ -6831,6 +6852,8 @@ class CfnJobProps:
6831
6852
  self._values["glue_version"] = glue_version
6832
6853
  if log_uri is not None:
6833
6854
  self._values["log_uri"] = log_uri
6855
+ if maintenance_window is not None:
6856
+ self._values["maintenance_window"] = maintenance_window
6834
6857
  if max_capacity is not None:
6835
6858
  self._values["max_capacity"] = max_capacity
6836
6859
  if max_retries is not None:
@@ -6968,6 +6991,14 @@ class CfnJobProps:
6968
6991
  result = self._values.get("log_uri")
6969
6992
  return typing.cast(typing.Optional[builtins.str], result)
6970
6993
 
6994
+ @builtins.property
6995
+ def maintenance_window(self) -> typing.Optional[builtins.str]:
6996
+ '''
6997
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-maintenancewindow
6998
+ '''
6999
+ result = self._values.get("maintenance_window")
7000
+ return typing.cast(typing.Optional[builtins.str], result)
7001
+
6971
7002
  @builtins.property
6972
7003
  def max_capacity(self) -> typing.Optional[jsii.Number]:
6973
7004
  '''The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
@@ -16027,6 +16058,7 @@ def _typecheckingstub__2bea698eff4ea1d2bc08b1ab842f318f77ba719c0241a0959453e2698
16027
16058
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
16028
16059
  glue_version: typing.Optional[builtins.str] = None,
16029
16060
  log_uri: typing.Optional[builtins.str] = None,
16061
+ maintenance_window: typing.Optional[builtins.str] = None,
16030
16062
  max_capacity: typing.Optional[jsii.Number] = None,
16031
16063
  max_retries: typing.Optional[jsii.Number] = None,
16032
16064
  name: typing.Optional[builtins.str] = None,
@@ -16113,6 +16145,12 @@ def _typecheckingstub__9ca81eaaed120981305eb66586283b558b72d3b37cb0098234ec82c56
16113
16145
  """Type checking stubs"""
16114
16146
  pass
16115
16147
 
16148
+ def _typecheckingstub__42885410f13bc9dd6ce3f11fca98e52266bcf89c43473b8d39f8980ef7b211d0(
16149
+ value: typing.Optional[builtins.str],
16150
+ ) -> None:
16151
+ """Type checking stubs"""
16152
+ pass
16153
+
16116
16154
  def _typecheckingstub__6a764dd1178d54ad958e98a11fae132faf1dc82baf8cc6de7a480139bec56d6c(
16117
16155
  value: typing.Optional[jsii.Number],
16118
16156
  ) -> None:
@@ -16216,6 +16254,7 @@ def _typecheckingstub__1b5bd8295520fa719be46f80478ae155292fb66f6fc3016eb114b6fab
16216
16254
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
16217
16255
  glue_version: typing.Optional[builtins.str] = None,
16218
16256
  log_uri: typing.Optional[builtins.str] = None,
16257
+ maintenance_window: typing.Optional[builtins.str] = None,
16219
16258
  max_capacity: typing.Optional[jsii.Number] = None,
16220
16259
  max_retries: typing.Optional[jsii.Number] = None,
16221
16260
  name: typing.Optional[builtins.str] = None,
@@ -13753,7 +13753,7 @@ class ArnPrincipal(
13753
13753
  Example::
13754
13754
 
13755
13755
  # Option 2: create your custom mastersRole with scoped assumeBy arn as the Cluster prop. Switch to this role from the AWS console.
13756
- from aws_cdk.lambda_layer_kubectl_v29 import KubectlV29Layer
13756
+ from aws_cdk.lambda_layer_kubectl_v30 import KubectlV30Layer
13757
13757
  # vpc: ec2.Vpc
13758
13758
 
13759
13759
 
@@ -13763,8 +13763,8 @@ class ArnPrincipal(
13763
13763
 
13764
13764
  cluster = eks.Cluster(self, "EksCluster",
13765
13765
  vpc=vpc,
13766
- version=eks.KubernetesVersion.V1_29,
13767
- kubectl_layer=KubectlV29Layer(self, "KubectlLayer"),
13766
+ version=eks.KubernetesVersion.V1_30,
13767
+ kubectl_layer=KubectlV30Layer(self, "KubectlLayer"),
13768
13768
  masters_role=masters_role
13769
13769
  )
13770
13770