aws-cdk-lib 2.186.0__py3-none-any.whl → 2.188.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.
- aws_cdk/__init__.py +303 -119
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.186.0.jsii.tgz → aws-cdk-lib@2.188.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +136 -0
- aws_cdk/aws_apigateway/__init__.py +69 -17
- aws_cdk/aws_apigatewayv2/__init__.py +88 -0
- aws_cdk/aws_appconfig/__init__.py +30 -14
- aws_cdk/aws_appsync/__init__.py +14 -5
- aws_cdk/aws_arczonalshift/__init__.py +4 -4
- aws_cdk/aws_bedrock/__init__.py +637 -32
- aws_cdk/aws_budgets/__init__.py +8 -8
- aws_cdk/aws_cassandra/__init__.py +4 -2
- aws_cdk/aws_ce/__init__.py +2 -2
- aws_cdk/aws_cloudformation/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +11 -0
- aws_cdk/aws_cloudtrail/__init__.py +4 -18
- aws_cdk/aws_cloudwatch/__init__.py +50 -50
- aws_cdk/aws_codebuild/__init__.py +32 -1
- aws_cdk/aws_codepipeline/__init__.py +47 -32
- aws_cdk/aws_codepipeline_actions/__init__.py +2786 -1042
- aws_cdk/aws_codestarnotifications/__init__.py +16 -16
- aws_cdk/aws_cognito/__init__.py +8 -2
- aws_cdk/aws_config/__init__.py +2 -5
- aws_cdk/aws_datazone/__init__.py +287 -226
- aws_cdk/aws_detective/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +37 -0
- aws_cdk/aws_ec2/__init__.py +2448 -442
- aws_cdk/aws_ecr/__init__.py +143 -0
- aws_cdk/aws_ecr_assets/__init__.py +115 -4
- aws_cdk/aws_ecs/__init__.py +51 -0
- aws_cdk/aws_eks/__init__.py +222 -6
- aws_cdk/aws_events/__init__.py +8 -11
- aws_cdk/aws_events_targets/__init__.py +136 -0
- aws_cdk/aws_forecast/__init__.py +1 -1
- aws_cdk/aws_fsx/__init__.py +2 -2
- aws_cdk/aws_gamelift/__init__.py +11 -11
- aws_cdk/aws_iam/__init__.py +6 -4
- aws_cdk/aws_identitystore/__init__.py +6 -4
- aws_cdk/aws_iotsitewise/__init__.py +623 -0
- aws_cdk/aws_kinesisfirehose/__init__.py +38 -0
- aws_cdk/aws_kms/__init__.py +10 -11
- aws_cdk/aws_lakeformation/__init__.py +3 -3
- aws_cdk/aws_lambda/__init__.py +105 -4
- aws_cdk/aws_lambda_event_sources/__init__.py +87 -25
- aws_cdk/aws_lambda_nodejs/__init__.py +5 -24
- aws_cdk/aws_lex/__init__.py +985 -5
- aws_cdk/aws_logs/__init__.py +18 -0
- aws_cdk/aws_logs_destinations/__init__.py +146 -0
- aws_cdk/aws_mediaconnect/__init__.py +714 -290
- aws_cdk/aws_mwaa/__init__.py +9 -9
- aws_cdk/aws_networkfirewall/__init__.py +44 -0
- aws_cdk/aws_notifications/__init__.py +4 -4
- aws_cdk/aws_omics/__init__.py +225 -1
- aws_cdk/aws_opensearchserverless/__init__.py +31 -23
- aws_cdk/aws_organizations/__init__.py +1 -1
- aws_cdk/aws_pcaconnectorad/__init__.py +3 -2
- aws_cdk/aws_quicksight/__init__.py +268 -50
- aws_cdk/aws_rds/__init__.py +186 -10
- aws_cdk/aws_route53/__init__.py +5 -5
- aws_cdk/aws_route53recoverycontrol/__init__.py +41 -2
- aws_cdk/aws_rum/__init__.py +13 -10
- aws_cdk/aws_s3/__init__.py +3 -6
- aws_cdk/aws_s3_assets/__init__.py +70 -1
- aws_cdk/aws_s3_deployment/__init__.py +4 -0
- aws_cdk/aws_sagemaker/__init__.py +47 -4
- aws_cdk/aws_scheduler_targets/__init__.py +4 -16
- aws_cdk/aws_securitylake/__init__.py +2 -2
- aws_cdk/aws_servicecatalog/__init__.py +4 -0
- aws_cdk/aws_sns/__init__.py +1 -1
- aws_cdk/aws_ssmincidents/__init__.py +10 -10
- aws_cdk/aws_stepfunctions/__init__.py +23 -17
- aws_cdk/aws_stepfunctions_tasks/__init__.py +4 -0
- aws_cdk/aws_synthetics/__init__.py +9 -0
- aws_cdk/aws_systemsmanagersap/__init__.py +160 -0
- aws_cdk/aws_transfer/__init__.py +19 -10
- aws_cdk/aws_wafv2/__init__.py +512 -1141
- aws_cdk/cloud_assembly_schema/__init__.py +60 -10
- aws_cdk/cx_api/__init__.py +38 -2
- aws_cdk/pipelines/__init__.py +52 -2
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/METADATA +4 -4
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/RECORD +85 -85
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.186.0.dist-info → aws_cdk_lib-2.188.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_ecs/__init__.py
CHANGED
|
@@ -3977,6 +3977,7 @@ class AsgCapacityProviderProps(AddAutoScalingGroupCapacityOptions):
|
|
|
3977
3977
|
"cache_disabled": "cacheDisabled",
|
|
3978
3978
|
"cache_from": "cacheFrom",
|
|
3979
3979
|
"cache_to": "cacheTo",
|
|
3980
|
+
"display_name": "displayName",
|
|
3980
3981
|
"file": "file",
|
|
3981
3982
|
"invalidation": "invalidation",
|
|
3982
3983
|
"network_mode": "networkMode",
|
|
@@ -4000,6 +4001,7 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4000
4001
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
4001
4002
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4002
4003
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4004
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
4003
4005
|
file: typing.Optional[builtins.str] = None,
|
|
4004
4006
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
4005
4007
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -4020,6 +4022,7 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4020
4022
|
:param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
|
|
4021
4023
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
|
|
4022
4024
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
|
|
4025
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
4023
4026
|
:param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
|
|
4024
4027
|
:param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
|
|
4025
4028
|
:param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
|
|
@@ -4066,6 +4069,7 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4066
4069
|
"params_key": "params"
|
|
4067
4070
|
}
|
|
4068
4071
|
),
|
|
4072
|
+
display_name="displayName",
|
|
4069
4073
|
exclude=["exclude"],
|
|
4070
4074
|
extra_hash="extraHash",
|
|
4071
4075
|
file="file",
|
|
@@ -4106,6 +4110,7 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4106
4110
|
check_type(argname="argument cache_disabled", value=cache_disabled, expected_type=type_hints["cache_disabled"])
|
|
4107
4111
|
check_type(argname="argument cache_from", value=cache_from, expected_type=type_hints["cache_from"])
|
|
4108
4112
|
check_type(argname="argument cache_to", value=cache_to, expected_type=type_hints["cache_to"])
|
|
4113
|
+
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
4109
4114
|
check_type(argname="argument file", value=file, expected_type=type_hints["file"])
|
|
4110
4115
|
check_type(argname="argument invalidation", value=invalidation, expected_type=type_hints["invalidation"])
|
|
4111
4116
|
check_type(argname="argument network_mode", value=network_mode, expected_type=type_hints["network_mode"])
|
|
@@ -4135,6 +4140,8 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4135
4140
|
self._values["cache_from"] = cache_from
|
|
4136
4141
|
if cache_to is not None:
|
|
4137
4142
|
self._values["cache_to"] = cache_to
|
|
4143
|
+
if display_name is not None:
|
|
4144
|
+
self._values["display_name"] = display_name
|
|
4138
4145
|
if file is not None:
|
|
4139
4146
|
self._values["file"] = file
|
|
4140
4147
|
if invalidation is not None:
|
|
@@ -4279,6 +4286,31 @@ class AssetImageProps(_DockerImageAssetOptions_9580cd76):
|
|
|
4279
4286
|
result = self._values.get("cache_to")
|
|
4280
4287
|
return typing.cast(typing.Optional[_DockerCacheOption_58ef18ca], result)
|
|
4281
4288
|
|
|
4289
|
+
@builtins.property
|
|
4290
|
+
def display_name(self) -> typing.Optional[builtins.str]:
|
|
4291
|
+
'''A display name for this asset.
|
|
4292
|
+
|
|
4293
|
+
If supplied, the display name will be used in locations where the asset
|
|
4294
|
+
identifier is printed, like in the CLI progress information. If the same
|
|
4295
|
+
asset is added multiple times, the display name of the first occurrence is
|
|
4296
|
+
used.
|
|
4297
|
+
|
|
4298
|
+
If ``assetName`` is given, it will also be used as the default ``displayName``.
|
|
4299
|
+
Otherwise, the default is the construct path of the ImageAsset construct,
|
|
4300
|
+
with respect to the enclosing stack. If the asset is produced by a
|
|
4301
|
+
construct helper function (such as ``lambda.Code.fromAssetImage()``), this
|
|
4302
|
+
will look like ``MyFunction/AssetImage``.
|
|
4303
|
+
|
|
4304
|
+
We use the stack-relative construct path so that in the common case where
|
|
4305
|
+
you have multiple stacks with the same asset, we won't show something like
|
|
4306
|
+
``/MyBetaStack/MyFunction/Code`` when you are actually deploying to
|
|
4307
|
+
production.
|
|
4308
|
+
|
|
4309
|
+
:default: - Stack-relative construct path
|
|
4310
|
+
'''
|
|
4311
|
+
result = self._values.get("display_name")
|
|
4312
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
4313
|
+
|
|
4282
4314
|
@builtins.property
|
|
4283
4315
|
def file(self) -> typing.Optional[builtins.str]:
|
|
4284
4316
|
'''Path to the Dockerfile (relative to the directory).
|
|
@@ -22687,6 +22719,7 @@ class ContainerImage(
|
|
|
22687
22719
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
22688
22720
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
22689
22721
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22722
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
22690
22723
|
file: typing.Optional[builtins.str] = None,
|
|
22691
22724
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
22692
22725
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -22711,6 +22744,7 @@ class ContainerImage(
|
|
|
22711
22744
|
:param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
|
|
22712
22745
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
|
|
22713
22746
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
|
|
22747
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
22714
22748
|
:param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
|
|
22715
22749
|
:param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
|
|
22716
22750
|
:param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
|
|
@@ -22733,6 +22767,7 @@ class ContainerImage(
|
|
|
22733
22767
|
cache_disabled=cache_disabled,
|
|
22734
22768
|
cache_from=cache_from,
|
|
22735
22769
|
cache_to=cache_to,
|
|
22770
|
+
display_name=display_name,
|
|
22736
22771
|
file=file,
|
|
22737
22772
|
invalidation=invalidation,
|
|
22738
22773
|
network_mode=network_mode,
|
|
@@ -25639,6 +25674,7 @@ class EnvironmentFile(
|
|
|
25639
25674
|
path: builtins.str,
|
|
25640
25675
|
*,
|
|
25641
25676
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
25677
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
25642
25678
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
25643
25679
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
25644
25680
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -25652,6 +25688,7 @@ class EnvironmentFile(
|
|
|
25652
25688
|
|
|
25653
25689
|
:param path: Local disk path.
|
|
25654
25690
|
: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
|
|
25691
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
25655
25692
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
25656
25693
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
25657
25694
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -25666,6 +25703,7 @@ class EnvironmentFile(
|
|
|
25666
25703
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
25667
25704
|
options = _AssetOptions_2aa69621(
|
|
25668
25705
|
deploy_time=deploy_time,
|
|
25706
|
+
display_name=display_name,
|
|
25669
25707
|
readers=readers,
|
|
25670
25708
|
source_kms_key=source_kms_key,
|
|
25671
25709
|
asset_hash=asset_hash,
|
|
@@ -39231,6 +39269,7 @@ class AssetEnvironmentFile(
|
|
|
39231
39269
|
working_directory="workingDirectory"
|
|
39232
39270
|
),
|
|
39233
39271
|
deploy_time=False,
|
|
39272
|
+
display_name="displayName",
|
|
39234
39273
|
exclude=["exclude"],
|
|
39235
39274
|
follow_symlinks=cdk.SymlinkFollowMode.NEVER,
|
|
39236
39275
|
ignore_mode=cdk.IgnoreMode.GLOB,
|
|
@@ -39244,6 +39283,7 @@ class AssetEnvironmentFile(
|
|
|
39244
39283
|
path: builtins.str,
|
|
39245
39284
|
*,
|
|
39246
39285
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
39286
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
39247
39287
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
39248
39288
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
39249
39289
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -39256,6 +39296,7 @@ class AssetEnvironmentFile(
|
|
|
39256
39296
|
'''
|
|
39257
39297
|
:param path: The path to the asset file or directory.
|
|
39258
39298
|
: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
|
|
39299
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. The default is the construct path of the Asset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAsset()``), this will look like ``MyFunction/Code``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
39259
39300
|
:param readers: A list of principals that should be able to read this asset from S3. You can use ``asset.grantRead(principal)`` to grant read permissions later. Default: - No principals that can read file asset.
|
|
39260
39301
|
:param source_kms_key: The ARN of the KMS key used to encrypt the handler code. Default: - the default server-side encryption with Amazon S3 managed keys(SSE-S3) key will be used.
|
|
39261
39302
|
:param asset_hash: Specify a custom hash for this asset. If ``assetHashType`` is set it must be set to ``AssetHashType.CUSTOM``. For consistency, this custom hash will be SHA256 hashed and encoded as hex. The resulting hash will be the asset hash. NOTE: the hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the hash, you will need to make sure it is updated every time the asset changes, or otherwise it is possible that some deployments will not be invalidated. Default: - based on ``assetHashType``
|
|
@@ -39270,6 +39311,7 @@ class AssetEnvironmentFile(
|
|
|
39270
39311
|
check_type(argname="argument path", value=path, expected_type=type_hints["path"])
|
|
39271
39312
|
options = _AssetOptions_2aa69621(
|
|
39272
39313
|
deploy_time=deploy_time,
|
|
39314
|
+
display_name=display_name,
|
|
39273
39315
|
readers=readers,
|
|
39274
39316
|
source_kms_key=source_kms_key,
|
|
39275
39317
|
asset_hash=asset_hash,
|
|
@@ -39346,6 +39388,7 @@ class AssetImage(
|
|
|
39346
39388
|
"params_key": "params"
|
|
39347
39389
|
}
|
|
39348
39390
|
),
|
|
39391
|
+
display_name="displayName",
|
|
39349
39392
|
exclude=["exclude"],
|
|
39350
39393
|
extra_hash="extraHash",
|
|
39351
39394
|
file="file",
|
|
@@ -39381,6 +39424,7 @@ class AssetImage(
|
|
|
39381
39424
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
39382
39425
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
39383
39426
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
39427
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
39384
39428
|
file: typing.Optional[builtins.str] = None,
|
|
39385
39429
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
39386
39430
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -39402,6 +39446,7 @@ class AssetImage(
|
|
|
39402
39446
|
:param cache_disabled: Disable the cache and pass ``--no-cache`` to the ``docker build`` command. Default: - cache is used
|
|
39403
39447
|
:param cache_from: Cache from options to pass to the ``docker build`` command. Default: - no cache from options are passed to the build command
|
|
39404
39448
|
:param cache_to: Cache to options to pass to the ``docker build`` command. Default: - no cache to options are passed to the build command
|
|
39449
|
+
:param display_name: A display name for this asset. If supplied, the display name will be used in locations where the asset identifier is printed, like in the CLI progress information. If the same asset is added multiple times, the display name of the first occurrence is used. If ``assetName`` is given, it will also be used as the default ``displayName``. Otherwise, the default is the construct path of the ImageAsset construct, with respect to the enclosing stack. If the asset is produced by a construct helper function (such as ``lambda.Code.fromAssetImage()``), this will look like ``MyFunction/AssetImage``. We use the stack-relative construct path so that in the common case where you have multiple stacks with the same asset, we won't show something like ``/MyBetaStack/MyFunction/Code`` when you are actually deploying to production. Default: - Stack-relative construct path
|
|
39405
39450
|
:param file: Path to the Dockerfile (relative to the directory). Default: 'Dockerfile'
|
|
39406
39451
|
:param invalidation: Options to control which parameters are used to invalidate the asset hash. Default: - hash all parameters
|
|
39407
39452
|
:param network_mode: Networking mode for the RUN commands during build. Support docker API 1.25+. Default: - no networking mode specified (the default networking mode ``NetworkMode.DEFAULT`` will be used)
|
|
@@ -39424,6 +39469,7 @@ class AssetImage(
|
|
|
39424
39469
|
cache_disabled=cache_disabled,
|
|
39425
39470
|
cache_from=cache_from,
|
|
39426
39471
|
cache_to=cache_to,
|
|
39472
|
+
display_name=display_name,
|
|
39427
39473
|
file=file,
|
|
39428
39474
|
invalidation=invalidation,
|
|
39429
39475
|
network_mode=network_mode,
|
|
@@ -43227,6 +43273,7 @@ def _typecheckingstub__6e2e094929b9952c79f2d2f10cac8da6c1f6dad2f0e50e17e639ed016
|
|
|
43227
43273
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
43228
43274
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
43229
43275
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
43276
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
43230
43277
|
file: typing.Optional[builtins.str] = None,
|
|
43231
43278
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
43232
43279
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -45113,6 +45160,7 @@ def _typecheckingstub__a3b74ad5b0ef573de8f4998ac2c10294ecc205320b367ba59d13b865f
|
|
|
45113
45160
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
45114
45161
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
45115
45162
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45163
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
45116
45164
|
file: typing.Optional[builtins.str] = None,
|
|
45117
45165
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
45118
45166
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|
|
@@ -45454,6 +45502,7 @@ def _typecheckingstub__984c009064fe3ececa2babfa7da070310c1a07aad5d8719d7817aacaf
|
|
|
45454
45502
|
path: builtins.str,
|
|
45455
45503
|
*,
|
|
45456
45504
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
45505
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
45457
45506
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
45458
45507
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
45459
45508
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -46754,6 +46803,7 @@ def _typecheckingstub__0c2450ee3cfe92be6dcc8ab1f8c7f9bc88382905f44289ab29eb782fb
|
|
|
46754
46803
|
path: builtins.str,
|
|
46755
46804
|
*,
|
|
46756
46805
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
46806
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
46757
46807
|
readers: typing.Optional[typing.Sequence[_IGrantable_71c4f5de]] = None,
|
|
46758
46808
|
source_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
46759
46809
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
@@ -46782,6 +46832,7 @@ def _typecheckingstub__4d3698baaf6e6b1c9fc983c7a139e8426df4d121c2e7cd948722f7942
|
|
|
46782
46832
|
cache_disabled: typing.Optional[builtins.bool] = None,
|
|
46783
46833
|
cache_from: typing.Optional[typing.Sequence[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
46784
46834
|
cache_to: typing.Optional[typing.Union[_DockerCacheOption_58ef18ca, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46835
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
46785
46836
|
file: typing.Optional[builtins.str] = None,
|
|
46786
46837
|
invalidation: typing.Optional[typing.Union[_DockerImageAssetInvalidationOptions_4deb8d45, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
46787
46838
|
network_mode: typing.Optional[_NetworkMode_897e5081] = None,
|