aws-cdk.asset-awscli-v2 2.0.147__tar.gz → 2.0.149__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.
Files changed (17) hide show
  1. {aws_cdk_asset_awscli_v2-2.0.147/src/aws_cdk.asset_awscli_v2.egg-info → aws_cdk_asset_awscli_v2-2.0.149}/PKG-INFO +4 -5
  2. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/pyproject.toml +2 -2
  3. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/setup.py +5 -6
  4. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk/asset_awscli_v2/__init__.py +9 -0
  5. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk/asset_awscli_v2/_jsii/__init__.py +2 -2
  6. aws_cdk_asset_awscli_v2-2.0.147/src/aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.147.jsii.tgz → aws_cdk_asset_awscli_v2-2.0.149/src/aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.149.jsii.tgz +0 -0
  7. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149/src/aws_cdk.asset_awscli_v2.egg-info}/PKG-INFO +4 -5
  8. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk.asset_awscli_v2.egg-info/SOURCES.txt +1 -1
  9. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk.asset_awscli_v2.egg-info/requires.txt +2 -2
  10. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/LICENSE +0 -0
  11. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/MANIFEST.in +0 -0
  12. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/NOTICE +0 -0
  13. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/README.md +0 -0
  14. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/setup.cfg +0 -0
  15. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk/asset_awscli_v2/py.typed +0 -0
  16. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk.asset_awscli_v2.egg-info/dependency_links.txt +0 -0
  17. {aws_cdk_asset_awscli_v2-2.0.147 → aws_cdk_asset_awscli_v2-2.0.149}/src/aws_cdk.asset_awscli_v2.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.asset-awscli-v2
3
- Version: 2.0.147
3
+ Version: 2.0.149
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.8
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.103.1
25
+ Requires-Dist: jsii<2.0.0,>=1.111.0
27
26
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard<5.0.0,>=2.13.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
29
28
 
30
29
  # Asset with AWS CLI v2
31
30
 
@@ -1,9 +1,9 @@
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]
6
6
  defineConstant = { DEBUG = true }
7
- pythonVersion = "3.8"
7
+ pythonVersion = "3.9"
8
8
  pythonPlatform = "All"
9
9
  reportSelfClsParameterName = false
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "aws-cdk.asset-awscli-v2",
8
- "version": "2.0.147",
8
+ "version": "2.0.149",
9
9
  "description": "An Asset construct that contains the AWS CLI, for use in Lambda Layers",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/cdklabs/awscdk-asset-awscli#readme",
@@ -26,26 +26,25 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "aws_cdk.asset_awscli_v2._jsii": [
29
- "asset-awscli-v2@2.0.147.jsii.tgz"
29
+ "asset-awscli-v2@2.0.149.jsii.tgz"
30
30
  ],
31
31
  "aws_cdk.asset_awscli_v2": [
32
32
  "py.typed"
33
33
  ]
34
34
  },
35
- "python_requires": "~=3.8",
35
+ "python_requires": "~=3.9",
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.0.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.103.1, <2.0.0",
39
+ "jsii>=1.111.0, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard>=2.13.3,<5.0.0"
41
+ "typeguard>=2.13.3,<4.3.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
45
45
  "Operating System :: OS Independent",
46
46
  "Programming Language :: JavaScript",
47
47
  "Programming Language :: Python :: 3 :: Only",
48
- "Programming Language :: Python :: 3.8",
49
48
  "Programming Language :: Python :: 3.9",
50
49
  "Programming Language :: Python :: 3.10",
51
50
  "Programming Language :: Python :: 3.11",
@@ -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,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "@aws-cdk/asset-awscli-v2",
36
- "2.0.147",
36
+ "2.0.149",
37
37
  __name__[0:-6],
38
- "asset-awscli-v2@2.0.147.jsii.tgz",
38
+ "asset-awscli-v2@2.0.149.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.asset-awscli-v2
3
- Version: 2.0.147
3
+ Version: 2.0.149
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.8
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.103.1
25
+ Requires-Dist: jsii<2.0.0,>=1.111.0
27
26
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard<5.0.0,>=2.13.3
27
+ Requires-Dist: typeguard<4.3.0,>=2.13.3
29
28
 
30
29
  # Asset with AWS CLI v2
31
30
 
@@ -12,4 +12,4 @@ src/aws_cdk.asset_awscli_v2.egg-info/top_level.txt
12
12
  src/aws_cdk/asset_awscli_v2/__init__.py
13
13
  src/aws_cdk/asset_awscli_v2/py.typed
14
14
  src/aws_cdk/asset_awscli_v2/_jsii/__init__.py
15
- src/aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.147.jsii.tgz
15
+ src/aws_cdk/asset_awscli_v2/_jsii/asset-awscli-v2@2.0.149.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.0.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.103.1
3
+ jsii<2.0.0,>=1.111.0
4
4
  publication>=0.0.3
5
- typeguard<5.0.0,>=2.13.3
5
+ typeguard<4.3.0,>=2.13.3