aws-cdk.asset-awscli-v2 2.0.146__py3-none-any.whl → 2.0.148__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.
- aws_cdk/asset_awscli_v2/__init__.py +9 -0
- aws_cdk/asset_awscli_v2/_jsii/__init__.py +2 -2
- aws_cdk/asset_awscli_v2/_jsii/{asset-awscli-v2@2.0.146.jsii.tgz → asset-awscli-v2@2.0.148.jsii.tgz} +0 -0
- {aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/METADATA +4 -5
- aws_cdk_asset_awscli_v2-2.0.148.dist-info/RECORD +10 -0
- {aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/WHEEL +1 -1
- aws_cdk.asset_awscli_v2-2.0.146.dist-info/RECORD +0 -10
- {aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/LICENSE +0 -0
- {aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/NOTICE +0 -0
- {aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/top_level.txt +0 -0
|
@@ -68,6 +68,7 @@ from ._jsii import *
|
|
|
68
68
|
|
|
69
69
|
import aws_cdk as _aws_cdk_ceddda9d
|
|
70
70
|
import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d
|
|
71
|
+
import aws_cdk.aws_kms as _aws_cdk_aws_kms_ceddda9d
|
|
71
72
|
import aws_cdk.aws_s3_assets as _aws_cdk_aws_s3_assets_ceddda9d
|
|
72
73
|
import constructs as _constructs_77d1e7e8
|
|
73
74
|
|
|
@@ -85,7 +86,9 @@ class AwsCliAsset(
|
|
|
85
86
|
id: builtins.str,
|
|
86
87
|
*,
|
|
87
88
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
89
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
88
90
|
readers: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.IGrantable]] = None,
|
|
91
|
+
source_kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
89
92
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
90
93
|
asset_hash_type: typing.Optional[_aws_cdk_ceddda9d.AssetHashType] = None,
|
|
91
94
|
bundling: typing.Optional[typing.Union[_aws_cdk_ceddda9d.BundlingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -97,7 +100,9 @@ class AwsCliAsset(
|
|
|
97
100
|
:param scope: -
|
|
98
101
|
:param id: -
|
|
99
102
|
: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
|
|
103
|
+
: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
|
|
100
104
|
: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.
|
|
105
|
+
: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.
|
|
101
106
|
: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``
|
|
102
107
|
:param asset_hash_type: Specifies the type of hash to calculate for this asset. If ``assetHash`` is configured, this option must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: - the default is ``AssetHashType.SOURCE``, but if ``assetHash`` is explicitly specified this value defaults to ``AssetHashType.CUSTOM``.
|
|
103
108
|
:param bundling: Bundle the asset by executing a command in a Docker container or a custom bundling provider. The asset path will be mounted at ``/asset-input``. The Docker container is responsible for putting content at ``/asset-output``. The content at ``/asset-output`` will be zipped and used as the final asset. Default: - uploaded as-is to S3 if the asset is a regular file or a .zip file, archived into a .zip file and uploaded to S3 otherwise
|
|
@@ -111,7 +116,9 @@ class AwsCliAsset(
|
|
|
111
116
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
112
117
|
options = _aws_cdk_aws_s3_assets_ceddda9d.AssetOptions(
|
|
113
118
|
deploy_time=deploy_time,
|
|
119
|
+
display_name=display_name,
|
|
114
120
|
readers=readers,
|
|
121
|
+
source_kms_key=source_kms_key,
|
|
115
122
|
asset_hash=asset_hash,
|
|
116
123
|
asset_hash_type=asset_hash_type,
|
|
117
124
|
bundling=bundling,
|
|
@@ -134,7 +141,9 @@ def _typecheckingstub__b6f35c1c824a991bb1349556e27141cd256090ef77465999d36a0723e
|
|
|
134
141
|
id: builtins.str,
|
|
135
142
|
*,
|
|
136
143
|
deploy_time: typing.Optional[builtins.bool] = None,
|
|
144
|
+
display_name: typing.Optional[builtins.str] = None,
|
|
137
145
|
readers: typing.Optional[typing.Sequence[_aws_cdk_aws_iam_ceddda9d.IGrantable]] = None,
|
|
146
|
+
source_kms_key: typing.Optional[_aws_cdk_aws_kms_ceddda9d.IKey] = None,
|
|
138
147
|
asset_hash: typing.Optional[builtins.str] = None,
|
|
139
148
|
asset_hash_type: typing.Optional[_aws_cdk_ceddda9d.AssetHashType] = None,
|
|
140
149
|
bundling: typing.Optional[typing.Union[_aws_cdk_ceddda9d.BundlingOptions, typing.Dict[builtins.str, typing.Any]]] = None,
|
aws_cdk/asset_awscli_v2/_jsii/{asset-awscli-v2@2.0.146.jsii.tgz → asset-awscli-v2@2.0.148.jsii.tgz}
RENAMED
|
Binary file
|
{aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.asset-awscli-v2
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.148
|
|
4
4
|
Summary: An Asset construct that contains the AWS CLI, for use in Lambda Layers
|
|
5
5
|
Home-page: https://github.com/cdklabs/awscdk-asset-awscli#readme
|
|
6
6
|
Author: Amazon Web Services<aws-cdk-dev@amazon.com>
|
|
@@ -10,22 +10,21 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: JavaScript
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.9
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
16
|
Classifier: Typing :: Typed
|
|
18
17
|
Classifier: Development Status :: 5 - Production/Stable
|
|
19
18
|
Classifier: License :: OSI Approved
|
|
20
|
-
Requires-Python: ~=3.
|
|
19
|
+
Requires-Python: ~=3.9
|
|
21
20
|
Description-Content-Type: text/markdown
|
|
22
21
|
License-File: LICENSE
|
|
23
22
|
License-File: NOTICE
|
|
24
23
|
Requires-Dist: aws-cdk-lib<3.0.0,>=2.0.0
|
|
25
24
|
Requires-Dist: constructs<11.0.0,>=10.0.5
|
|
26
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
25
|
+
Requires-Dist: jsii<2.0.0,>=1.111.0
|
|
27
26
|
Requires-Dist: publication>=0.0.3
|
|
28
|
-
Requires-Dist: typeguard<
|
|
27
|
+
Requires-Dist: typeguard<4.3.0,>=2.13.3
|
|
29
28
|
|
|
30
29
|
# Asset with AWS CLI v2
|
|
31
30
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
aws_cdk/asset_awscli_v2/__init__.py,sha256=ejEA-cdEHqtds0P34TJAy17ruhV3J_YVzsWpYANKDlc,9066
|
|
2
|
+
aws_cdk/asset_awscli_v2/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
aws_cdk/asset_awscli_v2/_jsii/__init__.py,sha256=zKLM5JBQg2wMOhYClbaWIv_81gQvMiFfELSIBnMSHjQ,1467
|
|
4
|
+
aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.148.jsii.tgz,sha256=yiR0EwxUfG5mvVLtAK2oMzUDw_EVWgwjZMXEi5SzfwU,65723535
|
|
5
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/METADATA,sha256=1W_3wKU14-enkQyiujx0gyYkyK5miDCSfI5zSh2vx1M,2000
|
|
7
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
|
|
8
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
9
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
+
aws_cdk_asset_awscli_v2-2.0.148.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
aws_cdk/asset_awscli_v2/__init__.py,sha256=tiuX5S0B8AbQ_tKhUL4joCJwGthn-IB1H1832fRWptU,7685
|
|
2
|
-
aws_cdk/asset_awscli_v2/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/asset_awscli_v2/_jsii/__init__.py,sha256=zSFaBtj3um-0HFCecIupt86JVR-t3YZNmI2Ce1W-Zkc,1467
|
|
4
|
-
aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.146.jsii.tgz,sha256=rhqFu429nFSidBkNPgYY2tw0pkYjaj-SK2ESs5V7Ke8,63497844
|
|
5
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/METADATA,sha256=PfO_wCXf7_LYhrEGizmUJfcRbi3mq4twASkND-c4C1E,2050
|
|
7
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/NOTICE,sha256=1CkO1kwu3Q_OHYTj-d-yiBJA_lNN73a4zSntavaD4oc,67
|
|
8
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
9
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
-
aws_cdk.asset_awscli_v2-2.0.146.dist-info/RECORD,,
|
{aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/LICENSE
RENAMED
|
File without changes
|
{aws_cdk.asset_awscli_v2-2.0.146.dist-info → aws_cdk_asset_awscli_v2-2.0.148.dist-info}/NOTICE
RENAMED
|
File without changes
|
|
File without changes
|