aws-cdk-lib 2.186.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 (62) hide show
  1. aws_cdk/__init__.py +281 -116
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.187.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +124 -0
  5. aws_cdk/aws_apigateway/__init__.py +48 -2
  6. aws_cdk/aws_appsync/__init__.py +14 -5
  7. aws_cdk/aws_bedrock/__init__.py +32 -22
  8. aws_cdk/aws_cassandra/__init__.py +2 -2
  9. aws_cdk/aws_cloudfront/__init__.py +11 -0
  10. aws_cdk/aws_cloudtrail/__init__.py +4 -18
  11. aws_cdk/aws_cloudwatch/__init__.py +50 -50
  12. aws_cdk/aws_codebuild/__init__.py +9 -0
  13. aws_cdk/aws_config/__init__.py +2 -5
  14. aws_cdk/aws_datazone/__init__.py +287 -226
  15. aws_cdk/aws_detective/__init__.py +3 -3
  16. aws_cdk/aws_dynamodb/__init__.py +37 -0
  17. aws_cdk/aws_ec2/__init__.py +154 -12
  18. aws_cdk/aws_ecr/__init__.py +143 -0
  19. aws_cdk/aws_ecr_assets/__init__.py +115 -4
  20. aws_cdk/aws_ecs/__init__.py +51 -0
  21. aws_cdk/aws_eks/__init__.py +114 -0
  22. aws_cdk/aws_events/__init__.py +8 -11
  23. aws_cdk/aws_forecast/__init__.py +1 -1
  24. aws_cdk/aws_fsx/__init__.py +2 -2
  25. aws_cdk/aws_gamelift/__init__.py +6 -6
  26. aws_cdk/aws_identitystore/__init__.py +16 -16
  27. aws_cdk/aws_iotsitewise/__init__.py +623 -0
  28. aws_cdk/aws_kms/__init__.py +10 -11
  29. aws_cdk/aws_lakeformation/__init__.py +3 -3
  30. aws_cdk/aws_lambda/__init__.py +105 -4
  31. aws_cdk/aws_lambda_event_sources/__init__.py +65 -3
  32. aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
  33. aws_cdk/aws_lex/__init__.py +981 -5
  34. aws_cdk/aws_mediaconnect/__init__.py +714 -290
  35. aws_cdk/aws_mwaa/__init__.py +9 -9
  36. aws_cdk/aws_networkfirewall/__init__.py +44 -0
  37. aws_cdk/aws_omics/__init__.py +216 -0
  38. aws_cdk/aws_quicksight/__init__.py +244 -39
  39. aws_cdk/aws_rds/__init__.py +102 -10
  40. aws_cdk/aws_route53/__init__.py +2 -2
  41. aws_cdk/aws_route53recoverycontrol/__init__.py +43 -2
  42. aws_cdk/aws_s3_assets/__init__.py +70 -1
  43. aws_cdk/aws_s3_deployment/__init__.py +4 -0
  44. aws_cdk/aws_sagemaker/__init__.py +6 -4
  45. aws_cdk/aws_scheduler_targets/__init__.py +4 -16
  46. aws_cdk/aws_securitylake/__init__.py +2 -2
  47. aws_cdk/aws_servicecatalog/__init__.py +4 -0
  48. aws_cdk/aws_sns/__init__.py +1 -1
  49. aws_cdk/aws_stepfunctions/__init__.py +23 -17
  50. aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
  51. aws_cdk/aws_synthetics/__init__.py +9 -0
  52. aws_cdk/aws_systemsmanagersap/__init__.py +150 -0
  53. aws_cdk/aws_wafv2/__init__.py +464 -1138
  54. aws_cdk/cloud_assembly_schema/__init__.py +60 -10
  55. aws_cdk/cx_api/__init__.py +15 -0
  56. aws_cdk/pipelines/__init__.py +20 -2
  57. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/METADATA +4 -4
  58. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/WHEEL +1 -1
  60. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/LICENSE +0 -0
  61. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/NOTICE +0 -0
  62. {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.187.0.dist-info}/top_level.txt +0 -0
aws_cdk/__init__.py CHANGED
@@ -1562,6 +1562,108 @@ from .cx_api import (
1562
1562
  )
1563
1563
 
1564
1564
 
1565
+ @jsii.data_type(
1566
+ jsii_type="aws-cdk-lib.AddDockerImageAssetOptions",
1567
+ jsii_struct_bases=[],
1568
+ name_mapping={"display_name": "displayName"},
1569
+ )
1570
+ class AddDockerImageAssetOptions:
1571
+ def __init__(self, *, display_name: typing.Optional[builtins.str] = None) -> None:
1572
+ '''Options for the addDockerImageAsset operation.
1573
+
1574
+ :param display_name: A display name to associate with the asset. Default: - No display name
1575
+
1576
+ :exampleMetadata: fixture=_generated
1577
+
1578
+ Example::
1579
+
1580
+ # The code below shows an example of how to instantiate this type.
1581
+ # The values are placeholders you should change.
1582
+ import aws_cdk as cdk
1583
+
1584
+ add_docker_image_asset_options = cdk.AddDockerImageAssetOptions(
1585
+ display_name="displayName"
1586
+ )
1587
+ '''
1588
+ if __debug__:
1589
+ type_hints = typing.get_type_hints(_typecheckingstub__5a1ac212aad6af3e005718717aa2d00b8a797e24b74644f38d11d9f5ced18b43)
1590
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1591
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1592
+ if display_name is not None:
1593
+ self._values["display_name"] = display_name
1594
+
1595
+ @builtins.property
1596
+ def display_name(self) -> typing.Optional[builtins.str]:
1597
+ '''A display name to associate with the asset.
1598
+
1599
+ :default: - No display name
1600
+ '''
1601
+ result = self._values.get("display_name")
1602
+ return typing.cast(typing.Optional[builtins.str], result)
1603
+
1604
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1605
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1606
+
1607
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1608
+ return not (rhs == self)
1609
+
1610
+ def __repr__(self) -> str:
1611
+ return "AddDockerImageAssetOptions(%s)" % ", ".join(
1612
+ k + "=" + repr(v) for k, v in self._values.items()
1613
+ )
1614
+
1615
+
1616
+ @jsii.data_type(
1617
+ jsii_type="aws-cdk-lib.AddFileAssetOptions",
1618
+ jsii_struct_bases=[],
1619
+ name_mapping={"display_name": "displayName"},
1620
+ )
1621
+ class AddFileAssetOptions:
1622
+ def __init__(self, *, display_name: typing.Optional[builtins.str] = None) -> None:
1623
+ '''Options for the addFileAsset operation.
1624
+
1625
+ :param display_name: A display name to associate with the asset. Default: - No display name
1626
+
1627
+ :exampleMetadata: fixture=_generated
1628
+
1629
+ Example::
1630
+
1631
+ # The code below shows an example of how to instantiate this type.
1632
+ # The values are placeholders you should change.
1633
+ import aws_cdk as cdk
1634
+
1635
+ add_file_asset_options = cdk.AddFileAssetOptions(
1636
+ display_name="displayName"
1637
+ )
1638
+ '''
1639
+ if __debug__:
1640
+ type_hints = typing.get_type_hints(_typecheckingstub__3b7bb14c4d35bab2918fcff6fafc6bf8560391fa80cf7e743756928a3ff744a2)
1641
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1642
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1643
+ if display_name is not None:
1644
+ self._values["display_name"] = display_name
1645
+
1646
+ @builtins.property
1647
+ def display_name(self) -> typing.Optional[builtins.str]:
1648
+ '''A display name to associate with the asset.
1649
+
1650
+ :default: - No display name
1651
+ '''
1652
+ result = self._values.get("display_name")
1653
+ return typing.cast(typing.Optional[builtins.str], result)
1654
+
1655
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1656
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1657
+
1658
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1659
+ return not (rhs == self)
1660
+
1661
+ def __repr__(self) -> str:
1662
+ return "AddFileAssetOptions(%s)" % ", ".join(
1663
+ k + "=" + repr(v) for k, v in self._values.items()
1664
+ )
1665
+
1666
+
1565
1667
  class Annotations(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Annotations"):
1566
1668
  '''Includes API for attaching annotations such as warning messages to constructs.
1567
1669
 
@@ -2562,13 +2664,9 @@ class AssetManifestBuilder(
2562
2664
  stack: "Stack",
2563
2665
  source_hash: builtins.str,
2564
2666
  source: typing.Union[_DockerImageSource_5db2cfa3, typing.Dict[builtins.str, typing.Any]],
2667
+ dest: typing.Union[_DockerImageDestination_132046c7, typing.Dict[builtins.str, typing.Any]],
2565
2668
  *,
2566
- image_tag: builtins.str,
2567
- repository_name: builtins.str,
2568
- assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2569
- assume_role_arn: typing.Optional[builtins.str] = None,
2570
- assume_role_external_id: typing.Optional[builtins.str] = None,
2571
- region: typing.Optional[builtins.str] = None,
2669
+ display_name: typing.Optional[builtins.str] = None,
2572
2670
  ) -> _DockerImageDestination_132046c7:
2573
2671
  '''Add a docker asset source and destination to the manifest.
2574
2672
 
@@ -2577,28 +2675,18 @@ class AssetManifestBuilder(
2577
2675
  :param stack: -
2578
2676
  :param source_hash: -
2579
2677
  :param source: -
2580
- :param image_tag: Tag of the image to publish.
2581
- :param repository_name: Name of the ECR repository to publish to.
2582
- :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
2583
- :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
2584
- :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
2585
- :param region: The region where this asset will need to be published. Default: - Current region
2678
+ :param dest: -
2679
+ :param display_name: A display name to associate with the asset. Default: - No display name
2586
2680
  '''
2587
2681
  if __debug__:
2588
2682
  type_hints = typing.get_type_hints(_typecheckingstub__e4e4609083793a8b31752be2f457b6b1f1220145a70469bafc48a142860684a6)
2589
2683
  check_type(argname="argument stack", value=stack, expected_type=type_hints["stack"])
2590
2684
  check_type(argname="argument source_hash", value=source_hash, expected_type=type_hints["source_hash"])
2591
2685
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
2592
- dest = _DockerImageDestination_132046c7(
2593
- image_tag=image_tag,
2594
- repository_name=repository_name,
2595
- assume_role_additional_options=assume_role_additional_options,
2596
- assume_role_arn=assume_role_arn,
2597
- assume_role_external_id=assume_role_external_id,
2598
- region=region,
2599
- )
2686
+ check_type(argname="argument dest", value=dest, expected_type=type_hints["dest"])
2687
+ options = AddDockerImageAssetOptions(display_name=display_name)
2600
2688
 
2601
- return typing.cast(_DockerImageDestination_132046c7, jsii.invoke(self, "addDockerImageAsset", [stack, source_hash, source, dest]))
2689
+ return typing.cast(_DockerImageDestination_132046c7, jsii.invoke(self, "addDockerImageAsset", [stack, source_hash, source, dest, options]))
2602
2690
 
2603
2691
  @jsii.member(jsii_name="addFileAsset")
2604
2692
  def add_file_asset(
@@ -2606,13 +2694,9 @@ class AssetManifestBuilder(
2606
2694
  stack: "Stack",
2607
2695
  source_hash: builtins.str,
2608
2696
  source: typing.Union[_FileSource_66254048, typing.Dict[builtins.str, typing.Any]],
2697
+ dest: typing.Union[_FileDestination_7d285b38, typing.Dict[builtins.str, typing.Any]],
2609
2698
  *,
2610
- bucket_name: builtins.str,
2611
- object_key: builtins.str,
2612
- assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
2613
- assume_role_arn: typing.Optional[builtins.str] = None,
2614
- assume_role_external_id: typing.Optional[builtins.str] = None,
2615
- region: typing.Optional[builtins.str] = None,
2699
+ display_name: typing.Optional[builtins.str] = None,
2616
2700
  ) -> _FileDestination_7d285b38:
2617
2701
  '''Add a file asset source and destination to the manifest.
2618
2702
 
@@ -2621,38 +2705,27 @@ class AssetManifestBuilder(
2621
2705
  :param stack: -
2622
2706
  :param source_hash: -
2623
2707
  :param source: -
2624
- :param bucket_name: The name of the bucket.
2625
- :param object_key: The destination object key.
2626
- :param assume_role_additional_options: Additional options to pass to STS when assuming the role. - ``RoleArn`` should not be used. Use the dedicated ``assumeRoleArn`` property instead. - ``ExternalId`` should not be used. Use the dedicated ``assumeRoleExternalId`` instead. Default: - No additional options.
2627
- :param assume_role_arn: The role that needs to be assumed while publishing this asset. Default: - No role will be assumed
2628
- :param assume_role_external_id: The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied
2629
- :param region: The region where this asset will need to be published. Default: - Current region
2708
+ :param dest: -
2709
+ :param display_name: A display name to associate with the asset. Default: - No display name
2630
2710
  '''
2631
2711
  if __debug__:
2632
2712
  type_hints = typing.get_type_hints(_typecheckingstub__f12f649e9db582bca540895dead136ba4f8ce5c52abc11eb50e5224da26e06f5)
2633
2713
  check_type(argname="argument stack", value=stack, expected_type=type_hints["stack"])
2634
2714
  check_type(argname="argument source_hash", value=source_hash, expected_type=type_hints["source_hash"])
2635
2715
  check_type(argname="argument source", value=source, expected_type=type_hints["source"])
2636
- dest = _FileDestination_7d285b38(
2637
- bucket_name=bucket_name,
2638
- object_key=object_key,
2639
- assume_role_additional_options=assume_role_additional_options,
2640
- assume_role_arn=assume_role_arn,
2641
- assume_role_external_id=assume_role_external_id,
2642
- region=region,
2643
- )
2716
+ check_type(argname="argument dest", value=dest, expected_type=type_hints["dest"])
2717
+ options = AddFileAssetOptions(display_name=display_name)
2644
2718
 
2645
- return typing.cast(_FileDestination_7d285b38, jsii.invoke(self, "addFileAsset", [stack, source_hash, source, dest]))
2719
+ return typing.cast(_FileDestination_7d285b38, jsii.invoke(self, "addFileAsset", [stack, source_hash, source, dest, options]))
2646
2720
 
2647
2721
  @jsii.member(jsii_name="defaultAddDockerImageAsset")
2648
2722
  def default_add_docker_image_asset(
2649
2723
  self,
2650
2724
  stack: "Stack",
2651
2725
  asset: typing.Union["DockerImageAssetSource", typing.Dict[builtins.str, typing.Any]],
2726
+ target: typing.Union["AssetManifestDockerImageDestination", typing.Dict[builtins.str, typing.Any]],
2652
2727
  *,
2653
- repository_name: builtins.str,
2654
- docker_tag_prefix: typing.Optional[builtins.str] = None,
2655
- role: typing.Optional[typing.Union["RoleOptions", typing.Dict[builtins.str, typing.Any]]] = None,
2728
+ display_name: typing.Optional[builtins.str] = None,
2656
2729
  ) -> _DockerImageDestination_132046c7:
2657
2730
  '''Add a docker image asset to the manifest with default settings.
2658
2731
 
@@ -2660,31 +2733,26 @@ class AssetManifestBuilder(
2660
2733
 
2661
2734
  :param stack: -
2662
2735
  :param asset: -
2663
- :param repository_name: Repository name where the docker image asset should be written.
2664
- :param docker_tag_prefix: Prefix to add to the asset hash to make the Docker image tag. Default: ''
2665
- :param role: Role to use to perform the upload. Default: - No role
2736
+ :param target: -
2737
+ :param display_name: A display name to associate with the asset. Default: - No display name
2666
2738
  '''
2667
2739
  if __debug__:
2668
2740
  type_hints = typing.get_type_hints(_typecheckingstub__d8572c82a112aaa61153d2b958b8042f9e061141b483b1b0ce6429f9f7c11296)
2669
2741
  check_type(argname="argument stack", value=stack, expected_type=type_hints["stack"])
2670
2742
  check_type(argname="argument asset", value=asset, expected_type=type_hints["asset"])
2671
- target = AssetManifestDockerImageDestination(
2672
- repository_name=repository_name,
2673
- docker_tag_prefix=docker_tag_prefix,
2674
- role=role,
2675
- )
2743
+ check_type(argname="argument target", value=target, expected_type=type_hints["target"])
2744
+ options = AddDockerImageAssetOptions(display_name=display_name)
2676
2745
 
2677
- return typing.cast(_DockerImageDestination_132046c7, jsii.invoke(self, "defaultAddDockerImageAsset", [stack, asset, target]))
2746
+ return typing.cast(_DockerImageDestination_132046c7, jsii.invoke(self, "defaultAddDockerImageAsset", [stack, asset, target, options]))
2678
2747
 
2679
2748
  @jsii.member(jsii_name="defaultAddFileAsset")
2680
2749
  def default_add_file_asset(
2681
2750
  self,
2682
2751
  stack: "Stack",
2683
2752
  asset: typing.Union["FileAssetSource", typing.Dict[builtins.str, typing.Any]],
2753
+ target: typing.Union["AssetManifestFileDestination", typing.Dict[builtins.str, typing.Any]],
2684
2754
  *,
2685
- bucket_name: builtins.str,
2686
- bucket_prefix: typing.Optional[builtins.str] = None,
2687
- role: typing.Optional[typing.Union["RoleOptions", typing.Dict[builtins.str, typing.Any]]] = None,
2755
+ display_name: typing.Optional[builtins.str] = None,
2688
2756
  ) -> _FileDestination_7d285b38:
2689
2757
  '''Add a file asset to the manifest with default settings.
2690
2758
 
@@ -2693,19 +2761,17 @@ class AssetManifestBuilder(
2693
2761
 
2694
2762
  :param stack: -
2695
2763
  :param asset: -
2696
- :param bucket_name: Bucket name where the file asset should be written.
2697
- :param bucket_prefix: Prefix to prepend to the asset hash. Default: ''
2698
- :param role: Role to use for uploading. Default: - current role
2764
+ :param target: -
2765
+ :param display_name: A display name to associate with the asset. Default: - No display name
2699
2766
  '''
2700
2767
  if __debug__:
2701
2768
  type_hints = typing.get_type_hints(_typecheckingstub__085bf08106379af70653604775528303d429c31168f56c2439ed96f6b61197be)
2702
2769
  check_type(argname="argument stack", value=stack, expected_type=type_hints["stack"])
2703
2770
  check_type(argname="argument asset", value=asset, expected_type=type_hints["asset"])
2704
- target = AssetManifestFileDestination(
2705
- bucket_name=bucket_name, bucket_prefix=bucket_prefix, role=role
2706
- )
2771
+ check_type(argname="argument target", value=target, expected_type=type_hints["target"])
2772
+ options = AddFileAssetOptions(display_name=display_name)
2707
2773
 
2708
- return typing.cast(_FileDestination_7d285b38, jsii.invoke(self, "defaultAddFileAsset", [stack, asset, target]))
2774
+ return typing.cast(_FileDestination_7d285b38, jsii.invoke(self, "defaultAddFileAsset", [stack, asset, target, options]))
2709
2775
 
2710
2776
  @jsii.member(jsii_name="emitManifest")
2711
2777
  def emit_manifest(
@@ -12375,6 +12441,7 @@ class DockerImageAssetLocation:
12375
12441
  "source_hash": "sourceHash",
12376
12442
  "asset_name": "assetName",
12377
12443
  "directory_name": "directoryName",
12444
+ "display_name": "displayName",
12378
12445
  "docker_build_args": "dockerBuildArgs",
12379
12446
  "docker_build_secrets": "dockerBuildSecrets",
12380
12447
  "docker_build_ssh": "dockerBuildSsh",
@@ -12396,6 +12463,7 @@ class DockerImageAssetSource:
12396
12463
  source_hash: builtins.str,
12397
12464
  asset_name: typing.Optional[builtins.str] = None,
12398
12465
  directory_name: typing.Optional[builtins.str] = None,
12466
+ display_name: typing.Optional[builtins.str] = None,
12399
12467
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12400
12468
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
12401
12469
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -12413,6 +12481,7 @@ class DockerImageAssetSource:
12413
12481
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
12414
12482
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
12415
12483
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
12484
+ :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. Default: - The asset hash is used to display the asset
12416
12485
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
12417
12486
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
12418
12487
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -12440,6 +12509,7 @@ class DockerImageAssetSource:
12440
12509
  # the properties below are optional
12441
12510
  asset_name="assetName",
12442
12511
  directory_name="directoryName",
12512
+ display_name="displayName",
12443
12513
  docker_build_args={
12444
12514
  "docker_build_args_key": "dockerBuildArgs"
12445
12515
  },
@@ -12479,6 +12549,7 @@ class DockerImageAssetSource:
12479
12549
  check_type(argname="argument source_hash", value=source_hash, expected_type=type_hints["source_hash"])
12480
12550
  check_type(argname="argument asset_name", value=asset_name, expected_type=type_hints["asset_name"])
12481
12551
  check_type(argname="argument directory_name", value=directory_name, expected_type=type_hints["directory_name"])
12552
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
12482
12553
  check_type(argname="argument docker_build_args", value=docker_build_args, expected_type=type_hints["docker_build_args"])
12483
12554
  check_type(argname="argument docker_build_secrets", value=docker_build_secrets, expected_type=type_hints["docker_build_secrets"])
12484
12555
  check_type(argname="argument docker_build_ssh", value=docker_build_ssh, expected_type=type_hints["docker_build_ssh"])
@@ -12498,6 +12569,8 @@ class DockerImageAssetSource:
12498
12569
  self._values["asset_name"] = asset_name
12499
12570
  if directory_name is not None:
12500
12571
  self._values["directory_name"] = directory_name
12572
+ if display_name is not None:
12573
+ self._values["display_name"] = display_name
12501
12574
  if docker_build_args is not None:
12502
12575
  self._values["docker_build_args"] = docker_build_args
12503
12576
  if docker_build_secrets is not None:
@@ -12558,6 +12631,18 @@ class DockerImageAssetSource:
12558
12631
  result = self._values.get("directory_name")
12559
12632
  return typing.cast(typing.Optional[builtins.str], result)
12560
12633
 
12634
+ @builtins.property
12635
+ def display_name(self) -> typing.Optional[builtins.str]:
12636
+ '''A display name for this asset.
12637
+
12638
+ If supplied, the display name will be used in locations where the asset
12639
+ identifier is printed, like in the CLI progress information.
12640
+
12641
+ :default: - The asset hash is used to display the asset
12642
+ '''
12643
+ result = self._values.get("display_name")
12644
+ return typing.cast(typing.Optional[builtins.str], result)
12645
+
12561
12646
  @builtins.property
12562
12647
  def docker_build_args(
12563
12648
  self,
@@ -13894,6 +13979,7 @@ class FileAssetPackaging(enum.Enum):
13894
13979
  name_mapping={
13895
13980
  "source_hash": "sourceHash",
13896
13981
  "deploy_time": "deployTime",
13982
+ "display_name": "displayName",
13897
13983
  "executable": "executable",
13898
13984
  "file_name": "fileName",
13899
13985
  "packaging": "packaging",
@@ -13905,6 +13991,7 @@ class FileAssetSource:
13905
13991
  *,
13906
13992
  source_hash: builtins.str,
13907
13993
  deploy_time: typing.Optional[builtins.bool] = None,
13994
+ display_name: typing.Optional[builtins.str] = None,
13908
13995
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
13909
13996
  file_name: typing.Optional[builtins.str] = None,
13910
13997
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -13913,6 +14000,7 @@ class FileAssetSource:
13913
14000
 
13914
14001
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
13915
14002
  :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
14003
+ :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. Default: - The asset hash is used to display the asset
13916
14004
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
13917
14005
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
13918
14006
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -13930,6 +14018,7 @@ class FileAssetSource:
13930
14018
 
13931
14019
  # the properties below are optional
13932
14020
  deploy_time=False,
14021
+ display_name="displayName",
13933
14022
  executable=["executable"],
13934
14023
  file_name="fileName",
13935
14024
  packaging=cdk.FileAssetPackaging.ZIP_DIRECTORY
@@ -13939,6 +14028,7 @@ class FileAssetSource:
13939
14028
  type_hints = typing.get_type_hints(_typecheckingstub__6a2ffcc71f7081ed98f77dcff398894a56d300191a4893d6469a2218ffed2957)
13940
14029
  check_type(argname="argument source_hash", value=source_hash, expected_type=type_hints["source_hash"])
13941
14030
  check_type(argname="argument deploy_time", value=deploy_time, expected_type=type_hints["deploy_time"])
14031
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
13942
14032
  check_type(argname="argument executable", value=executable, expected_type=type_hints["executable"])
13943
14033
  check_type(argname="argument file_name", value=file_name, expected_type=type_hints["file_name"])
13944
14034
  check_type(argname="argument packaging", value=packaging, expected_type=type_hints["packaging"])
@@ -13947,6 +14037,8 @@ class FileAssetSource:
13947
14037
  }
13948
14038
  if deploy_time is not None:
13949
14039
  self._values["deploy_time"] = deploy_time
14040
+ if display_name is not None:
14041
+ self._values["display_name"] = display_name
13950
14042
  if executable is not None:
13951
14043
  self._values["executable"] = executable
13952
14044
  if file_name is not None:
@@ -13985,6 +14077,18 @@ class FileAssetSource:
13985
14077
  result = self._values.get("deploy_time")
13986
14078
  return typing.cast(typing.Optional[builtins.bool], result)
13987
14079
 
14080
+ @builtins.property
14081
+ def display_name(self) -> typing.Optional[builtins.str]:
14082
+ '''A display name for this asset.
14083
+
14084
+ If supplied, the display name will be used in locations where the asset
14085
+ identifier is printed, like in the CLI progress information.
14086
+
14087
+ :default: - The asset hash is used to display the asset
14088
+ '''
14089
+ result = self._values.get("display_name")
14090
+ return typing.cast(typing.Optional[builtins.str], result)
14091
+
13988
14092
  @builtins.property
13989
14093
  def executable(self) -> typing.Optional[typing.List[builtins.str]]:
13990
14094
  '''An external command that will produce the packaged asset.
@@ -16699,6 +16803,7 @@ class IStackSynthesizer(typing_extensions.Protocol):
16699
16803
  source_hash: builtins.str,
16700
16804
  asset_name: typing.Optional[builtins.str] = None,
16701
16805
  directory_name: typing.Optional[builtins.str] = None,
16806
+ display_name: typing.Optional[builtins.str] = None,
16702
16807
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
16703
16808
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
16704
16809
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -16719,6 +16824,7 @@ class IStackSynthesizer(typing_extensions.Protocol):
16719
16824
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
16720
16825
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
16721
16826
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
16827
+ :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. Default: - The asset hash is used to display the asset
16722
16828
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
16723
16829
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
16724
16830
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -16740,6 +16846,7 @@ class IStackSynthesizer(typing_extensions.Protocol):
16740
16846
  *,
16741
16847
  source_hash: builtins.str,
16742
16848
  deploy_time: typing.Optional[builtins.bool] = None,
16849
+ display_name: typing.Optional[builtins.str] = None,
16743
16850
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
16744
16851
  file_name: typing.Optional[builtins.str] = None,
16745
16852
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -16750,6 +16857,7 @@ class IStackSynthesizer(typing_extensions.Protocol):
16750
16857
 
16751
16858
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
16752
16859
  :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
16860
+ :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. Default: - The asset hash is used to display the asset
16753
16861
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
16754
16862
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
16755
16863
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -16805,6 +16913,7 @@ class _IStackSynthesizerProxy:
16805
16913
  source_hash: builtins.str,
16806
16914
  asset_name: typing.Optional[builtins.str] = None,
16807
16915
  directory_name: typing.Optional[builtins.str] = None,
16916
+ display_name: typing.Optional[builtins.str] = None,
16808
16917
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
16809
16918
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
16810
16919
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -16825,6 +16934,7 @@ class _IStackSynthesizerProxy:
16825
16934
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
16826
16935
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
16827
16936
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
16937
+ :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. Default: - The asset hash is used to display the asset
16828
16938
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
16829
16939
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
16830
16940
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -16842,6 +16952,7 @@ class _IStackSynthesizerProxy:
16842
16952
  source_hash=source_hash,
16843
16953
  asset_name=asset_name,
16844
16954
  directory_name=directory_name,
16955
+ display_name=display_name,
16845
16956
  docker_build_args=docker_build_args,
16846
16957
  docker_build_secrets=docker_build_secrets,
16847
16958
  docker_build_ssh=docker_build_ssh,
@@ -16864,6 +16975,7 @@ class _IStackSynthesizerProxy:
16864
16975
  *,
16865
16976
  source_hash: builtins.str,
16866
16977
  deploy_time: typing.Optional[builtins.bool] = None,
16978
+ display_name: typing.Optional[builtins.str] = None,
16867
16979
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
16868
16980
  file_name: typing.Optional[builtins.str] = None,
16869
16981
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -16874,6 +16986,7 @@ class _IStackSynthesizerProxy:
16874
16986
 
16875
16987
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
16876
16988
  :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
16989
+ :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. Default: - The asset hash is used to display the asset
16877
16990
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
16878
16991
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
16879
16992
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -16881,6 +16994,7 @@ class _IStackSynthesizerProxy:
16881
16994
  asset = FileAssetSource(
16882
16995
  source_hash=source_hash,
16883
16996
  deploy_time=deploy_time,
16997
+ display_name=display_name,
16884
16998
  executable=executable,
16885
16999
  file_name=file_name,
16886
17000
  packaging=packaging,
@@ -18405,6 +18519,24 @@ class Names(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.Names"):
18405
18519
  check_type(argname="argument node", value=node, expected_type=type_hints["node"])
18406
18520
  return typing.cast(builtins.str, jsii.sinvoke(cls, "nodeUniqueId", [node]))
18407
18521
 
18522
+ @jsii.member(jsii_name="stackRelativeConstructPath")
18523
+ @builtins.classmethod
18524
+ def stack_relative_construct_path(
18525
+ cls,
18526
+ construct: _constructs_77d1e7e8.IConstruct,
18527
+ ) -> builtins.str:
18528
+ '''Return the construct path of the given construct, starting at the nearest enclosing Stack.
18529
+
18530
+ Skips over Nested Stacks, in other words Nested Stacks are included in the construct
18531
+ paths.
18532
+
18533
+ :param construct: -
18534
+ '''
18535
+ if __debug__:
18536
+ type_hints = typing.get_type_hints(_typecheckingstub__307d610951ef0b232f9222edc6ac5421fa347060bc21fb75e850a338e9aa77c7)
18537
+ check_type(argname="argument construct", value=construct, expected_type=type_hints["construct"])
18538
+ return typing.cast(builtins.str, jsii.sinvoke(cls, "stackRelativeConstructPath", [construct]))
18539
+
18408
18540
  @jsii.member(jsii_name="uniqueId")
18409
18541
  @builtins.classmethod
18410
18542
  def unique_id(cls, construct: _constructs_77d1e7e8.IConstruct) -> builtins.str:
@@ -19428,41 +19560,20 @@ class RemovalPolicy(enum.Enum):
19428
19560
 
19429
19561
  Example::
19430
19562
 
19431
- import aws_cdk.aws_opensearchservice as opensearch
19432
-
19433
- # api: appsync.GraphqlApi
19434
-
19435
-
19436
- user = iam.User(self, "User")
19437
- domain = opensearch.Domain(self, "Domain",
19438
- version=opensearch.EngineVersion.OPENSEARCH_2_3,
19439
- removal_policy=RemovalPolicy.DESTROY,
19440
- fine_grained_access_control=opensearch.AdvancedSecurityOptions(master_user_arn=user.user_arn),
19441
- encryption_at_rest=opensearch.EncryptionAtRestOptions(enabled=True),
19442
- node_to_node_encryption=True,
19443
- enforce_https=True
19444
- )
19445
- ds = api.add_open_search_data_source("ds", domain)
19563
+ # my_role: iam.Role
19446
19564
 
19447
- ds.create_resolver("QueryGetTestsResolver",
19448
- type_name="Query",
19449
- field_name="getTests",
19450
- request_mapping_template=appsync.MappingTemplate.from_string(JSON.stringify({
19451
- "version": "2017-02-28",
19452
- "operation": "GET",
19453
- "path": "/id/post/_search",
19454
- "params": {
19455
- "headers": {},
19456
- "query_string": {},
19457
- "body": {"from": 0, "size": 50}
19458
- }
19459
- })),
19460
- response_mapping_template=appsync.MappingTemplate.from_string("""[
19461
- #foreach($entry in $context.result.hits.hits)
19462
- #if( $velocityCount > 1 ) , #end
19463
- $utils.toJson($entry.get("_source"))
19464
- #end
19465
- ]""")
19565
+ cr.AwsCustomResource(self, "Customized",
19566
+ role=my_role, # must be assumable by the `lambda.amazonaws.com` service principal
19567
+ timeout=Duration.minutes(10), # defaults to 2 minutes
19568
+ memory_size=1025, # defaults to 512 if installLatestAwsSdk is true
19569
+ log_group=logs.LogGroup(self, "AwsCustomResourceLogs",
19570
+ retention=logs.RetentionDays.ONE_DAY
19571
+ ),
19572
+ function_name="my-custom-name", # defaults to a CloudFormation generated name
19573
+ removal_policy=RemovalPolicy.RETAIN, # defaults to `RemovalPolicy.DESTROY`
19574
+ policy=cr.AwsCustomResourcePolicy.from_sdk_calls(
19575
+ resources=cr.AwsCustomResourcePolicy.ANY_RESOURCE
19576
+ )
19466
19577
  )
19467
19578
  '''
19468
19579
 
@@ -22319,6 +22430,7 @@ class StackSynthesizer(
22319
22430
  source_hash: builtins.str,
22320
22431
  asset_name: typing.Optional[builtins.str] = None,
22321
22432
  directory_name: typing.Optional[builtins.str] = None,
22433
+ display_name: typing.Optional[builtins.str] = None,
22322
22434
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
22323
22435
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
22324
22436
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -22345,6 +22457,7 @@ class StackSynthesizer(
22345
22457
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
22346
22458
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
22347
22459
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
22460
+ :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. Default: - The asset hash is used to display the asset
22348
22461
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
22349
22462
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
22350
22463
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -22367,6 +22480,7 @@ class StackSynthesizer(
22367
22480
  *,
22368
22481
  source_hash: builtins.str,
22369
22482
  deploy_time: typing.Optional[builtins.bool] = None,
22483
+ display_name: typing.Optional[builtins.str] = None,
22370
22484
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
22371
22485
  file_name: typing.Optional[builtins.str] = None,
22372
22486
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -22383,6 +22497,7 @@ class StackSynthesizer(
22383
22497
 
22384
22498
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
22385
22499
  :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
22500
+ :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. Default: - The asset hash is used to display the asset
22386
22501
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
22387
22502
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
22388
22503
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -22675,6 +22790,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22675
22790
  source_hash: builtins.str,
22676
22791
  asset_name: typing.Optional[builtins.str] = None,
22677
22792
  directory_name: typing.Optional[builtins.str] = None,
22793
+ display_name: typing.Optional[builtins.str] = None,
22678
22794
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
22679
22795
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
22680
22796
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -22701,6 +22817,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22701
22817
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
22702
22818
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
22703
22819
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
22820
+ :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. Default: - The asset hash is used to display the asset
22704
22821
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
22705
22822
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
22706
22823
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -22718,6 +22835,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22718
22835
  source_hash=source_hash,
22719
22836
  asset_name=asset_name,
22720
22837
  directory_name=directory_name,
22838
+ display_name=display_name,
22721
22839
  docker_build_args=docker_build_args,
22722
22840
  docker_build_secrets=docker_build_secrets,
22723
22841
  docker_build_ssh=docker_build_ssh,
@@ -22740,6 +22858,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22740
22858
  *,
22741
22859
  source_hash: builtins.str,
22742
22860
  deploy_time: typing.Optional[builtins.bool] = None,
22861
+ display_name: typing.Optional[builtins.str] = None,
22743
22862
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
22744
22863
  file_name: typing.Optional[builtins.str] = None,
22745
22864
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -22756,6 +22875,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22756
22875
 
22757
22876
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
22758
22877
  :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
22878
+ :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. Default: - The asset hash is used to display the asset
22759
22879
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
22760
22880
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
22761
22881
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -22763,6 +22883,7 @@ class _StackSynthesizerProxy(StackSynthesizer):
22763
22883
  asset = FileAssetSource(
22764
22884
  source_hash=source_hash,
22765
22885
  deploy_time=deploy_time,
22886
+ display_name=display_name,
22766
22887
  executable=executable,
22767
22888
  file_name=file_name,
22768
22889
  packaging=packaging,
@@ -35545,6 +35666,7 @@ class LegacyStackSynthesizer(
35545
35666
  source_hash: builtins.str,
35546
35667
  asset_name: typing.Optional[builtins.str] = None,
35547
35668
  directory_name: typing.Optional[builtins.str] = None,
35669
+ display_name: typing.Optional[builtins.str] = None,
35548
35670
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
35549
35671
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
35550
35672
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -35571,6 +35693,7 @@ class LegacyStackSynthesizer(
35571
35693
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
35572
35694
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
35573
35695
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
35696
+ :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. Default: - The asset hash is used to display the asset
35574
35697
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
35575
35698
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
35576
35699
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -35588,6 +35711,7 @@ class LegacyStackSynthesizer(
35588
35711
  source_hash=source_hash,
35589
35712
  asset_name=asset_name,
35590
35713
  directory_name=directory_name,
35714
+ display_name=display_name,
35591
35715
  docker_build_args=docker_build_args,
35592
35716
  docker_build_secrets=docker_build_secrets,
35593
35717
  docker_build_ssh=docker_build_ssh,
@@ -35610,6 +35734,7 @@ class LegacyStackSynthesizer(
35610
35734
  *,
35611
35735
  source_hash: builtins.str,
35612
35736
  deploy_time: typing.Optional[builtins.bool] = None,
35737
+ display_name: typing.Optional[builtins.str] = None,
35613
35738
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
35614
35739
  file_name: typing.Optional[builtins.str] = None,
35615
35740
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -35626,6 +35751,7 @@ class LegacyStackSynthesizer(
35626
35751
 
35627
35752
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
35628
35753
  :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
35754
+ :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. Default: - The asset hash is used to display the asset
35629
35755
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
35630
35756
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
35631
35757
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -35633,6 +35759,7 @@ class LegacyStackSynthesizer(
35633
35759
  asset = FileAssetSource(
35634
35760
  source_hash=source_hash,
35635
35761
  deploy_time=deploy_time,
35762
+ display_name=display_name,
35636
35763
  executable=executable,
35637
35764
  file_name=file_name,
35638
35765
  packaging=packaging,
@@ -35862,6 +35989,7 @@ class NestedStackSynthesizer(
35862
35989
  source_hash: builtins.str,
35863
35990
  asset_name: typing.Optional[builtins.str] = None,
35864
35991
  directory_name: typing.Optional[builtins.str] = None,
35992
+ display_name: typing.Optional[builtins.str] = None,
35865
35993
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
35866
35994
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
35867
35995
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -35888,6 +36016,7 @@ class NestedStackSynthesizer(
35888
36016
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
35889
36017
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
35890
36018
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
36019
+ :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. Default: - The asset hash is used to display the asset
35891
36020
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
35892
36021
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
35893
36022
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -35905,6 +36034,7 @@ class NestedStackSynthesizer(
35905
36034
  source_hash=source_hash,
35906
36035
  asset_name=asset_name,
35907
36036
  directory_name=directory_name,
36037
+ display_name=display_name,
35908
36038
  docker_build_args=docker_build_args,
35909
36039
  docker_build_secrets=docker_build_secrets,
35910
36040
  docker_build_ssh=docker_build_ssh,
@@ -35927,6 +36057,7 @@ class NestedStackSynthesizer(
35927
36057
  *,
35928
36058
  source_hash: builtins.str,
35929
36059
  deploy_time: typing.Optional[builtins.bool] = None,
36060
+ display_name: typing.Optional[builtins.str] = None,
35930
36061
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
35931
36062
  file_name: typing.Optional[builtins.str] = None,
35932
36063
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -35943,6 +36074,7 @@ class NestedStackSynthesizer(
35943
36074
 
35944
36075
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
35945
36076
  :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
36077
+ :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. Default: - The asset hash is used to display the asset
35946
36078
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
35947
36079
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
35948
36080
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -35950,6 +36082,7 @@ class NestedStackSynthesizer(
35950
36082
  asset = FileAssetSource(
35951
36083
  source_hash=source_hash,
35952
36084
  deploy_time=deploy_time,
36085
+ display_name=display_name,
35953
36086
  executable=executable,
35954
36087
  file_name=file_name,
35955
36088
  packaging=packaging,
@@ -36128,6 +36261,7 @@ class CliCredentialsStackSynthesizer(
36128
36261
  source_hash: builtins.str,
36129
36262
  asset_name: typing.Optional[builtins.str] = None,
36130
36263
  directory_name: typing.Optional[builtins.str] = None,
36264
+ display_name: typing.Optional[builtins.str] = None,
36131
36265
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36132
36266
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36133
36267
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -36154,6 +36288,7 @@ class CliCredentialsStackSynthesizer(
36154
36288
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
36155
36289
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
36156
36290
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
36291
+ :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. Default: - The asset hash is used to display the asset
36157
36292
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
36158
36293
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
36159
36294
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -36171,6 +36306,7 @@ class CliCredentialsStackSynthesizer(
36171
36306
  source_hash=source_hash,
36172
36307
  asset_name=asset_name,
36173
36308
  directory_name=directory_name,
36309
+ display_name=display_name,
36174
36310
  docker_build_args=docker_build_args,
36175
36311
  docker_build_secrets=docker_build_secrets,
36176
36312
  docker_build_ssh=docker_build_ssh,
@@ -36193,6 +36329,7 @@ class CliCredentialsStackSynthesizer(
36193
36329
  *,
36194
36330
  source_hash: builtins.str,
36195
36331
  deploy_time: typing.Optional[builtins.bool] = None,
36332
+ display_name: typing.Optional[builtins.str] = None,
36196
36333
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
36197
36334
  file_name: typing.Optional[builtins.str] = None,
36198
36335
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -36209,6 +36346,7 @@ class CliCredentialsStackSynthesizer(
36209
36346
 
36210
36347
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
36211
36348
  :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
36349
+ :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. Default: - The asset hash is used to display the asset
36212
36350
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
36213
36351
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
36214
36352
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -36216,6 +36354,7 @@ class CliCredentialsStackSynthesizer(
36216
36354
  asset = FileAssetSource(
36217
36355
  source_hash=source_hash,
36218
36356
  deploy_time=deploy_time,
36357
+ display_name=display_name,
36219
36358
  executable=executable,
36220
36359
  file_name=file_name,
36221
36360
  packaging=packaging,
@@ -36386,6 +36525,7 @@ class DefaultStackSynthesizer(
36386
36525
  source_hash: builtins.str,
36387
36526
  asset_name: typing.Optional[builtins.str] = None,
36388
36527
  directory_name: typing.Optional[builtins.str] = None,
36528
+ display_name: typing.Optional[builtins.str] = None,
36389
36529
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36390
36530
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36391
36531
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -36412,6 +36552,7 @@ class DefaultStackSynthesizer(
36412
36552
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
36413
36553
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
36414
36554
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
36555
+ :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. Default: - The asset hash is used to display the asset
36415
36556
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
36416
36557
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
36417
36558
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -36429,6 +36570,7 @@ class DefaultStackSynthesizer(
36429
36570
  source_hash=source_hash,
36430
36571
  asset_name=asset_name,
36431
36572
  directory_name=directory_name,
36573
+ display_name=display_name,
36432
36574
  docker_build_args=docker_build_args,
36433
36575
  docker_build_secrets=docker_build_secrets,
36434
36576
  docker_build_ssh=docker_build_ssh,
@@ -36451,6 +36593,7 @@ class DefaultStackSynthesizer(
36451
36593
  *,
36452
36594
  source_hash: builtins.str,
36453
36595
  deploy_time: typing.Optional[builtins.bool] = None,
36596
+ display_name: typing.Optional[builtins.str] = None,
36454
36597
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
36455
36598
  file_name: typing.Optional[builtins.str] = None,
36456
36599
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -36467,6 +36610,7 @@ class DefaultStackSynthesizer(
36467
36610
 
36468
36611
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
36469
36612
  :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
36613
+ :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. Default: - The asset hash is used to display the asset
36470
36614
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
36471
36615
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
36472
36616
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -36474,6 +36618,7 @@ class DefaultStackSynthesizer(
36474
36618
  asset = FileAssetSource(
36475
36619
  source_hash=source_hash,
36476
36620
  deploy_time=deploy_time,
36621
+ display_name=display_name,
36477
36622
  executable=executable,
36478
36623
  file_name=file_name,
36479
36624
  packaging=packaging,
@@ -36703,6 +36848,7 @@ class BootstraplessSynthesizer(
36703
36848
  source_hash: builtins.str,
36704
36849
  asset_name: typing.Optional[builtins.str] = None,
36705
36850
  directory_name: typing.Optional[builtins.str] = None,
36851
+ display_name: typing.Optional[builtins.str] = None,
36706
36852
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36707
36853
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
36708
36854
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -36729,6 +36875,7 @@ class BootstraplessSynthesizer(
36729
36875
  :param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
36730
36876
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
36731
36877
  :param directory_name: The directory where the Dockerfile is stored, must be relative to the cloud assembly root. Default: - Exactly one of ``directoryName`` and ``executable`` is required
36878
+ :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. Default: - The asset hash is used to display the asset
36732
36879
  :param docker_build_args: Build args to pass to the ``docker build`` command. Since Docker build arguments are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build args are passed
36733
36880
  :param docker_build_secrets: Build secrets to pass to the ``docker build`` command. Since Docker build secrets are resolved before deployment, keys and values cannot refer to unresolved tokens (such as ``lambda.functionArn`` or ``queue.queueUrl``). Only allowed when ``directoryName`` is specified. Default: - no build secrets are passed
36734
36881
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -36746,6 +36893,7 @@ class BootstraplessSynthesizer(
36746
36893
  source_hash=source_hash,
36747
36894
  asset_name=asset_name,
36748
36895
  directory_name=directory_name,
36896
+ display_name=display_name,
36749
36897
  docker_build_args=docker_build_args,
36750
36898
  docker_build_secrets=docker_build_secrets,
36751
36899
  docker_build_ssh=docker_build_ssh,
@@ -36768,6 +36916,7 @@ class BootstraplessSynthesizer(
36768
36916
  *,
36769
36917
  source_hash: builtins.str,
36770
36918
  deploy_time: typing.Optional[builtins.bool] = None,
36919
+ display_name: typing.Optional[builtins.str] = None,
36771
36920
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
36772
36921
  file_name: typing.Optional[builtins.str] = None,
36773
36922
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -36784,6 +36933,7 @@ class BootstraplessSynthesizer(
36784
36933
 
36785
36934
  :param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
36786
36935
  :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
36936
+ :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. Default: - The asset hash is used to display the asset
36787
36937
  :param executable: An external command that will produce the packaged asset. The command should produce the location of a ZIP file on ``stdout``. Default: - Exactly one of ``fileName`` and ``executable`` is required
36788
36938
  :param file_name: The path, relative to the root of the cloud assembly, in which this asset source resides. This can be a path to a file or a directory, depending on the packaging type. Default: - Exactly one of ``fileName`` and ``executable`` is required
36789
36939
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -36791,6 +36941,7 @@ class BootstraplessSynthesizer(
36791
36941
  _asset = FileAssetSource(
36792
36942
  source_hash=source_hash,
36793
36943
  deploy_time=deploy_time,
36944
+ display_name=display_name,
36794
36945
  executable=executable,
36795
36946
  file_name=file_name,
36796
36947
  packaging=packaging,
@@ -36811,6 +36962,8 @@ class BootstraplessSynthesizer(
36811
36962
 
36812
36963
 
36813
36964
  __all__ = [
36965
+ "AddDockerImageAssetOptions",
36966
+ "AddFileAssetOptions",
36814
36967
  "Annotations",
36815
36968
  "App",
36816
36969
  "AppProps",
@@ -37648,6 +37801,20 @@ from . import pipelines
37648
37801
  from . import region_info
37649
37802
  from . import triggers
37650
37803
 
37804
+ def _typecheckingstub__5a1ac212aad6af3e005718717aa2d00b8a797e24b74644f38d11d9f5ced18b43(
37805
+ *,
37806
+ display_name: typing.Optional[builtins.str] = None,
37807
+ ) -> None:
37808
+ """Type checking stubs"""
37809
+ pass
37810
+
37811
+ def _typecheckingstub__3b7bb14c4d35bab2918fcff6fafc6bf8560391fa80cf7e743756928a3ff744a2(
37812
+ *,
37813
+ display_name: typing.Optional[builtins.str] = None,
37814
+ ) -> None:
37815
+ """Type checking stubs"""
37816
+ pass
37817
+
37651
37818
  def _typecheckingstub__cfddeb4c359528028785fb7ca8a01e86bcda81d53c82cdaef6ad18dd0520ab91(
37652
37819
  scope: _constructs_77d1e7e8.IConstruct,
37653
37820
  ) -> None:
@@ -37781,13 +37948,9 @@ def _typecheckingstub__e4e4609083793a8b31752be2f457b6b1f1220145a70469bafc48a1428
37781
37948
  stack: Stack,
37782
37949
  source_hash: builtins.str,
37783
37950
  source: typing.Union[_DockerImageSource_5db2cfa3, typing.Dict[builtins.str, typing.Any]],
37951
+ dest: typing.Union[_DockerImageDestination_132046c7, typing.Dict[builtins.str, typing.Any]],
37784
37952
  *,
37785
- image_tag: builtins.str,
37786
- repository_name: builtins.str,
37787
- assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
37788
- assume_role_arn: typing.Optional[builtins.str] = None,
37789
- assume_role_external_id: typing.Optional[builtins.str] = None,
37790
- region: typing.Optional[builtins.str] = None,
37953
+ display_name: typing.Optional[builtins.str] = None,
37791
37954
  ) -> None:
37792
37955
  """Type checking stubs"""
37793
37956
  pass
@@ -37796,13 +37959,9 @@ def _typecheckingstub__f12f649e9db582bca540895dead136ba4f8ce5c52abc11eb50e5224da
37796
37959
  stack: Stack,
37797
37960
  source_hash: builtins.str,
37798
37961
  source: typing.Union[_FileSource_66254048, typing.Dict[builtins.str, typing.Any]],
37962
+ dest: typing.Union[_FileDestination_7d285b38, typing.Dict[builtins.str, typing.Any]],
37799
37963
  *,
37800
- bucket_name: builtins.str,
37801
- object_key: builtins.str,
37802
- assume_role_additional_options: typing.Optional[typing.Mapping[builtins.str, typing.Any]] = None,
37803
- assume_role_arn: typing.Optional[builtins.str] = None,
37804
- assume_role_external_id: typing.Optional[builtins.str] = None,
37805
- region: typing.Optional[builtins.str] = None,
37964
+ display_name: typing.Optional[builtins.str] = None,
37806
37965
  ) -> None:
37807
37966
  """Type checking stubs"""
37808
37967
  pass
@@ -37810,10 +37969,9 @@ def _typecheckingstub__f12f649e9db582bca540895dead136ba4f8ce5c52abc11eb50e5224da
37810
37969
  def _typecheckingstub__d8572c82a112aaa61153d2b958b8042f9e061141b483b1b0ce6429f9f7c11296(
37811
37970
  stack: Stack,
37812
37971
  asset: typing.Union[DockerImageAssetSource, typing.Dict[builtins.str, typing.Any]],
37972
+ target: typing.Union[AssetManifestDockerImageDestination, typing.Dict[builtins.str, typing.Any]],
37813
37973
  *,
37814
- repository_name: builtins.str,
37815
- docker_tag_prefix: typing.Optional[builtins.str] = None,
37816
- role: typing.Optional[typing.Union[RoleOptions, typing.Dict[builtins.str, typing.Any]]] = None,
37974
+ display_name: typing.Optional[builtins.str] = None,
37817
37975
  ) -> None:
37818
37976
  """Type checking stubs"""
37819
37977
  pass
@@ -37821,10 +37979,9 @@ def _typecheckingstub__d8572c82a112aaa61153d2b958b8042f9e061141b483b1b0ce6429f9f
37821
37979
  def _typecheckingstub__085bf08106379af70653604775528303d429c31168f56c2439ed96f6b61197be(
37822
37980
  stack: Stack,
37823
37981
  asset: typing.Union[FileAssetSource, typing.Dict[builtins.str, typing.Any]],
37982
+ target: typing.Union[AssetManifestFileDestination, typing.Dict[builtins.str, typing.Any]],
37824
37983
  *,
37825
- bucket_name: builtins.str,
37826
- bucket_prefix: typing.Optional[builtins.str] = None,
37827
- role: typing.Optional[typing.Union[RoleOptions, typing.Dict[builtins.str, typing.Any]]] = None,
37984
+ display_name: typing.Optional[builtins.str] = None,
37828
37985
  ) -> None:
37829
37986
  """Type checking stubs"""
37830
37987
  pass
@@ -38871,6 +39028,7 @@ def _typecheckingstub__9dc551978a96bea78751c4b4d32e87775d67d2a68f351884cf05c35d5
38871
39028
  source_hash: builtins.str,
38872
39029
  asset_name: typing.Optional[builtins.str] = None,
38873
39030
  directory_name: typing.Optional[builtins.str] = None,
39031
+ display_name: typing.Optional[builtins.str] = None,
38874
39032
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
38875
39033
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
38876
39034
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -39071,6 +39229,7 @@ def _typecheckingstub__6a2ffcc71f7081ed98f77dcff398894a56d300191a4893d6469a2218f
39071
39229
  *,
39072
39230
  source_hash: builtins.str,
39073
39231
  deploy_time: typing.Optional[builtins.bool] = None,
39232
+ display_name: typing.Optional[builtins.str] = None,
39074
39233
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
39075
39234
  file_name: typing.Optional[builtins.str] = None,
39076
39235
  packaging: typing.Optional[FileAssetPackaging] = None,
@@ -39777,6 +39936,12 @@ def _typecheckingstub__569ac5c6adbac9575b4137a0343aea0625df007d849957bfacf2e65a0
39777
39936
  """Type checking stubs"""
39778
39937
  pass
39779
39938
 
39939
+ def _typecheckingstub__307d610951ef0b232f9222edc6ac5421fa347060bc21fb75e850a338e9aa77c7(
39940
+ construct: _constructs_77d1e7e8.IConstruct,
39941
+ ) -> None:
39942
+ """Type checking stubs"""
39943
+ pass
39944
+
39780
39945
  def _typecheckingstub__8c1ba4bae2d17f227472b42e48bc60d8c4a5dd7a3c60793d3b332fc432589917(
39781
39946
  construct: _constructs_77d1e7e8.IConstruct,
39782
39947
  ) -> None: