cloudstructs 0.9.21__tar.gz → 0.9.22__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.
- {cloudstructs-0.9.21/src/cloudstructs.egg-info → cloudstructs-0.9.22}/PKG-INFO +1 -1
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/setup.py +2 -2
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs/__init__.py +20 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs/_jsii/__init__.py +1 -1
- cloudstructs-0.9.22/src/cloudstructs/_jsii/cloudstructs@0.9.22.jsii.tgz +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22/src/cloudstructs.egg-info}/PKG-INFO +1 -1
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs.egg-info/SOURCES.txt +1 -1
- cloudstructs-0.9.21/src/cloudstructs/_jsii/cloudstructs@0.9.21.jsii.tgz +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/LICENSE +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/MANIFEST.in +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/README.md +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/pyproject.toml +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/setup.cfg +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs/py.typed +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs.egg-info/dependency_links.txt +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs.egg-info/requires.txt +0 -0
- {cloudstructs-0.9.21 → cloudstructs-0.9.22}/src/cloudstructs.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "cloudstructs",
|
|
8
|
-
"version": "0.9.
|
|
8
|
+
"version": "0.9.22",
|
|
9
9
|
"description": "High-level constructs for AWS CDK",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/jogold/cloudstructs.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"cloudstructs._jsii": [
|
|
29
|
-
"cloudstructs@0.9.
|
|
29
|
+
"cloudstructs@0.9.22.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudstructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -3391,6 +3391,7 @@ class ToolkitCleaner(
|
|
|
3391
3391
|
scope: _constructs_77d1e7e8.Construct,
|
|
3392
3392
|
id: builtins.str,
|
|
3393
3393
|
*,
|
|
3394
|
+
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3394
3395
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
3395
3396
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3396
3397
|
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
@@ -3399,6 +3400,7 @@ class ToolkitCleaner(
|
|
|
3399
3400
|
'''
|
|
3400
3401
|
:param scope: -
|
|
3401
3402
|
:param id: -
|
|
3403
|
+
:param clean_assets_timeout: The timeout for the Lambda functions that clean assets. Default: Duration.minutes(5)
|
|
3402
3404
|
:param dry_run: Only output number of assets and total size that would be deleted but without actually deleting assets.
|
|
3403
3405
|
:param retain_assets_newer_than: Retain unused assets that were created recently. Default: - all unused assets are removed
|
|
3404
3406
|
:param schedule: The schedule for the cleaner. Default: - every day
|
|
@@ -3409,6 +3411,7 @@ class ToolkitCleaner(
|
|
|
3409
3411
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
3410
3412
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
3411
3413
|
props = ToolkitCleanerProps(
|
|
3414
|
+
clean_assets_timeout=clean_assets_timeout,
|
|
3412
3415
|
dry_run=dry_run,
|
|
3413
3416
|
retain_assets_newer_than=retain_assets_newer_than,
|
|
3414
3417
|
schedule=schedule,
|
|
@@ -3422,6 +3425,7 @@ class ToolkitCleaner(
|
|
|
3422
3425
|
jsii_type="cloudstructs.ToolkitCleanerProps",
|
|
3423
3426
|
jsii_struct_bases=[],
|
|
3424
3427
|
name_mapping={
|
|
3428
|
+
"clean_assets_timeout": "cleanAssetsTimeout",
|
|
3425
3429
|
"dry_run": "dryRun",
|
|
3426
3430
|
"retain_assets_newer_than": "retainAssetsNewerThan",
|
|
3427
3431
|
"schedule": "schedule",
|
|
@@ -3432,6 +3436,7 @@ class ToolkitCleanerProps:
|
|
|
3432
3436
|
def __init__(
|
|
3433
3437
|
self,
|
|
3434
3438
|
*,
|
|
3439
|
+
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3435
3440
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
3436
3441
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3437
3442
|
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
@@ -3439,6 +3444,7 @@ class ToolkitCleanerProps:
|
|
|
3439
3444
|
) -> None:
|
|
3440
3445
|
'''Properties for a ToolkitCleaner.
|
|
3441
3446
|
|
|
3447
|
+
:param clean_assets_timeout: The timeout for the Lambda functions that clean assets. Default: Duration.minutes(5)
|
|
3442
3448
|
:param dry_run: Only output number of assets and total size that would be deleted but without actually deleting assets.
|
|
3443
3449
|
:param retain_assets_newer_than: Retain unused assets that were created recently. Default: - all unused assets are removed
|
|
3444
3450
|
:param schedule: The schedule for the cleaner. Default: - every day
|
|
@@ -3446,11 +3452,14 @@ class ToolkitCleanerProps:
|
|
|
3446
3452
|
'''
|
|
3447
3453
|
if __debug__:
|
|
3448
3454
|
type_hints = typing.get_type_hints(_typecheckingstub__72a9c40653a5bdf69499b5627cdaf6eb4c23945c6111027ebe1d6a9b524f87d3)
|
|
3455
|
+
check_type(argname="argument clean_assets_timeout", value=clean_assets_timeout, expected_type=type_hints["clean_assets_timeout"])
|
|
3449
3456
|
check_type(argname="argument dry_run", value=dry_run, expected_type=type_hints["dry_run"])
|
|
3450
3457
|
check_type(argname="argument retain_assets_newer_than", value=retain_assets_newer_than, expected_type=type_hints["retain_assets_newer_than"])
|
|
3451
3458
|
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
3452
3459
|
check_type(argname="argument schedule_enabled", value=schedule_enabled, expected_type=type_hints["schedule_enabled"])
|
|
3453
3460
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3461
|
+
if clean_assets_timeout is not None:
|
|
3462
|
+
self._values["clean_assets_timeout"] = clean_assets_timeout
|
|
3454
3463
|
if dry_run is not None:
|
|
3455
3464
|
self._values["dry_run"] = dry_run
|
|
3456
3465
|
if retain_assets_newer_than is not None:
|
|
@@ -3460,6 +3469,15 @@ class ToolkitCleanerProps:
|
|
|
3460
3469
|
if schedule_enabled is not None:
|
|
3461
3470
|
self._values["schedule_enabled"] = schedule_enabled
|
|
3462
3471
|
|
|
3472
|
+
@builtins.property
|
|
3473
|
+
def clean_assets_timeout(self) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
3474
|
+
'''The timeout for the Lambda functions that clean assets.
|
|
3475
|
+
|
|
3476
|
+
:default: Duration.minutes(5)
|
|
3477
|
+
'''
|
|
3478
|
+
result = self._values.get("clean_assets_timeout")
|
|
3479
|
+
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
3480
|
+
|
|
3463
3481
|
@builtins.property
|
|
3464
3482
|
def dry_run(self) -> typing.Optional[builtins.bool]:
|
|
3465
3483
|
'''Only output number of assets and total size that would be deleted but without actually deleting assets.'''
|
|
@@ -4239,6 +4257,7 @@ def _typecheckingstub__00fb1018addaa6fbbee6e44dc96b9421d79e37fba0a61f552b58d39e4
|
|
|
4239
4257
|
scope: _constructs_77d1e7e8.Construct,
|
|
4240
4258
|
id: builtins.str,
|
|
4241
4259
|
*,
|
|
4260
|
+
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4242
4261
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
4243
4262
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4244
4263
|
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
@@ -4249,6 +4268,7 @@ def _typecheckingstub__00fb1018addaa6fbbee6e44dc96b9421d79e37fba0a61f552b58d39e4
|
|
|
4249
4268
|
|
|
4250
4269
|
def _typecheckingstub__72a9c40653a5bdf69499b5627cdaf6eb4c23945c6111027ebe1d6a9b524f87d3(
|
|
4251
4270
|
*,
|
|
4271
|
+
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4252
4272
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
4253
4273
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4254
4274
|
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
@@ -32,7 +32,7 @@ import aws_cdk._jsii
|
|
|
32
32
|
import constructs._jsii
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
|
-
"cloudstructs", "0.9.
|
|
35
|
+
"cloudstructs", "0.9.22", __name__[0:-6], "cloudstructs@0.9.22.jsii.tgz"
|
|
36
36
|
)
|
|
37
37
|
|
|
38
38
|
__all__ = [
|
|
Binary file
|
|
@@ -11,4 +11,4 @@ src/cloudstructs.egg-info/dependency_links.txt
|
|
|
11
11
|
src/cloudstructs.egg-info/requires.txt
|
|
12
12
|
src/cloudstructs.egg-info/top_level.txt
|
|
13
13
|
src/cloudstructs/_jsii/__init__.py
|
|
14
|
-
src/cloudstructs/_jsii/cloudstructs@0.9.
|
|
14
|
+
src/cloudstructs/_jsii/cloudstructs@0.9.22.jsii.tgz
|
|
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
|