cdktn 0.25.0.dev50__tar.gz → 0.25.0.dev52__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.
- {cdktn-0.25.0.dev50/src/cdktn.egg-info → cdktn-0.25.0.dev52}/PKG-INFO +1 -1
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/setup.py +2 -2
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn/__init__.py +32 -3
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn/_jsii/__init__.py +1 -1
- cdktn-0.25.0.dev52/src/cdktn/_jsii/cdktn@0.25.0-pre.52.jsii.tgz +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52/src/cdktn.egg-info}/PKG-INFO +1 -1
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn.egg-info/SOURCES.txt +1 -1
- cdktn-0.25.0.dev50/src/cdktn/_jsii/cdktn@0.25.0-pre.50.jsii.tgz +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/LICENSE +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/MANIFEST.in +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/README.md +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/pyproject.toml +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/setup.cfg +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn/py.typed +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn/testing_matchers/__init__.py +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn.egg-info/dependency_links.txt +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn.egg-info/requires.txt +0 -0
- {cdktn-0.25.0.dev50 → cdktn-0.25.0.dev52}/src/cdktn.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cdktn",
|
|
8
|
-
"version": "0.25.0.
|
|
8
|
+
"version": "0.25.0.dev52",
|
|
9
9
|
"description": "Cloud Development Kit for Terraform",
|
|
10
10
|
"license": "MPL-2.0",
|
|
11
11
|
"url": "https://github.com/open-constructs/cdk-terrain",
|
|
@@ -27,7 +27,7 @@ kwargs = json.loads(
|
|
|
27
27
|
],
|
|
28
28
|
"package_data": {
|
|
29
29
|
"cdktn._jsii": [
|
|
30
|
-
"cdktn@0.25.0-pre.
|
|
30
|
+
"cdktn@0.25.0-pre.52.jsii.tgz"
|
|
31
31
|
],
|
|
32
32
|
"cdktn": [
|
|
33
33
|
"py.typed"
|
|
@@ -13633,6 +13633,7 @@ class TerraformAsset(
|
|
|
13633
13633
|
bundler: typing.Optional["IAssetBundler"] = None,
|
|
13634
13634
|
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13635
13635
|
extra_hash: typing.Optional[builtins.str] = None,
|
|
13636
|
+
ignore_strategy: typing.Optional["IIgnoreStrategy"] = None,
|
|
13636
13637
|
type: typing.Optional["AssetType"] = None,
|
|
13637
13638
|
) -> None:
|
|
13638
13639
|
'''(experimental) A Terraform Asset takes a file or directory outside of the CDK Terrain context and moves it into it.
|
|
@@ -13645,8 +13646,9 @@ class TerraformAsset(
|
|
|
13645
13646
|
:param asset_hash:
|
|
13646
13647
|
:param asset_hash_type: (experimental) How the ``assetHash`` is derived. ``SOURCE`` (the default) hashes the source path. ``CUSTOM`` uses the ``assetHash`` value verbatim and requires it to be set. ``OUTPUT`` hashes the source too, unless a ``bundler`` is set — then it hashes the bundler's built output, which forces an eager build (see ``bundler``). If ``assetHash`` is set, this must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: AssetHashType.SOURCE
|
|
13647
13648
|
:param bundler: (experimental) A bundler that builds the source into an artifact before staging. Core ships no bundler; implement ``IAssetBundler`` or use one from a bundler package. Under the default ``SOURCE`` hashing the build is deferred to synth and stays skippable; ``OUTPUT`` hashing builds eagerly to hash the artifact. The bundler's output shape must match ``type``. See ``AssetStagingOptions.bundler``. Default: - the source is staged verbatim, with no build step
|
|
13648
|
-
:param exclude: (experimental) Paths to exclude from the asset, relative to ``path``. See ``AssetStagingOptions.exclude`` for the accepted forms. Both the computed hash and the staged/packed content honor the exclusion. Default: - nothing is excluded
|
|
13649
|
+
:param exclude: (experimental) Paths to exclude from the asset, relative to ``path``. See ``AssetStagingOptions.exclude`` for the accepted forms. Both the computed hash and the staged/packed content honor the exclusion. Cannot be combined with ``ignoreStrategy``, which replaces this matcher rather than layering on top of it. Default: - nothing is excluded
|
|
13649
13650
|
:param extra_hash: (experimental) Extra information to fold into the hash (e.g. build instructions and other inputs). Default: - no extra hash
|
|
13651
|
+
:param ignore_strategy: (experimental) Exclusion matching, for callers that need ``.gitignore`` / ``.dockerignore`` parity (including ``!``-negation) rather than the built-in exact-path / suffix / directory matcher. See ``AssetStagingOptions.ignoreStrategy``. ``!``-negation only takes effect if the strategy also sets ``pruneExcludedDirectories: false``; otherwise an excluded directory is pruned before its contents are ever checked against a re-include pattern. See ``IIgnoreStrategy.pruneExcludedDirectories``. Default: - ``exclude`` is used with the built-in matcher
|
|
13650
13652
|
:param type:
|
|
13651
13653
|
|
|
13652
13654
|
:stability: experimental
|
|
@@ -13662,6 +13664,7 @@ class TerraformAsset(
|
|
|
13662
13664
|
bundler=bundler,
|
|
13663
13665
|
exclude=exclude,
|
|
13664
13666
|
extra_hash=extra_hash,
|
|
13667
|
+
ignore_strategy=ignore_strategy,
|
|
13665
13668
|
type=type,
|
|
13666
13669
|
)
|
|
13667
13670
|
|
|
@@ -13723,6 +13726,7 @@ class TerraformAsset(
|
|
|
13723
13726
|
"bundler": "bundler",
|
|
13724
13727
|
"exclude": "exclude",
|
|
13725
13728
|
"extra_hash": "extraHash",
|
|
13729
|
+
"ignore_strategy": "ignoreStrategy",
|
|
13726
13730
|
"type": "type",
|
|
13727
13731
|
},
|
|
13728
13732
|
)
|
|
@@ -13736,6 +13740,7 @@ class TerraformAssetConfig:
|
|
|
13736
13740
|
bundler: typing.Optional["IAssetBundler"] = None,
|
|
13737
13741
|
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
13738
13742
|
extra_hash: typing.Optional[builtins.str] = None,
|
|
13743
|
+
ignore_strategy: typing.Optional["IIgnoreStrategy"] = None,
|
|
13739
13744
|
type: typing.Optional["AssetType"] = None,
|
|
13740
13745
|
) -> None:
|
|
13741
13746
|
'''
|
|
@@ -13743,8 +13748,9 @@ class TerraformAssetConfig:
|
|
|
13743
13748
|
:param asset_hash:
|
|
13744
13749
|
:param asset_hash_type: (experimental) How the ``assetHash`` is derived. ``SOURCE`` (the default) hashes the source path. ``CUSTOM`` uses the ``assetHash`` value verbatim and requires it to be set. ``OUTPUT`` hashes the source too, unless a ``bundler`` is set — then it hashes the bundler's built output, which forces an eager build (see ``bundler``). If ``assetHash`` is set, this must be ``undefined`` or ``AssetHashType.CUSTOM``. Default: AssetHashType.SOURCE
|
|
13745
13750
|
:param bundler: (experimental) A bundler that builds the source into an artifact before staging. Core ships no bundler; implement ``IAssetBundler`` or use one from a bundler package. Under the default ``SOURCE`` hashing the build is deferred to synth and stays skippable; ``OUTPUT`` hashing builds eagerly to hash the artifact. The bundler's output shape must match ``type``. See ``AssetStagingOptions.bundler``. Default: - the source is staged verbatim, with no build step
|
|
13746
|
-
:param exclude: (experimental) Paths to exclude from the asset, relative to ``path``. See ``AssetStagingOptions.exclude`` for the accepted forms. Both the computed hash and the staged/packed content honor the exclusion. Default: - nothing is excluded
|
|
13751
|
+
:param exclude: (experimental) Paths to exclude from the asset, relative to ``path``. See ``AssetStagingOptions.exclude`` for the accepted forms. Both the computed hash and the staged/packed content honor the exclusion. Cannot be combined with ``ignoreStrategy``, which replaces this matcher rather than layering on top of it. Default: - nothing is excluded
|
|
13747
13752
|
:param extra_hash: (experimental) Extra information to fold into the hash (e.g. build instructions and other inputs). Default: - no extra hash
|
|
13753
|
+
:param ignore_strategy: (experimental) Exclusion matching, for callers that need ``.gitignore`` / ``.dockerignore`` parity (including ``!``-negation) rather than the built-in exact-path / suffix / directory matcher. See ``AssetStagingOptions.ignoreStrategy``. ``!``-negation only takes effect if the strategy also sets ``pruneExcludedDirectories: false``; otherwise an excluded directory is pruned before its contents are ever checked against a re-include pattern. See ``IIgnoreStrategy.pruneExcludedDirectories``. Default: - ``exclude`` is used with the built-in matcher
|
|
13748
13754
|
:param type:
|
|
13749
13755
|
|
|
13750
13756
|
:stability: experimental
|
|
@@ -13757,6 +13763,7 @@ class TerraformAssetConfig:
|
|
|
13757
13763
|
check_type(argname="argument bundler", value=bundler, expected_type=type_hints["bundler"])
|
|
13758
13764
|
check_type(argname="argument exclude", value=exclude, expected_type=type_hints["exclude"])
|
|
13759
13765
|
check_type(argname="argument extra_hash", value=extra_hash, expected_type=type_hints["extra_hash"])
|
|
13766
|
+
check_type(argname="argument ignore_strategy", value=ignore_strategy, expected_type=type_hints["ignore_strategy"])
|
|
13760
13767
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
13761
13768
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
13762
13769
|
"path": path,
|
|
@@ -13771,6 +13778,8 @@ class TerraformAssetConfig:
|
|
|
13771
13778
|
self._values["exclude"] = exclude
|
|
13772
13779
|
if extra_hash is not None:
|
|
13773
13780
|
self._values["extra_hash"] = extra_hash
|
|
13781
|
+
if ignore_strategy is not None:
|
|
13782
|
+
self._values["ignore_strategy"] = ignore_strategy
|
|
13774
13783
|
if type is not None:
|
|
13775
13784
|
self._values["type"] = type
|
|
13776
13785
|
|
|
@@ -13832,7 +13841,9 @@ class TerraformAssetConfig:
|
|
|
13832
13841
|
|
|
13833
13842
|
See
|
|
13834
13843
|
``AssetStagingOptions.exclude`` for the accepted forms. Both the computed
|
|
13835
|
-
hash and the staged/packed content honor the exclusion.
|
|
13844
|
+
hash and the staged/packed content honor the exclusion. Cannot be
|
|
13845
|
+
combined with ``ignoreStrategy``, which replaces this matcher rather than
|
|
13846
|
+
layering on top of it.
|
|
13836
13847
|
|
|
13837
13848
|
:default: - nothing is excluded
|
|
13838
13849
|
|
|
@@ -13852,6 +13863,22 @@ class TerraformAssetConfig:
|
|
|
13852
13863
|
result = self._values.get("extra_hash")
|
|
13853
13864
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
13854
13865
|
|
|
13866
|
+
@builtins.property
|
|
13867
|
+
def ignore_strategy(self) -> typing.Optional["IIgnoreStrategy"]:
|
|
13868
|
+
'''(experimental) Exclusion matching, for callers that need ``.gitignore`` / ``.dockerignore`` parity (including ``!``-negation) rather than the built-in exact-path / suffix / directory matcher. See ``AssetStagingOptions.ignoreStrategy``.
|
|
13869
|
+
|
|
13870
|
+
``!``-negation only takes effect if the strategy also sets
|
|
13871
|
+
``pruneExcludedDirectories: false``; otherwise an excluded directory is
|
|
13872
|
+
pruned before its contents are ever checked against a re-include
|
|
13873
|
+
pattern. See ``IIgnoreStrategy.pruneExcludedDirectories``.
|
|
13874
|
+
|
|
13875
|
+
:default: - ``exclude`` is used with the built-in matcher
|
|
13876
|
+
|
|
13877
|
+
:stability: experimental
|
|
13878
|
+
'''
|
|
13879
|
+
result = self._values.get("ignore_strategy")
|
|
13880
|
+
return typing.cast(typing.Optional["IIgnoreStrategy"], result)
|
|
13881
|
+
|
|
13855
13882
|
@builtins.property
|
|
13856
13883
|
def type(self) -> typing.Optional["AssetType"]:
|
|
13857
13884
|
'''
|
|
@@ -32190,6 +32217,7 @@ def _typecheckingstub__6f29998a5dacee0da3977e8d51379662670eb6942990ac7e6e052ab5e
|
|
|
32190
32217
|
bundler: typing.Optional[IAssetBundler] = None,
|
|
32191
32218
|
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
32192
32219
|
extra_hash: typing.Optional[builtins.str] = None,
|
|
32220
|
+
ignore_strategy: typing.Optional[IIgnoreStrategy] = None,
|
|
32193
32221
|
type: typing.Optional[AssetType] = None,
|
|
32194
32222
|
) -> None:
|
|
32195
32223
|
"""Type checking stubs"""
|
|
@@ -32209,6 +32237,7 @@ def _typecheckingstub__e7a613b39a707470fb3fa76a5d5d750aa8285bec8b92786190d69d5b7
|
|
|
32209
32237
|
bundler: typing.Optional[IAssetBundler] = None,
|
|
32210
32238
|
exclude: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
32211
32239
|
extra_hash: typing.Optional[builtins.str] = None,
|
|
32240
|
+
ignore_strategy: typing.Optional[IIgnoreStrategy] = None,
|
|
32212
32241
|
type: typing.Optional[AssetType] = None,
|
|
32213
32242
|
) -> None:
|
|
32214
32243
|
"""Type checking stubs"""
|
|
Binary file
|
|
@@ -11,5 +11,5 @@ src/cdktn.egg-info/dependency_links.txt
|
|
|
11
11
|
src/cdktn.egg-info/requires.txt
|
|
12
12
|
src/cdktn.egg-info/top_level.txt
|
|
13
13
|
src/cdktn/_jsii/__init__.py
|
|
14
|
-
src/cdktn/_jsii/cdktn@0.25.0-pre.
|
|
14
|
+
src/cdktn/_jsii/cdktn@0.25.0-pre.52.jsii.tgz
|
|
15
15
|
src/cdktn/testing_matchers/__init__.py
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|