aws-cdk.app-staging-synthesizer-alpha 2.186.0a0__tar.gz → 2.187.0a0__tar.gz

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.app-staging-synthesizer-alpha might be problematic. Click here for more details.

Files changed (18) hide show
  1. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0/src/aws_cdk.app_staging_synthesizer_alpha.egg-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/PKG-INFO +5 -5
  2. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/README.md +2 -2
  3. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/pyproject.toml +1 -1
  4. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/setup.py +4 -4
  5. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/__init__.py +24 -2
  6. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py +2 -2
  7. aws_cdk_app_staging_synthesizer_alpha-2.187.0a0/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz +0 -0
  8. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0/src/aws_cdk.app_staging_synthesizer_alpha.egg-info}/PKG-INFO +5 -5
  9. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/SOURCES.txt +1 -1
  10. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/requires.txt +2 -2
  11. aws_cdk_app_staging_synthesizer_alpha-2.186.0a0/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.186.0-alpha.0.jsii.tgz +0 -0
  12. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/LICENSE +0 -0
  13. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/MANIFEST.in +0 -0
  14. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/NOTICE +0 -0
  15. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/setup.cfg +0 -0
  16. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/py.typed +0 -0
  17. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/dependency_links.txt +0 -0
  18. {aws_cdk_app_staging_synthesizer_alpha-2.186.0a0 → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.app-staging-synthesizer-alpha
3
- Version: 2.186.0a0
3
+ Version: 2.187.0a0
4
4
  Summary: Cdk synthesizer for with app-scoped staging stack
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.187.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.109.0
27
+ Requires-Dist: jsii<2.0.0,>=1.110.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30
 
@@ -370,14 +370,14 @@ class CustomStagingStack(Stack):
370
370
  def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
371
371
  super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
372
372
 
373
- def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None):
373
+ def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
374
374
  return FileStagingLocation(
375
375
  bucket_name="amzn-s3-demo-bucket",
376
376
  assume_role_arn="myArn",
377
377
  dependency_stack=self
378
378
  )
379
379
 
380
- def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None):
380
+ def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None, displayName=None):
381
381
  return ImageStagingLocation(
382
382
  repo_name="myRepo",
383
383
  assume_role_arn="myArn",
@@ -340,14 +340,14 @@ class CustomStagingStack(Stack):
340
340
  def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
341
341
  super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
342
342
 
343
- def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None):
343
+ def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
344
344
  return FileStagingLocation(
345
345
  bucket_name="amzn-s3-demo-bucket",
346
346
  assume_role_arn="myArn",
347
347
  dependency_stack=self
348
348
  )
349
349
 
350
- def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None):
350
+ def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None, displayName=None):
351
351
  return ImageStagingLocation(
352
352
  repo_name="myRepo",
353
353
  assume_role_arn="myArn",
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools~=70.0.0", "wheel~=0.42"]
2
+ requires = ["setuptools~=75.3.2", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.app-staging-synthesizer-alpha",
8
- "version": "2.186.0.a0",
8
+ "version": "2.187.0.a0",
9
9
  "description": "Cdk synthesizer for with app-scoped staging stack",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/aws/aws-cdk",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.app_staging_synthesizer_alpha._jsii": [
29
- "app-staging-synthesizer-alpha@2.186.0-alpha.0.jsii.tgz"
29
+ "app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.app_staging_synthesizer_alpha": [
32
32
  "py.typed"
@@ -34,9 +34,9 @@ kwargs = json.loads(
34
34
  },
35
35
  "python_requires": "~=3.9",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.186.0, <3.0.0",
37
+ "aws-cdk-lib>=2.187.0, <3.0.0",
38
38
  "constructs>=10.0.0, <11.0.0",
39
- "jsii>=1.109.0, <2.0.0",
39
+ "jsii>=1.110.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
41
  "typeguard>=2.13.3,<4.3.0"
42
42
  ],
@@ -341,14 +341,14 @@ class CustomStagingStack(Stack):
341
341
  def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
342
342
  super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
343
343
 
344
- def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None):
344
+ def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
345
345
  return FileStagingLocation(
346
346
  bucket_name="amzn-s3-demo-bucket",
347
347
  assume_role_arn="myArn",
348
348
  dependency_stack=self
349
349
  )
350
350
 
351
- def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None):
351
+ def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None, displayName=None):
352
352
  return ImageStagingLocation(
353
353
  repo_name="myRepo",
354
354
  assume_role_arn="myArn",
@@ -587,6 +587,7 @@ class AppStagingSynthesizer(
587
587
  source_hash: builtins.str,
588
588
  asset_name: typing.Optional[builtins.str] = None,
589
589
  directory_name: typing.Optional[builtins.str] = None,
590
+ display_name: typing.Optional[builtins.str] = None,
590
591
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
591
592
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
592
593
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -607,6 +608,7 @@ class AppStagingSynthesizer(
607
608
  :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).
608
609
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
609
610
  :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
611
+ :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
610
612
  :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
611
613
  :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
612
614
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -626,6 +628,7 @@ class AppStagingSynthesizer(
626
628
  source_hash=source_hash,
627
629
  asset_name=asset_name,
628
630
  directory_name=directory_name,
631
+ display_name=display_name,
629
632
  docker_build_args=docker_build_args,
630
633
  docker_build_secrets=docker_build_secrets,
631
634
  docker_build_ssh=docker_build_ssh,
@@ -648,6 +651,7 @@ class AppStagingSynthesizer(
648
651
  *,
649
652
  source_hash: builtins.str,
650
653
  deploy_time: typing.Optional[builtins.bool] = None,
654
+ display_name: typing.Optional[builtins.str] = None,
651
655
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
652
656
  file_name: typing.Optional[builtins.str] = None,
653
657
  packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
@@ -658,6 +662,7 @@ class AppStagingSynthesizer(
658
662
 
659
663
  :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.
660
664
  :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
665
+ :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
661
666
  :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
662
667
  :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
663
668
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -667,6 +672,7 @@ class AppStagingSynthesizer(
667
672
  _asset = _aws_cdk_ceddda9d.FileAssetSource(
668
673
  source_hash=source_hash,
669
674
  deploy_time=deploy_time,
675
+ display_name=display_name,
670
676
  executable=executable,
671
677
  file_name=file_name,
672
678
  packaging=packaging,
@@ -2328,6 +2334,7 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
2328
2334
  source_hash: builtins.str,
2329
2335
  asset_name: typing.Optional[builtins.str] = None,
2330
2336
  directory_name: typing.Optional[builtins.str] = None,
2337
+ display_name: typing.Optional[builtins.str] = None,
2331
2338
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2332
2339
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2333
2340
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -2346,6 +2353,7 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
2346
2353
  :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).
2347
2354
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
2348
2355
  :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
2356
+ :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
2349
2357
  :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
2350
2358
  :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
2351
2359
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -2369,6 +2377,7 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
2369
2377
  *,
2370
2378
  source_hash: builtins.str,
2371
2379
  deploy_time: typing.Optional[builtins.bool] = None,
2380
+ display_name: typing.Optional[builtins.str] = None,
2372
2381
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
2373
2382
  file_name: typing.Optional[builtins.str] = None,
2374
2383
  packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
@@ -2377,6 +2386,7 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
2377
2386
 
2378
2387
  :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.
2379
2388
  :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
2389
+ :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
2380
2390
  :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
2381
2391
  :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
2382
2392
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -2403,6 +2413,7 @@ class _IStagingResourcesProxy(
2403
2413
  source_hash: builtins.str,
2404
2414
  asset_name: typing.Optional[builtins.str] = None,
2405
2415
  directory_name: typing.Optional[builtins.str] = None,
2416
+ display_name: typing.Optional[builtins.str] = None,
2406
2417
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2407
2418
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
2408
2419
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -2421,6 +2432,7 @@ class _IStagingResourcesProxy(
2421
2432
  :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).
2422
2433
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
2423
2434
  :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
2435
+ :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
2424
2436
  :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
2425
2437
  :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
2426
2438
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -2440,6 +2452,7 @@ class _IStagingResourcesProxy(
2440
2452
  source_hash=source_hash,
2441
2453
  asset_name=asset_name,
2442
2454
  directory_name=directory_name,
2455
+ display_name=display_name,
2443
2456
  docker_build_args=docker_build_args,
2444
2457
  docker_build_secrets=docker_build_secrets,
2445
2458
  docker_build_ssh=docker_build_ssh,
@@ -2462,6 +2475,7 @@ class _IStagingResourcesProxy(
2462
2475
  *,
2463
2476
  source_hash: builtins.str,
2464
2477
  deploy_time: typing.Optional[builtins.bool] = None,
2478
+ display_name: typing.Optional[builtins.str] = None,
2465
2479
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
2466
2480
  file_name: typing.Optional[builtins.str] = None,
2467
2481
  packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
@@ -2470,6 +2484,7 @@ class _IStagingResourcesProxy(
2470
2484
 
2471
2485
  :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.
2472
2486
  :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
2487
+ :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
2473
2488
  :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
2474
2489
  :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
2475
2490
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -2479,6 +2494,7 @@ class _IStagingResourcesProxy(
2479
2494
  asset = _aws_cdk_ceddda9d.FileAssetSource(
2480
2495
  source_hash=source_hash,
2481
2496
  deploy_time=deploy_time,
2497
+ display_name=display_name,
2482
2498
  executable=executable,
2483
2499
  file_name=file_name,
2484
2500
  packaging=packaging,
@@ -3331,6 +3347,7 @@ class DefaultStagingStack(
3331
3347
  source_hash: builtins.str,
3332
3348
  asset_name: typing.Optional[builtins.str] = None,
3333
3349
  directory_name: typing.Optional[builtins.str] = None,
3350
+ display_name: typing.Optional[builtins.str] = None,
3334
3351
  docker_build_args: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3335
3352
  docker_build_secrets: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
3336
3353
  docker_build_ssh: typing.Optional[builtins.str] = None,
@@ -3349,6 +3366,7 @@ class DefaultStagingStack(
3349
3366
  :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).
3350
3367
  :param asset_name: Unique identifier of the docker image asset and its potential revisions. Required if using AppScopedStagingSynthesizer. Default: - no asset name
3351
3368
  :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
3369
+ :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
3352
3370
  :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
3353
3371
  :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
3354
3372
  :param docker_build_ssh: SSH agent socket or keys to pass to the ``docker buildx`` command. Default: - no ssh arg is passed
@@ -3368,6 +3386,7 @@ class DefaultStagingStack(
3368
3386
  source_hash=source_hash,
3369
3387
  asset_name=asset_name,
3370
3388
  directory_name=directory_name,
3389
+ display_name=display_name,
3371
3390
  docker_build_args=docker_build_args,
3372
3391
  docker_build_secrets=docker_build_secrets,
3373
3392
  docker_build_ssh=docker_build_ssh,
@@ -3390,6 +3409,7 @@ class DefaultStagingStack(
3390
3409
  *,
3391
3410
  source_hash: builtins.str,
3392
3411
  deploy_time: typing.Optional[builtins.bool] = None,
3412
+ display_name: typing.Optional[builtins.str] = None,
3393
3413
  executable: typing.Optional[typing.Sequence[builtins.str]] = None,
3394
3414
  file_name: typing.Optional[builtins.str] = None,
3395
3415
  packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
@@ -3398,6 +3418,7 @@ class DefaultStagingStack(
3398
3418
 
3399
3419
  :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.
3400
3420
  :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
3421
+ :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
3401
3422
  :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
3402
3423
  :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
3403
3424
  :param packaging: Which type of packaging to perform. Default: - Required if ``fileName`` is specified.
@@ -3407,6 +3428,7 @@ class DefaultStagingStack(
3407
3428
  asset = _aws_cdk_ceddda9d.FileAssetSource(
3408
3429
  source_hash=source_hash,
3409
3430
  deploy_time=deploy_time,
3431
+ display_name=display_name,
3410
3432
  executable=executable,
3411
3433
  file_name=file_name,
3412
3434
  packaging=packaging,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/app-staging-synthesizer-alpha",
36
- "2.186.0-alpha.0",
36
+ "2.187.0-alpha.0",
37
37
  __name__[0:-6],
38
- "app-staging-synthesizer-alpha@2.186.0-alpha.0.jsii.tgz",
38
+ "app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.app-staging-synthesizer-alpha
3
- Version: 2.186.0a0
3
+ Version: 2.187.0a0
4
4
  Summary: Cdk synthesizer for with app-scoped staging stack
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
22
22
  Description-Content-Type: text/markdown
23
23
  License-File: LICENSE
24
24
  License-File: NOTICE
25
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.186.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.187.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.109.0
27
+ Requires-Dist: jsii<2.0.0,>=1.110.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30
 
@@ -370,14 +370,14 @@ class CustomStagingStack(Stack):
370
370
  def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
371
371
  super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
372
372
 
373
- def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None):
373
+ def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
374
374
  return FileStagingLocation(
375
375
  bucket_name="amzn-s3-demo-bucket",
376
376
  assume_role_arn="myArn",
377
377
  dependency_stack=self
378
378
  )
379
379
 
380
- def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None):
380
+ def add_docker_image(self, *, sourceHash, executable=None, directoryName=None, dockerBuildArgs=None, dockerBuildSecrets=None, dockerBuildSsh=None, dockerBuildTarget=None, dockerFile=None, repositoryName=None, networkMode=None, platform=None, dockerOutputs=None, assetName=None, dockerCacheFrom=None, dockerCacheTo=None, dockerCacheDisabled=None, displayName=None):
381
381
  return ImageStagingLocation(
382
382
  repo_name="myRepo",
383
383
  assume_role_arn="myArn",
@@ -12,4 +12,4 @@ src/aws_cdk.app_staging_synthesizer_alpha.egg-info/top_level.txt
12
12
  src/aws_cdk/app_staging_synthesizer_alpha/__init__.py
13
13
  src/aws_cdk/app_staging_synthesizer_alpha/py.typed
14
14
  src/aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py
15
- src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.186.0-alpha.0.jsii.tgz
15
+ src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz
@@ -1,5 +1,5 @@
1
- aws-cdk-lib<3.0.0,>=2.186.0
1
+ aws-cdk-lib<3.0.0,>=2.187.0
2
2
  constructs<11.0.0,>=10.0.0
3
- jsii<2.0.0,>=1.109.0
3
+ jsii<2.0.0,>=1.110.0
4
4
  publication>=0.0.3
5
5
  typeguard<4.3.0,>=2.13.3