aws-cdk-lib 2.185.0__py3-none-any.whl → 2.187.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 (87) hide show
  1. aws_cdk/__init__.py +383 -145
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.185.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +3 -2
  5. aws_cdk/aws_amplify/__init__.py +124 -0
  6. aws_cdk/aws_apigateway/__init__.py +48 -2
  7. aws_cdk/aws_apigatewayv2/__init__.py +9 -0
  8. aws_cdk/aws_appconfig/__init__.py +3 -3
  9. aws_cdk/aws_applicationsignals/__init__.py +363 -3
  10. aws_cdk/aws_appsync/__init__.py +74 -3
  11. aws_cdk/aws_bedrock/__init__.py +395 -14
  12. aws_cdk/aws_cassandra/__init__.py +2 -2
  13. aws_cdk/aws_cleanrooms/__init__.py +21 -9
  14. aws_cdk/aws_cloudformation/__init__.py +1 -5
  15. aws_cdk/aws_cloudfront/__init__.py +15 -1
  16. aws_cdk/aws_cloudfront_origins/__init__.py +4 -2
  17. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  18. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  19. aws_cdk/aws_codeartifact/__init__.py +20 -33
  20. aws_cdk/aws_codebuild/__init__.py +9 -0
  21. aws_cdk/aws_codepipeline/__init__.py +1328 -120
  22. aws_cdk/aws_cognito/__init__.py +1 -1
  23. aws_cdk/aws_cognito_identitypool/__init__.py +2303 -0
  24. aws_cdk/aws_config/__init__.py +2 -5
  25. aws_cdk/aws_connect/__init__.py +3 -7
  26. aws_cdk/aws_controltower/__init__.py +18 -26
  27. aws_cdk/aws_datazone/__init__.py +3540 -10
  28. aws_cdk/aws_detective/__init__.py +3 -3
  29. aws_cdk/aws_dynamodb/__init__.py +37 -0
  30. aws_cdk/aws_ec2/__init__.py +714 -37
  31. aws_cdk/aws_ecr/__init__.py +143 -0
  32. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  33. aws_cdk/aws_ecs/__init__.py +66 -20
  34. aws_cdk/aws_eks/__init__.py +114 -0
  35. aws_cdk/aws_events/__init__.py +26 -6
  36. aws_cdk/aws_forecast/__init__.py +1 -1
  37. aws_cdk/aws_fsx/__init__.py +2 -2
  38. aws_cdk/aws_gamelift/__init__.py +11 -11
  39. aws_cdk/aws_iam/__init__.py +264 -0
  40. aws_cdk/aws_identitystore/__init__.py +16 -16
  41. aws_cdk/aws_imagebuilder/__init__.py +3 -27
  42. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  43. aws_cdk/aws_kinesisfirehose/__init__.py +2 -3
  44. aws_cdk/aws_kms/__init__.py +10 -11
  45. aws_cdk/aws_lakeformation/__init__.py +3 -3
  46. aws_cdk/aws_lambda/__init__.py +112 -5
  47. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  48. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  49. aws_cdk/aws_lex/__init__.py +981 -5
  50. aws_cdk/aws_location/__init__.py +24 -7
  51. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  52. aws_cdk/aws_msk/__init__.py +8 -2
  53. aws_cdk/aws_mwaa/__init__.py +9 -9
  54. aws_cdk/aws_networkfirewall/__init__.py +60 -12
  55. aws_cdk/aws_oam/__init__.py +8 -37
  56. aws_cdk/aws_omics/__init__.py +216 -0
  57. aws_cdk/aws_quicksight/__init__.py +250 -108
  58. aws_cdk/aws_rds/__init__.py +102 -10
  59. aws_cdk/aws_redshiftserverless/__init__.py +192 -15
  60. aws_cdk/aws_route53/__init__.py +2 -2
  61. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  62. aws_cdk/aws_rum/__init__.py +315 -52
  63. aws_cdk/aws_s3_assets/__init__.py +70 -1
  64. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  65. aws_cdk/aws_sagemaker/__init__.py +6 -4
  66. aws_cdk/aws_scheduler/__init__.py +3944 -121
  67. aws_cdk/aws_scheduler_targets/__init__.py +4460 -0
  68. aws_cdk/aws_securitylake/__init__.py +2 -2
  69. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  70. aws_cdk/aws_sns/__init__.py +1 -1
  71. aws_cdk/aws_ssmquicksetup/__init__.py +5 -3
  72. aws_cdk/aws_stepfunctions/__init__.py +8 -0
  73. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  74. aws_cdk/aws_synthetics/__init__.py +9 -0
  75. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  76. aws_cdk/aws_timestream/__init__.py +4 -4
  77. aws_cdk/aws_wafv2/__init__.py +1117 -1446
  78. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  79. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  80. aws_cdk/cx_api/__init__.py +38 -0
  81. aws_cdk/pipelines/__init__.py +20 -2
  82. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  83. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +87 -85
  84. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  85. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  86. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  87. {aws_cdk_lib-2.185.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
@@ -24,7 +24,10 @@ to an S3 bucket during deployment.
24
24
 
25
25
  ```python
26
26
  asset = assets.Asset(self, "SampleAsset",
27
- path=path.join(__dirname, "file-asset.txt")
27
+ path=path.join(__dirname, "file-asset.txt"),
28
+
29
+ # Optional: describe the purpose of the asset with a human-readable string
30
+ display_name="My file"
28
31
  )
29
32
  ```
30
33
 
@@ -294,6 +297,7 @@ class Asset(
294
297
  *,
295
298
  path: builtins.str,
296
299
  deploy_time: typing.Optional[builtins.bool] = None,
300
+ display_name: typing.Optional[builtins.str] = None,
297
301
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
298
302
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
299
303
  asset_hash: typing.Optional[builtins.str] = None,
@@ -308,6 +312,7 @@ class Asset(
308
312
  :param id: -
309
313
  :param path: The disk location of the asset. The path should refer to one of the following: - A regular file or a .zip file, in which case the file will be uploaded as-is to S3. - A directory, in which case it will be archived into a .zip file and uploaded to S3.
310
314
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
315
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
311
316
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
312
317
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
313
318
  :param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
@@ -324,6 +329,7 @@ class Asset(
324
329
  props = AssetProps(
325
330
  path=path,
326
331
  deploy_time=deploy_time,
332
+ display_name=display_name,
327
333
  readers=readers,
328
334
  source_kms_key=source_kms_key,
329
335
  asset_hash=asset_hash,
@@ -462,6 +468,7 @@ class Asset(
462
468
  "follow_symlinks": "followSymlinks",
463
469
  "ignore_mode": "ignoreMode",
464
470
  "deploy_time": "deployTime",
471
+ "display_name": "displayName",
465
472
  "readers": "readers",
466
473
  "source_kms_key": "sourceKMSKey",
467
474
  },
@@ -477,6 +484,7 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
477
484
  follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
478
485
  ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
479
486
  deploy_time: typing.Optional[builtins.bool] = None,
487
+ display_name: typing.Optional[builtins.str] = None,
480
488
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
481
489
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
482
490
  ) -> None:
@@ -488,6 +496,7 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
488
496
  :param follow_symlinks: A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER
489
497
  :param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
490
498
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
499
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
491
500
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
492
501
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
493
502
 
@@ -518,6 +527,7 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
518
527
  check_type(argname="argument follow_symlinks", value=follow_symlinks, expected_type=type_hints["follow_symlinks"])
519
528
  check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
520
529
  check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
530
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
521
531
  check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
522
532
  check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
523
533
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -535,6 +545,8 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
535
545
  self._values["ignore_mode"] = ignore_mode
536
546
  if deploy_time is not None:
537
547
  self._values["deploy_time"] = deploy_time
548
+ if display_name is not None:
549
+ self._values["display_name"] = display_name
538
550
  if readers is not None:
539
551
  self._values["readers"] = readers
540
552
  if source_kms_key is not None:
@@ -641,6 +653,30 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
641
653
  result = self._values.get("deploy_time")
642
654
  return typing.cast(typing.Optional[builtins.bool], result)
643
655
 
656
+ @builtins.property
657
+ def display_name(self) -> typing.Optional[builtins.str]:
658
+ '''A display name for this asset.
659
+
660
+ If supplied, the display name will be used in locations where the asset
661
+ identifier is printed, like in the CLI progress information. If the same
662
+ asset is added multiple times, the display name of the first occurrence is
663
+ used.
664
+
665
+ The default is the construct path of the Asset construct, with respect to
666
+ the enclosing stack. If the asset is produced by a construct helper
667
+ function (such as ``lambda.Code.fromAsset()``), this will look like
668
+ ``MyFunction/Code``.
669
+
670
+ We use the stack-relative construct path so that in the common case where
671
+ you have multiple stacks with the same asset, we won't show something like
672
+ ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to
673
+ production.
674
+
675
+ :default: - Stack-relative construct path
676
+ '''
677
+ result = self._values.get("display_name")
678
+ return typing.cast(typing.Optional[builtins.str], result)
679
+
644
680
  @builtins.property
645
681
  def readers(self) -> typing.Optional[typing.List[_IGrantable_71c4f5de]]:
646
682
  '''A list of principals that should be able to read this asset from S3.
@@ -684,6 +720,7 @@ class AssetOptions(_AssetOptions_9cd3031e, _FileCopyOptions_e03e2a30):
684
720
  "follow_symlinks": "followSymlinks",
685
721
  "ignore_mode": "ignoreMode",
686
722
  "deploy_time": "deployTime",
723
+ "display_name": "displayName",
687
724
  "readers": "readers",
688
725
  "source_kms_key": "sourceKMSKey",
689
726
  "path": "path",
@@ -700,6 +737,7 @@ class AssetProps(AssetOptions):
700
737
  follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
701
738
  ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
702
739
  deploy_time: typing.Optional[builtins.bool] = None,
740
+ display_name: typing.Optional[builtins.str] = None,
703
741
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
704
742
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
705
743
  path: builtins.str,
@@ -712,6 +750,7 @@ class AssetProps(AssetOptions):
712
750
  :param follow_symlinks: A strategy for how to handle symlinks. Default: SymlinkFollowMode.NEVER
713
751
  :param ignore_mode: The ignore behavior to use for ``exclude`` patterns. Default: IgnoreMode.GLOB
714
752
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
753
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
715
754
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
716
755
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
717
756
  :param path: The disk location of the asset. The path should refer to one of the following: - A regular file or a .zip file, in which case the file will be uploaded as-is to S3. - A directory, in which case it will be archived into a .zip file and uploaded to S3.
@@ -743,6 +782,7 @@ class AssetProps(AssetOptions):
743
782
  check_type(argname="argument follow_symlinks", value=follow_symlinks, expected_type=type_hints["follow_symlinks"])
744
783
  check_type(argname="argument ignore_mode", value=ignore_mode, expected_type=type_hints["ignore_mode"])
745
784
  check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
785
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
746
786
  check_type(argname="argument readers", value=readers, expected_type=type_hints["readers"])
747
787
  check_type(argname="argument source_kms_key", value=source_kms_key, expected_type=type_hints["source_kms_key"])
748
788
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
@@ -763,6 +803,8 @@ class AssetProps(AssetOptions):
763
803
  self._values["ignore_mode"] = ignore_mode
764
804
  if deploy_time is not None:
765
805
  self._values["deploy_time"] = deploy_time
806
+ if display_name is not None:
807
+ self._values["display_name"] = display_name
766
808
  if readers is not None:
767
809
  self._values["readers"] = readers
768
810
  if source_kms_key is not None:
@@ -869,6 +911,30 @@ class AssetProps(AssetOptions):
869
911
  result = self._values.get("deploy_time")
870
912
  return typing.cast(typing.Optional[builtins.bool], result)
871
913
 
914
+ @builtins.property
915
+ def display_name(self) -> typing.Optional[builtins.str]:
916
+ '''A display name for this asset.
917
+
918
+ If supplied, the display name will be used in locations where the asset
919
+ identifier is printed, like in the CLI progress information. If the same
920
+ asset is added multiple times, the display name of the first occurrence is
921
+ used.
922
+
923
+ The default is the construct path of the Asset construct, with respect to
924
+ the enclosing stack. If the asset is produced by a construct helper
925
+ function (such as ``lambda.Code.fromAsset()``), this will look like
926
+ ``MyFunction/Code``.
927
+
928
+ We use the stack-relative construct path so that in the common case where
929
+ you have multiple stacks with the same asset, we won't show something like
930
+ ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to
931
+ production.
932
+
933
+ :default: - Stack-relative construct path
934
+ '''
935
+ result = self._values.get("display_name")
936
+ return typing.cast(typing.Optional[builtins.str], result)
937
+
872
938
  @builtins.property
873
939
  def readers(self) -> typing.Optional[typing.List[_IGrantable_71c4f5de]]:
874
940
  '''A list of principals that should be able to read this asset from S3.
@@ -928,6 +994,7 @@ def _typecheckingstub__00df81fd3b746cf2ee52c0e7a23b6fdc1b45db97673ca7e25a9651e7e
928
994
  *,
929
995
  path: builtins.str,
930
996
  deploy_time: typing.Optional[builtins.bool] = None,
997
+ display_name: typing.Optional[builtins.str] = None,
931
998
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
932
999
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
933
1000
  asset_hash: typing.Optional[builtins.str] = None,
@@ -962,6 +1029,7 @@ def _typecheckingstub__11950fe0327642dd25ddfeb2c620bb33847718475fe489bf003d096a0
962
1029
  follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
963
1030
  ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
964
1031
  deploy_time: typing.Optional[builtins.bool] = None,
1032
+ display_name: typing.Optional[builtins.str] = None,
965
1033
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
966
1034
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
967
1035
  ) -> None:
@@ -977,6 +1045,7 @@ def _typecheckingstub__f879318d3885bc2e9c71c124fac7ad5a955812e438be7c03244c3aad7
977
1045
  follow_symlinks: typing.Optional[_SymlinkFollowMode_047ec1f6] = None,
978
1046
  ignore_mode: typing.Optional[_IgnoreMode_655a98e8] = None,
979
1047
  deploy_time: typing.Optional[builtins.bool] = None,
1048
+ display_name: typing.Optional[builtins.str] = None,
980
1049
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
981
1050
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
982
1051
  path: builtins.str,
@@ -1952,6 +1952,7 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
1952
1952
  path: builtins.str,
1953
1953
  *,
1954
1954
  deploy_time: typing.Optional[builtins.bool] = None,
1955
+ display_name: typing.Optional[builtins.str] = None,
1955
1956
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
1956
1957
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
1957
1958
  asset_hash: typing.Optional[builtins.str] = None,
@@ -1968,6 +1969,7 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
1968
1969
 
1969
1970
  :param path: The path to a local .zip file or a directory.
1970
1971
  :param deploy_time: Whether or not the asset needs to exist beyond deployment time; i.e. are copied over to a different location and not needed afterwards. Setting this property to true has an impact on the lifecycle of the asset, because we will assume that it is safe to delete after the CloudFormation deployment succeeds. For example, Lambda Function assets are copied over to Lambda during deployment. Therefore, it is not necessary to store the asset in S3, so we consider those deployTime assets. Default: false
1972
+ :param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
1971
1973
  :param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
1972
1974
  :param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
1973
1975
  :param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
@@ -1982,6 +1984,7 @@ class Source(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_s3_deployment.S
1982
1984
  check_type(argname="argument path", value=path, expected_type=type_hints["path"])
1983
1985
  options = _AssetOptions_2aa69621(
1984
1986
  deploy_time=deploy_time,
1987
+ display_name=display_name,
1985
1988
  readers=readers,
1986
1989
  source_kms_key=source_kms_key,
1987
1990
  asset_hash=asset_hash,
@@ -2443,6 +2446,7 @@ def _typecheckingstub__fc877c69568cee7364ec77003356fc6818118602dda64adf3dbf38ff7
2443
2446
  path: builtins.str,
2444
2447
  *,
2445
2448
  deploy_time: typing.Optional[builtins.bool] = None,
2449
+ display_name: typing.Optional[builtins.str] = None,
2446
2450
  readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
2447
2451
  source_kms_key: typing.Optional[_IKey_5f11635f] = None,
2448
2452
  asset_hash: typing.Optional[builtins.str] = None,
@@ -10021,7 +10021,7 @@ class CfnEndpoint(
10021
10021
  :param id: Construct identifier for this resource (unique in its scope).
10022
10022
  :param endpoint_config_name: The name of the `AWS::SageMaker::EndpointConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html>`_ resource that specifies the configuration for the endpoint. For more information, see `CreateEndpointConfig <https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html>`_ .
10023
10023
  :param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
10024
- :param endpoint_name: The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
10024
+ :param endpoint_name: The name of the endpoint. The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
10025
10025
  :param exclude_retained_variant_properties: When you are updating endpoint resources with `RetainAllVariantProperties <https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties>`_ whose value is set to ``true`` , ``ExcludeRetainedVariantProperties`` specifies the list of type `VariantProperty <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html>`_ to override with the values provided by ``EndpointConfig`` . If you don't specify a value for ``ExcludeAllVariantProperties`` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when ``RetainAllVariantProperties`` is set to ``false`` .
10026
10026
  :param retain_all_variant_properties: When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set ``RetainAllVariantProperties`` to ``true`` . To use the variant properties specified in a new ``EndpointConfig`` call when updating an endpoint, set ``RetainAllVariantProperties`` to ``false`` . Use this property only when updating endpoint resources, not when creating new endpoint resources.
10027
10027
  :param retain_deployment_config: Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
@@ -10144,7 +10144,7 @@ class CfnEndpoint(
10144
10144
  @builtins.property
10145
10145
  @jsii.member(jsii_name="endpointName")
10146
10146
  def endpoint_name(self) -> typing.Optional[builtins.str]:
10147
- '''The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .'''
10147
+ '''The name of the endpoint.'''
10148
10148
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "endpointName"))
10149
10149
 
10150
10150
  @endpoint_name.setter
@@ -13864,7 +13864,7 @@ class CfnEndpointProps:
13864
13864
 
13865
13865
  :param endpoint_config_name: The name of the `AWS::SageMaker::EndpointConfig <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html>`_ resource that specifies the configuration for the endpoint. For more information, see `CreateEndpointConfig <https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html>`_ .
13866
13866
  :param deployment_config: The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
13867
- :param endpoint_name: The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
13867
+ :param endpoint_name: The name of the endpoint. The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
13868
13868
  :param exclude_retained_variant_properties: When you are updating endpoint resources with `RetainAllVariantProperties <https://docs.aws.amazon.com/sagemaker/latest/dg/API_UpdateEndpoint.html#SageMaker-UpdateEndpoint-request-RetainAllVariantProperties>`_ whose value is set to ``true`` , ``ExcludeRetainedVariantProperties`` specifies the list of type `VariantProperty <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html>`_ to override with the values provided by ``EndpointConfig`` . If you don't specify a value for ``ExcludeAllVariantProperties`` , no variant properties are overridden. Don't use this property when creating new endpoint resources or when ``RetainAllVariantProperties`` is set to ``false`` .
13869
13869
  :param retain_all_variant_properties: When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To retain the variant properties of an endpoint when updating it, set ``RetainAllVariantProperties`` to ``true`` . To use the variant properties specified in a new ``EndpointConfig`` call when updating an endpoint, set ``RetainAllVariantProperties`` to ``false`` . Use this property only when updating endpoint resources, not when creating new endpoint resources.
13870
13870
  :param retain_deployment_config: Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
@@ -13984,7 +13984,9 @@ class CfnEndpointProps:
13984
13984
 
13985
13985
  @builtins.property
13986
13986
  def endpoint_name(self) -> typing.Optional[builtins.str]:
13987
- '''The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
13987
+ '''The name of the endpoint.
13988
+
13989
+ The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in ``CreateEndpoint`` , but the case is preserved and must be matched in ` <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_runtime_InvokeEndpoint.html>`_ .
13988
13990
 
13989
13991
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointname
13990
13992
  '''