aws-cdk-lib 2.126.0__py3-none-any.whl → 2.127.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 (69) hide show
  1. aws_cdk/__init__.py +0 -2
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.126.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +18 -6
  5. aws_cdk/aws_amazonmq/__init__.py +3 -2
  6. aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
  7. aws_cdk/aws_apigateway/__init__.py +7 -3
  8. aws_cdk/aws_appconfig/__init__.py +108 -19
  9. aws_cdk/aws_appsync/__init__.py +43 -0
  10. aws_cdk/aws_autoscaling/__init__.py +37 -14
  11. aws_cdk/aws_cassandra/__init__.py +810 -4
  12. aws_cdk/aws_cloudfront/__init__.py +35 -37
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
  14. aws_cdk/aws_codebuild/__init__.py +43 -3
  15. aws_cdk/aws_codecommit/__init__.py +1 -0
  16. aws_cdk/aws_codepipeline/__init__.py +7 -3
  17. aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
  18. aws_cdk/aws_codestarnotifications/__init__.py +24 -15
  19. aws_cdk/aws_cognito/__init__.py +180 -116
  20. aws_cdk/aws_datasync/__init__.py +8 -4
  21. aws_cdk/aws_dynamodb/__init__.py +80 -11
  22. aws_cdk/aws_ec2/__init__.py +207 -45
  23. aws_cdk/aws_ecs/__init__.py +171 -78
  24. aws_cdk/aws_ecs_patterns/__init__.py +24 -0
  25. aws_cdk/aws_efs/__init__.py +64 -8
  26. aws_cdk/aws_eks/__init__.py +52 -41
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
  28. aws_cdk/aws_fis/__init__.py +32 -12
  29. aws_cdk/aws_fsx/__init__.py +61 -43
  30. aws_cdk/aws_glue/__init__.py +449 -0
  31. aws_cdk/aws_guardduty/__init__.py +0 -8
  32. aws_cdk/aws_iam/__init__.py +3 -3
  33. aws_cdk/aws_inspectorv2/__init__.py +989 -0
  34. aws_cdk/aws_internetmonitor/__init__.py +10 -12
  35. aws_cdk/aws_iot/__init__.py +112 -0
  36. aws_cdk/aws_iotwireless/__init__.py +32 -19
  37. aws_cdk/aws_lambda/__init__.py +129 -32
  38. aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
  39. aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
  40. aws_cdk/aws_location/__init__.py +8 -2
  41. aws_cdk/aws_logs/__init__.py +7 -3
  42. aws_cdk/aws_networkmanager/__init__.py +1 -1
  43. aws_cdk/aws_opensearchserverless/__init__.py +4 -4
  44. aws_cdk/aws_osis/__init__.py +13 -13
  45. aws_cdk/aws_personalize/__init__.py +1 -1
  46. aws_cdk/aws_pinpoint/__init__.py +5 -5
  47. aws_cdk/aws_pipes/__init__.py +7 -10
  48. aws_cdk/aws_rds/__init__.py +449 -8
  49. aws_cdk/aws_redshiftserverless/__init__.py +282 -0
  50. aws_cdk/aws_rolesanywhere/__init__.py +53 -41
  51. aws_cdk/aws_route53/__init__.py +282 -0
  52. aws_cdk/aws_s3/__init__.py +11 -6
  53. aws_cdk/aws_sagemaker/__init__.py +1398 -39
  54. aws_cdk/aws_sns/__init__.py +56 -13
  55. aws_cdk/aws_sqs/__init__.py +13 -10
  56. aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
  58. aws_cdk/aws_transfer/__init__.py +1 -1
  59. aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
  60. aws_cdk/aws_workspacesweb/__init__.py +6 -3
  61. aws_cdk/cx_api/__init__.py +17 -0
  62. aws_cdk/triggers/__init__.py +21 -0
  63. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
  64. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
  65. aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
  66. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
@@ -6796,7 +6796,7 @@ class CfnTask(
6796
6796
  :param options: Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity. You can also override these options before starting an individual run of a task (also known as a *task execution* ). For more information, see `StartTaskExecution <https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html>`_ .
6797
6797
  :param schedule: Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see `Scheduling your task <https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html>`_ .
6798
6798
  :param tags: Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task. *Tags* are key-value pairs that help you manage, filter, and search for your DataSync resources.
6799
- :param task_report_config: Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
6799
+ :param task_report_config: Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see `Monitoring your DataSync transfers with task reports <https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html>`_ . When using this parameter, your caller identity (the role that you're using DataSync with) must have the ``iam:PassRole`` permission. The `AWSDataSyncFullAccess <https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess>`_ policy includes this permission.
6800
6800
  '''
6801
6801
  if __debug__:
6802
6802
  type_hints = typing.get_type_hints(_typecheckingstub__9add9673a1f0ceb078949e967bce91066ff7e0441dae95d55c11c4a503a397a6)
@@ -7039,7 +7039,7 @@ class CfnTask(
7039
7039
  def task_report_config(
7040
7040
  self,
7041
7041
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.TaskReportConfigProperty"]]:
7042
- '''Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.'''
7042
+ '''Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer.'''
7043
7043
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTask.TaskReportConfigProperty"]], jsii.get(self, "taskReportConfig"))
7044
7044
 
7045
7045
  @task_report_config.setter
@@ -8299,7 +8299,7 @@ class CfnTaskProps:
8299
8299
  :param options: Specifies the configuration options for a task. Some options include preserving file or object metadata and verifying data integrity. You can also override these options before starting an individual run of a task (also known as a *task execution* ). For more information, see `StartTaskExecution <https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html>`_ .
8300
8300
  :param schedule: Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see `Scheduling your task <https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html>`_ .
8301
8301
  :param tags: Specifies the tags that you want to apply to the Amazon Resource Name (ARN) representing the task. *Tags* are key-value pairs that help you manage, filter, and search for your DataSync resources.
8302
- :param task_report_config: Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
8302
+ :param task_report_config: Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer. For more information, see `Monitoring your DataSync transfers with task reports <https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html>`_ . When using this parameter, your caller identity (the role that you're using DataSync with) must have the ``iam:PassRole`` permission. The `AWSDataSyncFullAccess <https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess>`_ policy includes this permission.
8303
8303
 
8304
8304
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html
8305
8305
  :exampleMetadata: fixture=_generated
@@ -8523,7 +8523,11 @@ class CfnTaskProps:
8523
8523
  def task_report_config(
8524
8524
  self,
8525
8525
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTask.TaskReportConfigProperty]]:
8526
- '''Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
8526
+ '''Specifies how you want to configure a task report, which provides detailed information about your DataSync transfer.
8527
+
8528
+ For more information, see `Monitoring your DataSync transfers with task reports <https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html>`_ .
8529
+
8530
+ When using this parameter, your caller identity (the role that you're using DataSync with) must have the ``iam:PassRole`` permission. The `AWSDataSyncFullAccess <https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess>`_ policy includes this permission.
8527
8531
 
8528
8532
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-task.html#cfn-datasync-task-taskreportconfig
8529
8533
  '''
@@ -1415,7 +1415,10 @@ class CfnGlobalTable(
1415
1415
  )
1416
1416
  )],
1417
1417
  kinesis_stream_specification=dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty(
1418
- stream_arn="streamArn"
1418
+ stream_arn="streamArn",
1419
+
1420
+ # the properties below are optional
1421
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
1419
1422
  ),
1420
1423
  point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
1421
1424
  point_in_time_recovery_enabled=False
@@ -2335,13 +2338,22 @@ class CfnGlobalTable(
2335
2338
  @jsii.data_type(
2336
2339
  jsii_type="aws-cdk-lib.aws_dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty",
2337
2340
  jsii_struct_bases=[],
2338
- name_mapping={"stream_arn": "streamArn"},
2341
+ name_mapping={
2342
+ "stream_arn": "streamArn",
2343
+ "approximate_creation_date_time_precision": "approximateCreationDateTimePrecision",
2344
+ },
2339
2345
  )
2340
2346
  class KinesisStreamSpecificationProperty:
2341
- def __init__(self, *, stream_arn: builtins.str) -> None:
2347
+ def __init__(
2348
+ self,
2349
+ *,
2350
+ stream_arn: builtins.str,
2351
+ approximate_creation_date_time_precision: typing.Optional[builtins.str] = None,
2352
+ ) -> None:
2342
2353
  '''The Kinesis Data Streams configuration for the specified global table replica.
2343
2354
 
2344
2355
  :param stream_arn: The ARN for a specific Kinesis data stream.
2356
+ :param approximate_creation_date_time_precision: The precision for the time and date that the stream was created.
2345
2357
 
2346
2358
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-kinesisstreamspecification.html
2347
2359
  :exampleMetadata: fixture=_generated
@@ -2353,15 +2365,21 @@ class CfnGlobalTable(
2353
2365
  from aws_cdk import aws_dynamodb as dynamodb
2354
2366
 
2355
2367
  kinesis_stream_specification_property = dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty(
2356
- stream_arn="streamArn"
2368
+ stream_arn="streamArn",
2369
+
2370
+ # the properties below are optional
2371
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
2357
2372
  )
2358
2373
  '''
2359
2374
  if __debug__:
2360
2375
  type_hints = typing.get_type_hints(_typecheckingstub__6acc9d3df1fb5e5e6046cee30108ea5fa4450c329d99252dfa36f32cff756603)
2361
2376
  check_type(argname="argument stream_arn", value=stream_arn, expected_type=type_hints["stream_arn"])
2377
+ check_type(argname="argument approximate_creation_date_time_precision", value=approximate_creation_date_time_precision, expected_type=type_hints["approximate_creation_date_time_precision"])
2362
2378
  self._values: typing.Dict[builtins.str, typing.Any] = {
2363
2379
  "stream_arn": stream_arn,
2364
2380
  }
2381
+ if approximate_creation_date_time_precision is not None:
2382
+ self._values["approximate_creation_date_time_precision"] = approximate_creation_date_time_precision
2365
2383
 
2366
2384
  @builtins.property
2367
2385
  def stream_arn(self) -> builtins.str:
@@ -2373,6 +2391,17 @@ class CfnGlobalTable(
2373
2391
  assert result is not None, "Required property 'stream_arn' is missing"
2374
2392
  return typing.cast(builtins.str, result)
2375
2393
 
2394
+ @builtins.property
2395
+ def approximate_creation_date_time_precision(
2396
+ self,
2397
+ ) -> typing.Optional[builtins.str]:
2398
+ '''The precision for the time and date that the stream was created.
2399
+
2400
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-kinesisstreamspecification.html#cfn-dynamodb-globaltable-kinesisstreamspecification-approximatecreationdatetimeprecision
2401
+ '''
2402
+ result = self._values.get("approximate_creation_date_time_precision")
2403
+ return typing.cast(typing.Optional[builtins.str], result)
2404
+
2376
2405
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2377
2406
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2378
2407
 
@@ -2987,7 +3016,10 @@ class CfnGlobalTable(
2987
3016
  )
2988
3017
  )],
2989
3018
  kinesis_stream_specification=dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty(
2990
- stream_arn="streamArn"
3019
+ stream_arn="streamArn",
3020
+
3021
+ # the properties below are optional
3022
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
2991
3023
  ),
2992
3024
  point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
2993
3025
  point_in_time_recovery_enabled=False
@@ -3685,7 +3717,10 @@ class CfnGlobalTableProps:
3685
3717
  )
3686
3718
  )],
3687
3719
  kinesis_stream_specification=dynamodb.CfnGlobalTable.KinesisStreamSpecificationProperty(
3688
- stream_arn="streamArn"
3720
+ stream_arn="streamArn",
3721
+
3722
+ # the properties below are optional
3723
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
3689
3724
  ),
3690
3725
  point_in_time_recovery_specification=dynamodb.CfnGlobalTable.PointInTimeRecoverySpecificationProperty(
3691
3726
  point_in_time_recovery_enabled=False
@@ -4080,7 +4115,10 @@ class CfnTable(
4080
4115
  )
4081
4116
  ),
4082
4117
  kinesis_stream_specification=dynamodb.CfnTable.KinesisStreamSpecificationProperty(
4083
- stream_arn="streamArn"
4118
+ stream_arn="streamArn",
4119
+
4120
+ # the properties below are optional
4121
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
4084
4122
  ),
4085
4123
  local_secondary_indexes=[dynamodb.CfnTable.LocalSecondaryIndexProperty(
4086
4124
  index_name="indexName",
@@ -5187,13 +5225,22 @@ class CfnTable(
5187
5225
  @jsii.data_type(
5188
5226
  jsii_type="aws-cdk-lib.aws_dynamodb.CfnTable.KinesisStreamSpecificationProperty",
5189
5227
  jsii_struct_bases=[],
5190
- name_mapping={"stream_arn": "streamArn"},
5228
+ name_mapping={
5229
+ "stream_arn": "streamArn",
5230
+ "approximate_creation_date_time_precision": "approximateCreationDateTimePrecision",
5231
+ },
5191
5232
  )
5192
5233
  class KinesisStreamSpecificationProperty:
5193
- def __init__(self, *, stream_arn: builtins.str) -> None:
5234
+ def __init__(
5235
+ self,
5236
+ *,
5237
+ stream_arn: builtins.str,
5238
+ approximate_creation_date_time_precision: typing.Optional[builtins.str] = None,
5239
+ ) -> None:
5194
5240
  '''The Kinesis Data Streams configuration for the specified table.
5195
5241
 
5196
5242
  :param stream_arn: The ARN for a specific Kinesis data stream. Length Constraints: Minimum length of 37. Maximum length of 1024.
5243
+ :param approximate_creation_date_time_precision: The precision for the time and date that the stream was created.
5197
5244
 
5198
5245
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-kinesisstreamspecification.html
5199
5246
  :exampleMetadata: fixture=_generated
@@ -5205,15 +5252,21 @@ class CfnTable(
5205
5252
  from aws_cdk import aws_dynamodb as dynamodb
5206
5253
 
5207
5254
  kinesis_stream_specification_property = dynamodb.CfnTable.KinesisStreamSpecificationProperty(
5208
- stream_arn="streamArn"
5255
+ stream_arn="streamArn",
5256
+
5257
+ # the properties below are optional
5258
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
5209
5259
  )
5210
5260
  '''
5211
5261
  if __debug__:
5212
5262
  type_hints = typing.get_type_hints(_typecheckingstub__cbb77b10d6677c9577ed11e7ae53f72ab1665def857c99c6c07d8e5de0dc705e)
5213
5263
  check_type(argname="argument stream_arn", value=stream_arn, expected_type=type_hints["stream_arn"])
5264
+ check_type(argname="argument approximate_creation_date_time_precision", value=approximate_creation_date_time_precision, expected_type=type_hints["approximate_creation_date_time_precision"])
5214
5265
  self._values: typing.Dict[builtins.str, typing.Any] = {
5215
5266
  "stream_arn": stream_arn,
5216
5267
  }
5268
+ if approximate_creation_date_time_precision is not None:
5269
+ self._values["approximate_creation_date_time_precision"] = approximate_creation_date_time_precision
5217
5270
 
5218
5271
  @builtins.property
5219
5272
  def stream_arn(self) -> builtins.str:
@@ -5227,6 +5280,17 @@ class CfnTable(
5227
5280
  assert result is not None, "Required property 'stream_arn' is missing"
5228
5281
  return typing.cast(builtins.str, result)
5229
5282
 
5283
+ @builtins.property
5284
+ def approximate_creation_date_time_precision(
5285
+ self,
5286
+ ) -> typing.Optional[builtins.str]:
5287
+ '''The precision for the time and date that the stream was created.
5288
+
5289
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-kinesisstreamspecification.html#cfn-dynamodb-table-kinesisstreamspecification-approximatecreationdatetimeprecision
5290
+ '''
5291
+ result = self._values.get("approximate_creation_date_time_precision")
5292
+ return typing.cast(typing.Optional[builtins.str], result)
5293
+
5230
5294
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5231
5295
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5232
5296
 
@@ -6031,7 +6095,10 @@ class CfnTableProps:
6031
6095
  )
6032
6096
  ),
6033
6097
  kinesis_stream_specification=dynamodb.CfnTable.KinesisStreamSpecificationProperty(
6034
- stream_arn="streamArn"
6098
+ stream_arn="streamArn",
6099
+
6100
+ # the properties below are optional
6101
+ approximate_creation_date_time_precision="approximateCreationDateTimePrecision"
6035
6102
  ),
6036
6103
  local_secondary_indexes=[dynamodb.CfnTable.LocalSecondaryIndexProperty(
6037
6104
  index_name="indexName",
@@ -13682,6 +13749,7 @@ def _typecheckingstub__2f6fed9a918a916a89877bc736388ca668f340b42771520c53e2d95e6
13682
13749
  def _typecheckingstub__6acc9d3df1fb5e5e6046cee30108ea5fa4450c329d99252dfa36f32cff756603(
13683
13750
  *,
13684
13751
  stream_arn: builtins.str,
13752
+ approximate_creation_date_time_precision: typing.Optional[builtins.str] = None,
13685
13753
  ) -> None:
13686
13754
  """Type checking stubs"""
13687
13755
  pass
@@ -14008,6 +14076,7 @@ def _typecheckingstub__e950e1a9ef4b739c934ec12e9f31ed8ea144c936240d474b6661a064b
14008
14076
  def _typecheckingstub__cbb77b10d6677c9577ed11e7ae53f72ab1665def857c99c6c07d8e5de0dc705e(
14009
14077
  *,
14010
14078
  stream_arn: builtins.str,
14079
+ approximate_creation_date_time_precision: typing.Optional[builtins.str] = None,
14011
14080
  ) -> None:
14012
14081
  """Type checking stubs"""
14013
14082
  pass