aws-cdk-lib 2.154.0__py3-none-any.whl → 2.155.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 (35) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.154.0.jsii.tgz → aws-cdk-lib@2.155.0.jsii.tgz} +0 -0
  3. aws_cdk/assertions/__init__.py +17 -17
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_bedrock/__init__.py +2672 -306
  6. aws_cdk/aws_cloudfront/__init__.py +20 -5
  7. aws_cdk/aws_codebuild/__init__.py +384 -4
  8. aws_cdk/aws_ec2/__init__.py +246 -47
  9. aws_cdk/aws_ecs/__init__.py +5 -3
  10. aws_cdk/aws_eks/__init__.py +34 -4
  11. aws_cdk/aws_gamelift/__init__.py +52 -40
  12. aws_cdk/aws_glue/__init__.py +55 -4
  13. aws_cdk/aws_imagebuilder/__init__.py +6 -6
  14. aws_cdk/aws_ivs/__init__.py +460 -2
  15. aws_cdk/aws_kms/__init__.py +36 -0
  16. aws_cdk/aws_lambda/__init__.py +38 -23
  17. aws_cdk/aws_lambda_event_sources/__init__.py +27 -0
  18. aws_cdk/aws_medialive/__init__.py +41 -0
  19. aws_cdk/aws_msk/__init__.py +88 -0
  20. aws_cdk/aws_rds/__init__.py +6 -0
  21. aws_cdk/aws_sagemaker/__init__.py +2 -2
  22. aws_cdk/aws_secretsmanager/__init__.py +3 -2
  23. aws_cdk/aws_ses/__init__.py +7 -7
  24. aws_cdk/aws_ssm/__init__.py +5 -5
  25. aws_cdk/aws_ssmcontacts/__init__.py +12 -0
  26. aws_cdk/aws_stepfunctions/__init__.py +12 -14
  27. aws_cdk/aws_stepfunctions_tasks/__init__.py +76 -0
  28. aws_cdk/aws_synthetics/__init__.py +13 -0
  29. aws_cdk/custom_resources/__init__.py +113 -2
  30. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/METADATA +1 -1
  31. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/RECORD +35 -35
  32. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/LICENSE +0 -0
  33. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/NOTICE +0 -0
  34. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/WHEEL +0 -0
  35. {aws_cdk_lib-2.154.0.dist-info → aws_cdk_lib-2.155.0.dist-info}/top_level.txt +0 -0
@@ -4587,7 +4587,10 @@ class CfnDatabase(
4587
4587
  database_name="databaseName",
4588
4588
  region="region"
4589
4589
  )
4590
- )
4590
+ ),
4591
+
4592
+ # the properties below are optional
4593
+ database_name="databaseName"
4591
4594
  )
4592
4595
  '''
4593
4596
 
@@ -4598,18 +4601,24 @@ class CfnDatabase(
4598
4601
  *,
4599
4602
  catalog_id: builtins.str,
4600
4603
  database_input: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDatabase.DatabaseInputProperty", typing.Dict[builtins.str, typing.Any]]],
4604
+ database_name: typing.Optional[builtins.str] = None,
4601
4605
  ) -> None:
4602
4606
  '''
4603
4607
  :param scope: Scope in which this resource is defined.
4604
4608
  :param id: Construct identifier for this resource (unique in its scope).
4605
4609
  :param catalog_id: The AWS account ID for the account in which to create the catalog object. .. epigraph:: To specify the account ID, you can use the ``Ref`` intrinsic function with the ``AWS::AccountId`` pseudo parameter. For example: ``!Ref AWS::AccountId``
4606
4610
  :param database_input: The metadata for the database.
4611
+ :param database_name: The name of the catalog database.
4607
4612
  '''
4608
4613
  if __debug__:
4609
4614
  type_hints = typing.get_type_hints(_typecheckingstub__7145103c869df1a981612b4445af4fee59059eebaa09d55e36fa9961bbd0d271)
4610
4615
  check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
4611
4616
  check_type(argname="argument id", value=id, expected_type=type_hints["id"])
4612
- props = CfnDatabaseProps(catalog_id=catalog_id, database_input=database_input)
4617
+ props = CfnDatabaseProps(
4618
+ catalog_id=catalog_id,
4619
+ database_input=database_input,
4620
+ database_name=database_name,
4621
+ )
4613
4622
 
4614
4623
  jsii.create(self.__class__, self, [scope, id, props])
4615
4624
 
@@ -4687,6 +4696,19 @@ class CfnDatabase(
4687
4696
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4688
4697
  jsii.set(self, "databaseInput", value) # pyright: ignore[reportArgumentType]
4689
4698
 
4699
+ @builtins.property
4700
+ @jsii.member(jsii_name="databaseName")
4701
+ def database_name(self) -> typing.Optional[builtins.str]:
4702
+ '''The name of the catalog database.'''
4703
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "databaseName"))
4704
+
4705
+ @database_name.setter
4706
+ def database_name(self, value: typing.Optional[builtins.str]) -> None:
4707
+ if __debug__:
4708
+ type_hints = typing.get_type_hints(_typecheckingstub__d28fb8105d8f6e44e28b949eb20a28aaef5ec741816a8936ee73fa9b7e77fba8)
4709
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4710
+ jsii.set(self, "databaseName", value) # pyright: ignore[reportArgumentType]
4711
+
4690
4712
  @jsii.data_type(
4691
4713
  jsii_type="aws-cdk-lib.aws_glue.CfnDatabase.DataLakePrincipalProperty",
4692
4714
  jsii_struct_bases=[],
@@ -5156,7 +5178,11 @@ class CfnDatabase(
5156
5178
  @jsii.data_type(
5157
5179
  jsii_type="aws-cdk-lib.aws_glue.CfnDatabaseProps",
5158
5180
  jsii_struct_bases=[],
5159
- name_mapping={"catalog_id": "catalogId", "database_input": "databaseInput"},
5181
+ name_mapping={
5182
+ "catalog_id": "catalogId",
5183
+ "database_input": "databaseInput",
5184
+ "database_name": "databaseName",
5185
+ },
5160
5186
  )
5161
5187
  class CfnDatabaseProps:
5162
5188
  def __init__(
@@ -5164,11 +5190,13 @@ class CfnDatabaseProps:
5164
5190
  *,
5165
5191
  catalog_id: builtins.str,
5166
5192
  database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
5193
+ database_name: typing.Optional[builtins.str] = None,
5167
5194
  ) -> None:
5168
5195
  '''Properties for defining a ``CfnDatabase``.
5169
5196
 
5170
5197
  :param catalog_id: The AWS account ID for the account in which to create the catalog object. .. epigraph:: To specify the account ID, you can use the ``Ref`` intrinsic function with the ``AWS::AccountId`` pseudo parameter. For example: ``!Ref AWS::AccountId``
5171
5198
  :param database_input: The metadata for the database.
5199
+ :param database_name: The name of the catalog database.
5172
5200
 
5173
5201
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html
5174
5202
  :exampleMetadata: fixture=_generated
@@ -5203,17 +5231,23 @@ class CfnDatabaseProps:
5203
5231
  database_name="databaseName",
5204
5232
  region="region"
5205
5233
  )
5206
- )
5234
+ ),
5235
+
5236
+ # the properties below are optional
5237
+ database_name="databaseName"
5207
5238
  )
5208
5239
  '''
5209
5240
  if __debug__:
5210
5241
  type_hints = typing.get_type_hints(_typecheckingstub__2352883ee521541265e5630512401b3837ac0875c8b4eced9967bf612ebac267)
5211
5242
  check_type(argname="argument catalog_id", value=catalog_id, expected_type=type_hints["catalog_id"])
5212
5243
  check_type(argname="argument database_input", value=database_input, expected_type=type_hints["database_input"])
5244
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
5213
5245
  self._values: typing.Dict[builtins.str, typing.Any] = {
5214
5246
  "catalog_id": catalog_id,
5215
5247
  "database_input": database_input,
5216
5248
  }
5249
+ if database_name is not None:
5250
+ self._values["database_name"] = database_name
5217
5251
 
5218
5252
  @builtins.property
5219
5253
  def catalog_id(self) -> builtins.str:
@@ -5241,6 +5275,15 @@ class CfnDatabaseProps:
5241
5275
  assert result is not None, "Required property 'database_input' is missing"
5242
5276
  return typing.cast(typing.Union[_IResolvable_da3f097b, CfnDatabase.DatabaseInputProperty], result)
5243
5277
 
5278
+ @builtins.property
5279
+ def database_name(self) -> typing.Optional[builtins.str]:
5280
+ '''The name of the catalog database.
5281
+
5282
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html#cfn-glue-database-databasename
5283
+ '''
5284
+ result = self._values.get("database_name")
5285
+ return typing.cast(typing.Optional[builtins.str], result)
5286
+
5244
5287
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
5245
5288
  return isinstance(rhs, self.__class__) and rhs._values == self._values
5246
5289
 
@@ -15840,6 +15883,7 @@ def _typecheckingstub__7145103c869df1a981612b4445af4fee59059eebaa09d55e36fa9961b
15840
15883
  *,
15841
15884
  catalog_id: builtins.str,
15842
15885
  database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
15886
+ database_name: typing.Optional[builtins.str] = None,
15843
15887
  ) -> None:
15844
15888
  """Type checking stubs"""
15845
15889
  pass
@@ -15868,6 +15912,12 @@ def _typecheckingstub__6e2364f804df0cc3d57e45e3e5c68968dc857adcab174703540814754
15868
15912
  """Type checking stubs"""
15869
15913
  pass
15870
15914
 
15915
+ def _typecheckingstub__d28fb8105d8f6e44e28b949eb20a28aaef5ec741816a8936ee73fa9b7e77fba8(
15916
+ value: typing.Optional[builtins.str],
15917
+ ) -> None:
15918
+ """Type checking stubs"""
15919
+ pass
15920
+
15871
15921
  def _typecheckingstub__6fa63353d4d392cf6a598ebd7c80b56747ad0b7973313267f52becc342ac17de(
15872
15922
  *,
15873
15923
  data_lake_principal_identifier: typing.Optional[builtins.str] = None,
@@ -15917,6 +15967,7 @@ def _typecheckingstub__2352883ee521541265e5630512401b3837ac0875c8b4eced9967bf612
15917
15967
  *,
15918
15968
  catalog_id: builtins.str,
15919
15969
  database_input: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDatabase.DatabaseInputProperty, typing.Dict[builtins.str, typing.Any]]],
15970
+ database_name: typing.Optional[builtins.str] = None,
15920
15971
  ) -> None:
15921
15972
  """Type checking stubs"""
15922
15973
  pass
@@ -3613,7 +3613,7 @@ class CfnImage(
3613
3613
  ) -> None:
3614
3614
  '''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
3615
3615
 
3616
- :param container_tags: Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
3616
+ :param container_tags: Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
3617
3617
  :param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
3618
3618
 
3619
3619
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-ecrconfiguration.html
@@ -3642,9 +3642,9 @@ class CfnImage(
3642
3642
 
3643
3643
  @builtins.property
3644
3644
  def container_tags(self) -> typing.Optional[typing.List[builtins.str]]:
3645
- '''Tags for Image Builder to apply to the output container image that &INS;
3645
+ '''Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
3646
3646
 
3647
- scans. Tags can help you identify and manage your scanned images.
3647
+ Tags can help you identify and manage your scanned images.
3648
3648
 
3649
3649
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-image-ecrconfiguration.html#cfn-imagebuilder-image-ecrconfiguration-containertags
3650
3650
  '''
@@ -4433,7 +4433,7 @@ class CfnImagePipeline(
4433
4433
  ) -> None:
4434
4434
  '''Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
4435
4435
 
4436
- :param container_tags: Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
4436
+ :param container_tags: Tags for Image Builder to apply to the output container image that Amazon Inspector scans. Tags can help you identify and manage your scanned images.
4437
4437
  :param repository_name: The name of the container repository that Amazon Inspector scans to identify findings for your container images. The name includes the path for the repository location. If you don’t provide this information, Image Builder creates a repository in your account named ``image-builder-image-scanning-repository`` for vulnerability scans of your output container images.
4438
4438
 
4439
4439
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-ecrconfiguration.html
@@ -4462,9 +4462,9 @@ class CfnImagePipeline(
4462
4462
 
4463
4463
  @builtins.property
4464
4464
  def container_tags(self) -> typing.Optional[typing.List[builtins.str]]:
4465
- '''Tags for Image Builder to apply to the output container image that &INS;
4465
+ '''Tags for Image Builder to apply to the output container image that Amazon Inspector scans.
4466
4466
 
4467
- scans. Tags can help you identify and manage your scanned images.
4467
+ Tags can help you identify and manage your scanned images.
4468
4468
 
4469
4469
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-imagepipeline-ecrconfiguration.html#cfn-imagebuilder-imagepipeline-ecrconfiguration-containertags
4470
4470
  '''