aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.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 (51) hide show
  1. aws_cdk/__init__.py +21 -14
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.160.0.jsii.tgz → aws-cdk-lib@2.161.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_autoscaling/__init__.py +2 -2
  6. aws_cdk/aws_b2bi/__init__.py +2283 -672
  7. aws_cdk/aws_batch/__init__.py +9 -5
  8. aws_cdk/aws_bedrock/__init__.py +52 -20
  9. aws_cdk/aws_cloudformation/__init__.py +9 -9
  10. aws_cdk/aws_cloudtrail/__init__.py +97 -183
  11. aws_cdk/aws_cloudwatch/__init__.py +38 -42
  12. aws_cdk/aws_datasync/__init__.py +1 -1
  13. aws_cdk/aws_ec2/__init__.py +114 -8
  14. aws_cdk/aws_ecs/__init__.py +513 -2
  15. aws_cdk/aws_eks/__init__.py +118 -2
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
  17. aws_cdk/aws_glue/__init__.py +386 -0
  18. aws_cdk/aws_iotfleetwise/__init__.py +49 -49
  19. aws_cdk/aws_iottwinmaker/__init__.py +4 -4
  20. aws_cdk/aws_iotwireless/__init__.py +2 -1
  21. aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
  22. aws_cdk/aws_lambda/__init__.py +383 -244
  23. aws_cdk/aws_logs/__init__.py +431 -3
  24. aws_cdk/aws_mediaconnect/__init__.py +6 -4
  25. aws_cdk/aws_medialive/__init__.py +36 -0
  26. aws_cdk/aws_organizations/__init__.py +4 -3
  27. aws_cdk/aws_pipes/__init__.py +2 -2
  28. aws_cdk/aws_quicksight/__init__.py +1086 -6
  29. aws_cdk/aws_rds/__init__.py +158 -3
  30. aws_cdk/aws_route53resolver/__init__.py +3 -17
  31. aws_cdk/aws_s3/__init__.py +20 -11
  32. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  33. aws_cdk/aws_s3express/__init__.py +314 -4
  34. aws_cdk/aws_sagemaker/__init__.py +44 -4
  35. aws_cdk/aws_secretsmanager/__init__.py +14 -7
  36. aws_cdk/aws_securityhub/__init__.py +16 -14
  37. aws_cdk/aws_ses/__init__.py +52 -18
  38. aws_cdk/aws_sqs/__init__.py +16 -14
  39. aws_cdk/aws_ssm/__init__.py +6 -2
  40. aws_cdk/aws_synthetics/__init__.py +46 -0
  41. aws_cdk/aws_waf/__init__.py +33 -22
  42. aws_cdk/aws_wafregional/__init__.py +36 -24
  43. aws_cdk/aws_workspacesweb/__init__.py +54 -3
  44. aws_cdk/cloudformation_include/__init__.py +28 -0
  45. aws_cdk/cx_api/__init__.py +50 -0
  46. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +1 -1
  47. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +51 -51
  48. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
  49. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
  50. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
  51. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
@@ -6034,6 +6034,8 @@ class CfnJob(
6034
6034
  max_concurrent_runs=123
6035
6035
  ),
6036
6036
  glue_version="glueVersion",
6037
+ job_mode="jobMode",
6038
+ job_run_queuing_enabled=False,
6037
6039
  log_uri="logUri",
6038
6040
  maintenance_window="maintenanceWindow",
6039
6041
  max_capacity=123,
@@ -6065,6 +6067,8 @@ class CfnJob(
6065
6067
  execution_class: typing.Optional[builtins.str] = None,
6066
6068
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnJob.ExecutionPropertyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
6067
6069
  glue_version: typing.Optional[builtins.str] = None,
6070
+ job_mode: typing.Optional[builtins.str] = None,
6071
+ job_run_queuing_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6068
6072
  log_uri: typing.Optional[builtins.str] = None,
6069
6073
  maintenance_window: typing.Optional[builtins.str] = None,
6070
6074
  max_capacity: typing.Optional[jsii.Number] = None,
@@ -6090,6 +6094,8 @@ class CfnJob(
6090
6094
  :param execution_class: Indicates whether the job is run with a standard or flexible execution class. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary. Only jobs with AWS Glue version 3.0 and above and command type ``glueetl`` will be allowed to set ``ExecutionClass`` to ``FLEX`` . The flexible execution class is available for Spark jobs.
6091
6095
  :param execution_property: The maximum number of concurrent runs that are allowed for this job.
6092
6096
  :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 the latest Glue version available.
6097
+ :param job_mode: A mode that describes how a job was created. Valid values are:. - ``SCRIPT`` - The job was created using the AWS Glue Studio script editor. - ``VISUAL`` - The job was created using the AWS Glue Studio visual editor. - ``NOTEBOOK`` - The job was created using an interactive sessions notebook. When the ``JobMode`` field is missing or null, ``SCRIPT`` is assigned as the default value.
6098
+ :param job_run_queuing_enabled: Property description not available.
6093
6099
  :param log_uri: This field is reserved for future use.
6094
6100
  :param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
6095
6101
  :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.
@@ -6117,6 +6123,8 @@ class CfnJob(
6117
6123
  execution_class=execution_class,
6118
6124
  execution_property=execution_property,
6119
6125
  glue_version=glue_version,
6126
+ job_mode=job_mode,
6127
+ job_run_queuing_enabled=job_run_queuing_enabled,
6120
6128
  log_uri=log_uri,
6121
6129
  maintenance_window=maintenance_window,
6122
6130
  max_capacity=max_capacity,
@@ -6318,6 +6326,40 @@ class CfnJob(
6318
6326
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6319
6327
  jsii.set(self, "glueVersion", value) # pyright: ignore[reportArgumentType]
6320
6328
 
6329
+ @builtins.property
6330
+ @jsii.member(jsii_name="jobMode")
6331
+ def job_mode(self) -> typing.Optional[builtins.str]:
6332
+ '''A mode that describes how a job was created.
6333
+
6334
+ Valid values are:.
6335
+ '''
6336
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "jobMode"))
6337
+
6338
+ @job_mode.setter
6339
+ def job_mode(self, value: typing.Optional[builtins.str]) -> None:
6340
+ if __debug__:
6341
+ type_hints = typing.get_type_hints(_typecheckingstub__ccea0e3c2fb271c4817b541ad11c0ed76817ca122458f19547f62c5c171e98ed)
6342
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6343
+ jsii.set(self, "jobMode", value) # pyright: ignore[reportArgumentType]
6344
+
6345
+ @builtins.property
6346
+ @jsii.member(jsii_name="jobRunQueuingEnabled")
6347
+ def job_run_queuing_enabled(
6348
+ self,
6349
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
6350
+ '''Property description not available.'''
6351
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "jobRunQueuingEnabled"))
6352
+
6353
+ @job_run_queuing_enabled.setter
6354
+ def job_run_queuing_enabled(
6355
+ self,
6356
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
6357
+ ) -> None:
6358
+ if __debug__:
6359
+ type_hints = typing.get_type_hints(_typecheckingstub__846ae13c958fba2b2c4ff79bf3c0d10e2d2b7590d2f3c6e95713f28637731149)
6360
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
6361
+ jsii.set(self, "jobRunQueuingEnabled", value) # pyright: ignore[reportArgumentType]
6362
+
6321
6363
  @builtins.property
6322
6364
  @jsii.member(jsii_name="logUri")
6323
6365
  def log_uri(self) -> typing.Optional[builtins.str]:
@@ -6771,6 +6813,8 @@ class CfnJob(
6771
6813
  "execution_class": "executionClass",
6772
6814
  "execution_property": "executionProperty",
6773
6815
  "glue_version": "glueVersion",
6816
+ "job_mode": "jobMode",
6817
+ "job_run_queuing_enabled": "jobRunQueuingEnabled",
6774
6818
  "log_uri": "logUri",
6775
6819
  "maintenance_window": "maintenanceWindow",
6776
6820
  "max_capacity": "maxCapacity",
@@ -6798,6 +6842,8 @@ class CfnJobProps:
6798
6842
  execution_class: typing.Optional[builtins.str] = None,
6799
6843
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
6800
6844
  glue_version: typing.Optional[builtins.str] = None,
6845
+ job_mode: typing.Optional[builtins.str] = None,
6846
+ job_run_queuing_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
6801
6847
  log_uri: typing.Optional[builtins.str] = None,
6802
6848
  maintenance_window: typing.Optional[builtins.str] = None,
6803
6849
  max_capacity: typing.Optional[jsii.Number] = None,
@@ -6822,6 +6868,8 @@ class CfnJobProps:
6822
6868
  :param execution_class: Indicates whether the job is run with a standard or flexible execution class. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary. Only jobs with AWS Glue version 3.0 and above and command type ``glueetl`` will be allowed to set ``ExecutionClass`` to ``FLEX`` . The flexible execution class is available for Spark jobs.
6823
6869
  :param execution_property: The maximum number of concurrent runs that are allowed for this job.
6824
6870
  :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 the latest Glue version available.
6871
+ :param job_mode: A mode that describes how a job was created. Valid values are:. - ``SCRIPT`` - The job was created using the AWS Glue Studio script editor. - ``VISUAL`` - The job was created using the AWS Glue Studio visual editor. - ``NOTEBOOK`` - The job was created using an interactive sessions notebook. When the ``JobMode`` field is missing or null, ``SCRIPT`` is assigned as the default value.
6872
+ :param job_run_queuing_enabled: Property description not available.
6825
6873
  :param log_uri: This field is reserved for future use.
6826
6874
  :param maintenance_window: This field specifies a day of the week and hour for a maintenance window for streaming jobs. AWS Glue periodically performs maintenance activities. During these maintenance windows, AWS Glue will need to restart your streaming jobs. AWS Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT.
6827
6875
  :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.
@@ -6869,6 +6917,8 @@ class CfnJobProps:
6869
6917
  max_concurrent_runs=123
6870
6918
  ),
6871
6919
  glue_version="glueVersion",
6920
+ job_mode="jobMode",
6921
+ job_run_queuing_enabled=False,
6872
6922
  log_uri="logUri",
6873
6923
  maintenance_window="maintenanceWindow",
6874
6924
  max_capacity=123,
@@ -6896,6 +6946,8 @@ class CfnJobProps:
6896
6946
  check_type(argname="argument execution_class", value=execution_class, expected_type=type_hints["execution_class"])
6897
6947
  check_type(argname="argument execution_property", value=execution_property, expected_type=type_hints["execution_property"])
6898
6948
  check_type(argname="argument glue_version", value=glue_version, expected_type=type_hints["glue_version"])
6949
+ check_type(argname="argument job_mode", value=job_mode, expected_type=type_hints["job_mode"])
6950
+ check_type(argname="argument job_run_queuing_enabled", value=job_run_queuing_enabled, expected_type=type_hints["job_run_queuing_enabled"])
6899
6951
  check_type(argname="argument log_uri", value=log_uri, expected_type=type_hints["log_uri"])
6900
6952
  check_type(argname="argument maintenance_window", value=maintenance_window, expected_type=type_hints["maintenance_window"])
6901
6953
  check_type(argname="argument max_capacity", value=max_capacity, expected_type=type_hints["max_capacity"])
@@ -6926,6 +6978,10 @@ class CfnJobProps:
6926
6978
  self._values["execution_property"] = execution_property
6927
6979
  if glue_version is not None:
6928
6980
  self._values["glue_version"] = glue_version
6981
+ if job_mode is not None:
6982
+ self._values["job_mode"] = job_mode
6983
+ if job_run_queuing_enabled is not None:
6984
+ self._values["job_run_queuing_enabled"] = job_run_queuing_enabled
6929
6985
  if log_uri is not None:
6930
6986
  self._values["log_uri"] = log_uri
6931
6987
  if maintenance_window is not None:
@@ -7058,6 +7114,32 @@ class CfnJobProps:
7058
7114
  result = self._values.get("glue_version")
7059
7115
  return typing.cast(typing.Optional[builtins.str], result)
7060
7116
 
7117
+ @builtins.property
7118
+ def job_mode(self) -> typing.Optional[builtins.str]:
7119
+ '''A mode that describes how a job was created. Valid values are:.
7120
+
7121
+ - ``SCRIPT`` - The job was created using the AWS Glue Studio script editor.
7122
+ - ``VISUAL`` - The job was created using the AWS Glue Studio visual editor.
7123
+ - ``NOTEBOOK`` - The job was created using an interactive sessions notebook.
7124
+
7125
+ When the ``JobMode`` field is missing or null, ``SCRIPT`` is assigned as the default value.
7126
+
7127
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-jobmode
7128
+ '''
7129
+ result = self._values.get("job_mode")
7130
+ return typing.cast(typing.Optional[builtins.str], result)
7131
+
7132
+ @builtins.property
7133
+ def job_run_queuing_enabled(
7134
+ self,
7135
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
7136
+ '''Property description not available.
7137
+
7138
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-job.html#cfn-glue-job-jobrunqueuingenabled
7139
+ '''
7140
+ result = self._values.get("job_run_queuing_enabled")
7141
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
7142
+
7061
7143
  @builtins.property
7062
7144
  def log_uri(self) -> typing.Optional[builtins.str]:
7063
7145
  '''This field is reserved for future use.
@@ -14912,6 +14994,242 @@ class CfnTriggerProps:
14912
14994
  )
14913
14995
 
14914
14996
 
14997
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
14998
+ class CfnUsageProfile(
14999
+ _CfnResource_9df397a6,
15000
+ metaclass=jsii.JSIIMeta,
15001
+ jsii_type="aws-cdk-lib.aws_glue.CfnUsageProfile",
15002
+ ):
15003
+ '''Creates an AWS Glue usage profile.
15004
+
15005
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html
15006
+ :cloudformationResource: AWS::Glue::UsageProfile
15007
+ :exampleMetadata: fixture=_generated
15008
+
15009
+ Example::
15010
+
15011
+ # The code below shows an example of how to instantiate this type.
15012
+ # The values are placeholders you should change.
15013
+ from aws_cdk import aws_glue as glue
15014
+
15015
+ cfn_usage_profile = glue.CfnUsageProfile(self, "MyCfnUsageProfile",
15016
+ name="name",
15017
+
15018
+ # the properties below are optional
15019
+ description="description",
15020
+ tags=[CfnTag(
15021
+ key="key",
15022
+ value="value"
15023
+ )]
15024
+ )
15025
+ '''
15026
+
15027
+ def __init__(
15028
+ self,
15029
+ scope: _constructs_77d1e7e8.Construct,
15030
+ id: builtins.str,
15031
+ *,
15032
+ name: builtins.str,
15033
+ description: typing.Optional[builtins.str] = None,
15034
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15035
+ ) -> None:
15036
+ '''
15037
+ :param scope: Scope in which this resource is defined.
15038
+ :param id: Construct identifier for this resource (unique in its scope).
15039
+ :param name: The name of the usage profile.
15040
+ :param description: A description of the usage profile.
15041
+ :param tags: The tags to be applied to this UsageProfiles.
15042
+ '''
15043
+ if __debug__:
15044
+ type_hints = typing.get_type_hints(_typecheckingstub__e7218caa3227d549ee6ae3f63083c402f9b57ee1e7764a3646a34f5e19c5bced)
15045
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
15046
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
15047
+ props = CfnUsageProfileProps(name=name, description=description, tags=tags)
15048
+
15049
+ jsii.create(self.__class__, self, [scope, id, props])
15050
+
15051
+ @jsii.member(jsii_name="inspect")
15052
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
15053
+ '''Examines the CloudFormation resource and discloses attributes.
15054
+
15055
+ :param inspector: tree inspector to collect and process attributes.
15056
+ '''
15057
+ if __debug__:
15058
+ type_hints = typing.get_type_hints(_typecheckingstub__38ce869b1bd68828450bb4539cadcbf1bb558fbab9e1f008be2b39687f6175e3)
15059
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
15060
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
15061
+
15062
+ @jsii.member(jsii_name="renderProperties")
15063
+ def _render_properties(
15064
+ self,
15065
+ props: typing.Mapping[builtins.str, typing.Any],
15066
+ ) -> typing.Mapping[builtins.str, typing.Any]:
15067
+ '''
15068
+ :param props: -
15069
+ '''
15070
+ if __debug__:
15071
+ type_hints = typing.get_type_hints(_typecheckingstub__2643bc985094cfa41f3e96fc9ed916aa584da4686ea7af03c1fe311f1b627298)
15072
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
15073
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
15074
+
15075
+ @jsii.python.classproperty
15076
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
15077
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
15078
+ '''The CloudFormation resource type name for this resource class.'''
15079
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
15080
+
15081
+ @builtins.property
15082
+ @jsii.member(jsii_name="attrCreatedOn")
15083
+ def attr_created_on(self) -> builtins.str:
15084
+ '''The date and time when the usage profile was created.
15085
+
15086
+ :cloudformationAttribute: CreatedOn
15087
+ '''
15088
+ return typing.cast(builtins.str, jsii.get(self, "attrCreatedOn"))
15089
+
15090
+ @builtins.property
15091
+ @jsii.member(jsii_name="cdkTagManager")
15092
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
15093
+ '''Tag Manager which manages the tags for this resource.'''
15094
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
15095
+
15096
+ @builtins.property
15097
+ @jsii.member(jsii_name="cfnProperties")
15098
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
15099
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
15100
+
15101
+ @builtins.property
15102
+ @jsii.member(jsii_name="name")
15103
+ def name(self) -> builtins.str:
15104
+ '''The name of the usage profile.'''
15105
+ return typing.cast(builtins.str, jsii.get(self, "name"))
15106
+
15107
+ @name.setter
15108
+ def name(self, value: builtins.str) -> None:
15109
+ if __debug__:
15110
+ type_hints = typing.get_type_hints(_typecheckingstub__684c428549d29ad8532c5e606008c4b929d5880614743b1c10d6c5d50963a7c9)
15111
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15112
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
15113
+
15114
+ @builtins.property
15115
+ @jsii.member(jsii_name="description")
15116
+ def description(self) -> typing.Optional[builtins.str]:
15117
+ '''A description of the usage profile.'''
15118
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
15119
+
15120
+ @description.setter
15121
+ def description(self, value: typing.Optional[builtins.str]) -> None:
15122
+ if __debug__:
15123
+ type_hints = typing.get_type_hints(_typecheckingstub__0c384f6773b216fb00e1ed093c336ae81d5fc2503152c5ab6dd4d11cb90395ac)
15124
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15125
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
15126
+
15127
+ @builtins.property
15128
+ @jsii.member(jsii_name="tags")
15129
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
15130
+ '''The tags to be applied to this UsageProfiles.'''
15131
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
15132
+
15133
+ @tags.setter
15134
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
15135
+ if __debug__:
15136
+ type_hints = typing.get_type_hints(_typecheckingstub__74c36563c0f5c0a37025a4d18000f949fb67163cc9702362a13a4e7954ca260b)
15137
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
15138
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
15139
+
15140
+
15141
+ @jsii.data_type(
15142
+ jsii_type="aws-cdk-lib.aws_glue.CfnUsageProfileProps",
15143
+ jsii_struct_bases=[],
15144
+ name_mapping={"name": "name", "description": "description", "tags": "tags"},
15145
+ )
15146
+ class CfnUsageProfileProps:
15147
+ def __init__(
15148
+ self,
15149
+ *,
15150
+ name: builtins.str,
15151
+ description: typing.Optional[builtins.str] = None,
15152
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
15153
+ ) -> None:
15154
+ '''Properties for defining a ``CfnUsageProfile``.
15155
+
15156
+ :param name: The name of the usage profile.
15157
+ :param description: A description of the usage profile.
15158
+ :param tags: The tags to be applied to this UsageProfiles.
15159
+
15160
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html
15161
+ :exampleMetadata: fixture=_generated
15162
+
15163
+ Example::
15164
+
15165
+ # The code below shows an example of how to instantiate this type.
15166
+ # The values are placeholders you should change.
15167
+ from aws_cdk import aws_glue as glue
15168
+
15169
+ cfn_usage_profile_props = glue.CfnUsageProfileProps(
15170
+ name="name",
15171
+
15172
+ # the properties below are optional
15173
+ description="description",
15174
+ tags=[CfnTag(
15175
+ key="key",
15176
+ value="value"
15177
+ )]
15178
+ )
15179
+ '''
15180
+ if __debug__:
15181
+ type_hints = typing.get_type_hints(_typecheckingstub__be3c5b9721453aa0bc8630055cb2a1fa015c3fde4feb4c18424a9ed6f85b5406)
15182
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
15183
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
15184
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
15185
+ self._values: typing.Dict[builtins.str, typing.Any] = {
15186
+ "name": name,
15187
+ }
15188
+ if description is not None:
15189
+ self._values["description"] = description
15190
+ if tags is not None:
15191
+ self._values["tags"] = tags
15192
+
15193
+ @builtins.property
15194
+ def name(self) -> builtins.str:
15195
+ '''The name of the usage profile.
15196
+
15197
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html#cfn-glue-usageprofile-name
15198
+ '''
15199
+ result = self._values.get("name")
15200
+ assert result is not None, "Required property 'name' is missing"
15201
+ return typing.cast(builtins.str, result)
15202
+
15203
+ @builtins.property
15204
+ def description(self) -> typing.Optional[builtins.str]:
15205
+ '''A description of the usage profile.
15206
+
15207
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html#cfn-glue-usageprofile-description
15208
+ '''
15209
+ result = self._values.get("description")
15210
+ return typing.cast(typing.Optional[builtins.str], result)
15211
+
15212
+ @builtins.property
15213
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
15214
+ '''The tags to be applied to this UsageProfiles.
15215
+
15216
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html#cfn-glue-usageprofile-tags
15217
+ '''
15218
+ result = self._values.get("tags")
15219
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
15220
+
15221
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
15222
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
15223
+
15224
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
15225
+ return not (rhs == self)
15226
+
15227
+ def __repr__(self) -> str:
15228
+ return "CfnUsageProfileProps(%s)" % ", ".join(
15229
+ k + "=" + repr(v) for k, v in self._values.items()
15230
+ )
15231
+
15232
+
14915
15233
  @jsii.implements(_IInspectable_c2943556, _ITaggable_36806126)
14916
15234
  class CfnWorkflow(
14917
15235
  _CfnResource_9df397a6,
@@ -15259,6 +15577,8 @@ __all__ = [
15259
15577
  "CfnTableProps",
15260
15578
  "CfnTrigger",
15261
15579
  "CfnTriggerProps",
15580
+ "CfnUsageProfile",
15581
+ "CfnUsageProfileProps",
15262
15582
  "CfnWorkflow",
15263
15583
  "CfnWorkflowProps",
15264
15584
  ]
@@ -16138,6 +16458,8 @@ def _typecheckingstub__2bea698eff4ea1d2bc08b1ab842f318f77ba719c0241a0959453e2698
16138
16458
  execution_class: typing.Optional[builtins.str] = None,
16139
16459
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
16140
16460
  glue_version: typing.Optional[builtins.str] = None,
16461
+ job_mode: typing.Optional[builtins.str] = None,
16462
+ job_run_queuing_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
16141
16463
  log_uri: typing.Optional[builtins.str] = None,
16142
16464
  maintenance_window: typing.Optional[builtins.str] = None,
16143
16465
  max_capacity: typing.Optional[jsii.Number] = None,
@@ -16220,6 +16542,18 @@ def _typecheckingstub__f36e5a6a7d1a062f3bf5d8b7176a1f0f8c07bc3e7e725aefec8d86d74
16220
16542
  """Type checking stubs"""
16221
16543
  pass
16222
16544
 
16545
+ def _typecheckingstub__ccea0e3c2fb271c4817b541ad11c0ed76817ca122458f19547f62c5c171e98ed(
16546
+ value: typing.Optional[builtins.str],
16547
+ ) -> None:
16548
+ """Type checking stubs"""
16549
+ pass
16550
+
16551
+ def _typecheckingstub__846ae13c958fba2b2c4ff79bf3c0d10e2d2b7590d2f3c6e95713f28637731149(
16552
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
16553
+ ) -> None:
16554
+ """Type checking stubs"""
16555
+ pass
16556
+
16223
16557
  def _typecheckingstub__9ca81eaaed120981305eb66586283b558b72d3b37cb0098234ec82c56f1d637a(
16224
16558
  value: typing.Optional[builtins.str],
16225
16559
  ) -> None:
@@ -16334,6 +16668,8 @@ def _typecheckingstub__1b5bd8295520fa719be46f80478ae155292fb66f6fc3016eb114b6fab
16334
16668
  execution_class: typing.Optional[builtins.str] = None,
16335
16669
  execution_property: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnJob.ExecutionPropertyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
16336
16670
  glue_version: typing.Optional[builtins.str] = None,
16671
+ job_mode: typing.Optional[builtins.str] = None,
16672
+ job_run_queuing_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
16337
16673
  log_uri: typing.Optional[builtins.str] = None,
16338
16674
  maintenance_window: typing.Optional[builtins.str] = None,
16339
16675
  max_capacity: typing.Optional[jsii.Number] = None,
@@ -17400,6 +17736,56 @@ def _typecheckingstub__784653657e04e37fef0f1a1cad2dd3968ecec5929ea90e9d792e16ce4
17400
17736
  """Type checking stubs"""
17401
17737
  pass
17402
17738
 
17739
+ def _typecheckingstub__e7218caa3227d549ee6ae3f63083c402f9b57ee1e7764a3646a34f5e19c5bced(
17740
+ scope: _constructs_77d1e7e8.Construct,
17741
+ id: builtins.str,
17742
+ *,
17743
+ name: builtins.str,
17744
+ description: typing.Optional[builtins.str] = None,
17745
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
17746
+ ) -> None:
17747
+ """Type checking stubs"""
17748
+ pass
17749
+
17750
+ def _typecheckingstub__38ce869b1bd68828450bb4539cadcbf1bb558fbab9e1f008be2b39687f6175e3(
17751
+ inspector: _TreeInspector_488e0dd5,
17752
+ ) -> None:
17753
+ """Type checking stubs"""
17754
+ pass
17755
+
17756
+ def _typecheckingstub__2643bc985094cfa41f3e96fc9ed916aa584da4686ea7af03c1fe311f1b627298(
17757
+ props: typing.Mapping[builtins.str, typing.Any],
17758
+ ) -> None:
17759
+ """Type checking stubs"""
17760
+ pass
17761
+
17762
+ def _typecheckingstub__684c428549d29ad8532c5e606008c4b929d5880614743b1c10d6c5d50963a7c9(
17763
+ value: builtins.str,
17764
+ ) -> None:
17765
+ """Type checking stubs"""
17766
+ pass
17767
+
17768
+ def _typecheckingstub__0c384f6773b216fb00e1ed093c336ae81d5fc2503152c5ab6dd4d11cb90395ac(
17769
+ value: typing.Optional[builtins.str],
17770
+ ) -> None:
17771
+ """Type checking stubs"""
17772
+ pass
17773
+
17774
+ def _typecheckingstub__74c36563c0f5c0a37025a4d18000f949fb67163cc9702362a13a4e7954ca260b(
17775
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
17776
+ ) -> None:
17777
+ """Type checking stubs"""
17778
+ pass
17779
+
17780
+ def _typecheckingstub__be3c5b9721453aa0bc8630055cb2a1fa015c3fde4feb4c18424a9ed6f85b5406(
17781
+ *,
17782
+ name: builtins.str,
17783
+ description: typing.Optional[builtins.str] = None,
17784
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
17785
+ ) -> None:
17786
+ """Type checking stubs"""
17787
+ pass
17788
+
17403
17789
  def _typecheckingstub__d6c744c641379ecc5fd54ce4fcbe0501c332b7726b6037690528980d8b6c8f33(
17404
17790
  scope: _constructs_77d1e7e8.Construct,
17405
17791
  id: builtins.str,