aws-cdk.app-staging-synthesizer-alpha 2.185.0a0__py3-none-any.whl → 2.187.0a0__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.app-staging-synthesizer-alpha might be problematic. Click here for more details.
- aws_cdk/app_staging_synthesizer_alpha/__init__.py +25 -3
- aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py +2 -2
- aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz +0 -0
- {aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info}/METADATA +6 -6
- aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/RECORD +10 -0
- {aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info}/WHEEL +1 -1
- aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.185.0-alpha.0.jsii.tgz +0 -0
- aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/RECORD +0 -10
- {aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info}/LICENSE +0 -0
- {aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info}/NOTICE +0 -0
- {aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info → aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info}/top_level.txt +0 -0
|
@@ -173,7 +173,7 @@ These credentials must have the ability to perform CloudFormation calls,
|
|
|
173
173
|
lookup resources in your account, and perform CloudFormation deployment.
|
|
174
174
|
For a full list of what is necessary, see `LookupRole`, `DeploymentActionRole`,
|
|
175
175
|
and `CloudFormationExecutionRole` in the
|
|
176
|
-
[bootstrap template](https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml).
|
|
176
|
+
[bootstrap template](https://github.com/aws/aws-cdk-cli/blob/main/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml).
|
|
177
177
|
|
|
178
178
|
```python
|
|
179
179
|
from aws_cdk.aws_s3 import BucketEncryption
|
|
@@ -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.
|
|
36
|
+
"2.187.0-alpha.0",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"app-staging-synthesizer-alpha@2.
|
|
38
|
+
"app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz
ADDED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.app-staging-synthesizer-alpha
|
|
3
|
-
Version: 2.
|
|
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.
|
|
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.
|
|
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
|
|
|
@@ -202,7 +202,7 @@ These credentials must have the ability to perform CloudFormation calls,
|
|
|
202
202
|
lookup resources in your account, and perform CloudFormation deployment.
|
|
203
203
|
For a full list of what is necessary, see `LookupRole`, `DeploymentActionRole`,
|
|
204
204
|
and `CloudFormationExecutionRole` in the
|
|
205
|
-
[bootstrap template](https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml).
|
|
205
|
+
[bootstrap template](https://github.com/aws/aws-cdk-cli/blob/main/packages/aws-cdk/lib/api/bootstrap/bootstrap-template.yaml).
|
|
206
206
|
|
|
207
207
|
```python
|
|
208
208
|
from aws_cdk.aws_s3 import BucketEncryption
|
|
@@ -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",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=YMYBXd-qtFN9Mfrk2K-ZZiW6ty6tUANb9JTug9V4zaA,207991
|
|
2
|
+
aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=KQTQKk_yUBJKr9PYXtmYuClqs5JRZAQ1qDQ8fJLo7Mw,1511
|
|
4
|
+
aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.187.0-alpha.0.jsii.tgz,sha256=RFvUdYl4_9izUQ8lPtEWBdmceih-kcLpH4IHn4Qtxj8,86798
|
|
5
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/LICENSE,sha256=y47tc38H0C4DpGljYUZDl8XxidQjNxxGLq-K4jwv6Xc,11391
|
|
6
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/METADATA,sha256=lORRbkvH5puam2c0KU4UZN_pt5j9C6J5D2Bikj6VPS4,18326
|
|
7
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/NOTICE,sha256=ZDV6_xBfMvhFtjjBh_f6lJjhZ2AEWWAGGkx2kLKHiuc,113
|
|
8
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
9
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
+
aws_cdk_app_staging_synthesizer_alpha-2.187.0a0.dist-info/RECORD,,
|
aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.185.0-alpha.0.jsii.tgz
DELETED
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=g6_3C2iAKkD3q6UpuJFzslD-CRvPfuu-86hopl1lsfU,205253
|
|
2
|
-
aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=EFjk5bzDundV8a2c4FHXucmfwME_AKWZ895qAMBST8g,1511
|
|
4
|
-
aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.185.0-alpha.0.jsii.tgz,sha256=SWc4NNgEtqrOWZLZuOcjyiXpyQ9VIFi8wUlbTAZHo1c,86649
|
|
5
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/LICENSE,sha256=y47tc38H0C4DpGljYUZDl8XxidQjNxxGLq-K4jwv6Xc,11391
|
|
6
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/METADATA,sha256=HdzaqownROVJRsROCuuZvylCkoFtGzhJ6sDvgSAODzc,18286
|
|
7
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/NOTICE,sha256=ZDV6_xBfMvhFtjjBh_f6lJjhZ2AEWWAGGkx2kLKHiuc,113
|
|
8
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
9
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
-
aws_cdk.app_staging_synthesizer_alpha-2.185.0a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|