cloudstructs 0.10.0__tar.gz → 0.11.0__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.10.0/src/cloudstructs.egg-info → cloudstructs-0.11.0}/PKG-INFO +1 -1
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/setup.py +2 -2
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs/__init__.py +26 -24
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs/_jsii/__init__.py +1 -1
- cloudstructs-0.10.0/src/cloudstructs/_jsii/cloudstructs@0.10.0.jsii.tgz → cloudstructs-0.11.0/src/cloudstructs/_jsii/cloudstructs@0.11.0.jsii.tgz +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0/src/cloudstructs.egg-info}/PKG-INFO +1 -1
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs.egg-info/SOURCES.txt +1 -1
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/LICENSE +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/MANIFEST.in +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/README.md +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/pyproject.toml +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/setup.cfg +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs/py.typed +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs.egg-info/dependency_links.txt +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/src/cloudstructs.egg-info/requires.txt +0 -0
- {cloudstructs-0.10.0 → cloudstructs-0.11.0}/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.
|
|
8
|
+
"version": "0.11.0",
|
|
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.
|
|
29
|
+
"cloudstructs@0.11.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"cloudstructs": [
|
|
32
32
|
"py.typed"
|
|
@@ -3427,17 +3427,17 @@ class ToolkitCleaner(
|
|
|
3427
3427
|
clean_assets_timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3428
3428
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
3429
3429
|
retain_assets_newer_than: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3430
|
-
schedule: typing.Optional["_aws_cdk_aws_events_ceddda9d.Schedule"] = None,
|
|
3431
3430
|
schedule_enabled: typing.Optional[builtins.bool] = None,
|
|
3431
|
+
schedule_expression: typing.Optional["_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression"] = None,
|
|
3432
3432
|
) -> None:
|
|
3433
3433
|
'''
|
|
3434
3434
|
:param scope: -
|
|
3435
3435
|
:param id: -
|
|
3436
|
-
:param clean_assets_timeout: The timeout for the
|
|
3436
|
+
:param clean_assets_timeout: The timeout for the clean function. Default: Duration.minutes(30)
|
|
3437
3437
|
:param dry_run: Only output number of assets and total size that would be deleted but without actually deleting assets.
|
|
3438
3438
|
:param retain_assets_newer_than: Retain unused assets that were created recently. Default: - all unused assets are removed
|
|
3439
|
-
:param schedule: The schedule for the cleaner. Default: - every day
|
|
3440
3439
|
:param schedule_enabled: Whether to clean on schedule. If you'd like to run the cleanup manually via the console, set to ``false``. Default: true
|
|
3440
|
+
:param schedule_expression: The schedule for the cleaner. Default: - every day
|
|
3441
3441
|
'''
|
|
3442
3442
|
if __debug__:
|
|
3443
3443
|
type_hints = typing.get_type_hints(_typecheckingstub__00fb1018addaa6fbbee6e44dc96b9421d79e37fba0a61f552b58d39e4f614888)
|
|
@@ -3447,8 +3447,8 @@ class ToolkitCleaner(
|
|
|
3447
3447
|
clean_assets_timeout=clean_assets_timeout,
|
|
3448
3448
|
dry_run=dry_run,
|
|
3449
3449
|
retain_assets_newer_than=retain_assets_newer_than,
|
|
3450
|
-
schedule=schedule,
|
|
3451
3450
|
schedule_enabled=schedule_enabled,
|
|
3451
|
+
schedule_expression=schedule_expression,
|
|
3452
3452
|
)
|
|
3453
3453
|
|
|
3454
3454
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
@@ -3461,8 +3461,8 @@ class ToolkitCleaner(
|
|
|
3461
3461
|
"clean_assets_timeout": "cleanAssetsTimeout",
|
|
3462
3462
|
"dry_run": "dryRun",
|
|
3463
3463
|
"retain_assets_newer_than": "retainAssetsNewerThan",
|
|
3464
|
-
"schedule": "schedule",
|
|
3465
3464
|
"schedule_enabled": "scheduleEnabled",
|
|
3465
|
+
"schedule_expression": "scheduleExpression",
|
|
3466
3466
|
},
|
|
3467
3467
|
)
|
|
3468
3468
|
class ToolkitCleanerProps:
|
|
@@ -3472,24 +3472,24 @@ class ToolkitCleanerProps:
|
|
|
3472
3472
|
clean_assets_timeout: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3473
3473
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
3474
3474
|
retain_assets_newer_than: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3475
|
-
schedule: typing.Optional["_aws_cdk_aws_events_ceddda9d.Schedule"] = None,
|
|
3476
3475
|
schedule_enabled: typing.Optional[builtins.bool] = None,
|
|
3476
|
+
schedule_expression: typing.Optional["_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression"] = None,
|
|
3477
3477
|
) -> None:
|
|
3478
3478
|
'''Properties for a ToolkitCleaner.
|
|
3479
3479
|
|
|
3480
|
-
:param clean_assets_timeout: The timeout for the
|
|
3480
|
+
:param clean_assets_timeout: The timeout for the clean function. Default: Duration.minutes(30)
|
|
3481
3481
|
:param dry_run: Only output number of assets and total size that would be deleted but without actually deleting assets.
|
|
3482
3482
|
:param retain_assets_newer_than: Retain unused assets that were created recently. Default: - all unused assets are removed
|
|
3483
|
-
:param schedule: The schedule for the cleaner. Default: - every day
|
|
3484
3483
|
:param schedule_enabled: Whether to clean on schedule. If you'd like to run the cleanup manually via the console, set to ``false``. Default: true
|
|
3484
|
+
:param schedule_expression: The schedule for the cleaner. Default: - every day
|
|
3485
3485
|
'''
|
|
3486
3486
|
if __debug__:
|
|
3487
3487
|
type_hints = typing.get_type_hints(_typecheckingstub__72a9c40653a5bdf69499b5627cdaf6eb4c23945c6111027ebe1d6a9b524f87d3)
|
|
3488
3488
|
check_type(argname="argument clean_assets_timeout", value=clean_assets_timeout, expected_type=type_hints["clean_assets_timeout"])
|
|
3489
3489
|
check_type(argname="argument dry_run", value=dry_run, expected_type=type_hints["dry_run"])
|
|
3490
3490
|
check_type(argname="argument retain_assets_newer_than", value=retain_assets_newer_than, expected_type=type_hints["retain_assets_newer_than"])
|
|
3491
|
-
check_type(argname="argument schedule", value=schedule, expected_type=type_hints["schedule"])
|
|
3492
3491
|
check_type(argname="argument schedule_enabled", value=schedule_enabled, expected_type=type_hints["schedule_enabled"])
|
|
3492
|
+
check_type(argname="argument schedule_expression", value=schedule_expression, expected_type=type_hints["schedule_expression"])
|
|
3493
3493
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3494
3494
|
if clean_assets_timeout is not None:
|
|
3495
3495
|
self._values["clean_assets_timeout"] = clean_assets_timeout
|
|
@@ -3497,16 +3497,16 @@ class ToolkitCleanerProps:
|
|
|
3497
3497
|
self._values["dry_run"] = dry_run
|
|
3498
3498
|
if retain_assets_newer_than is not None:
|
|
3499
3499
|
self._values["retain_assets_newer_than"] = retain_assets_newer_than
|
|
3500
|
-
if schedule is not None:
|
|
3501
|
-
self._values["schedule"] = schedule
|
|
3502
3500
|
if schedule_enabled is not None:
|
|
3503
3501
|
self._values["schedule_enabled"] = schedule_enabled
|
|
3502
|
+
if schedule_expression is not None:
|
|
3503
|
+
self._values["schedule_expression"] = schedule_expression
|
|
3504
3504
|
|
|
3505
3505
|
@builtins.property
|
|
3506
3506
|
def clean_assets_timeout(self) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
3507
|
-
'''The timeout for the
|
|
3507
|
+
'''The timeout for the clean function.
|
|
3508
3508
|
|
|
3509
|
-
:default: Duration.minutes(
|
|
3509
|
+
:default: Duration.minutes(30)
|
|
3510
3510
|
'''
|
|
3511
3511
|
result = self._values.get("clean_assets_timeout")
|
|
3512
3512
|
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
@@ -3526,15 +3526,6 @@ class ToolkitCleanerProps:
|
|
|
3526
3526
|
result = self._values.get("retain_assets_newer_than")
|
|
3527
3527
|
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
3528
3528
|
|
|
3529
|
-
@builtins.property
|
|
3530
|
-
def schedule(self) -> typing.Optional["_aws_cdk_aws_events_ceddda9d.Schedule"]:
|
|
3531
|
-
'''The schedule for the cleaner.
|
|
3532
|
-
|
|
3533
|
-
:default: - every day
|
|
3534
|
-
'''
|
|
3535
|
-
result = self._values.get("schedule")
|
|
3536
|
-
return typing.cast(typing.Optional["_aws_cdk_aws_events_ceddda9d.Schedule"], result)
|
|
3537
|
-
|
|
3538
3529
|
@builtins.property
|
|
3539
3530
|
def schedule_enabled(self) -> typing.Optional[builtins.bool]:
|
|
3540
3531
|
'''Whether to clean on schedule.
|
|
@@ -3547,6 +3538,17 @@ class ToolkitCleanerProps:
|
|
|
3547
3538
|
result = self._values.get("schedule_enabled")
|
|
3548
3539
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
3549
3540
|
|
|
3541
|
+
@builtins.property
|
|
3542
|
+
def schedule_expression(
|
|
3543
|
+
self,
|
|
3544
|
+
) -> typing.Optional["_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression"]:
|
|
3545
|
+
'''The schedule for the cleaner.
|
|
3546
|
+
|
|
3547
|
+
:default: - every day
|
|
3548
|
+
'''
|
|
3549
|
+
result = self._values.get("schedule_expression")
|
|
3550
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression"], result)
|
|
3551
|
+
|
|
3550
3552
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3551
3553
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
3552
3554
|
|
|
@@ -4295,8 +4297,8 @@ def _typecheckingstub__00fb1018addaa6fbbee6e44dc96b9421d79e37fba0a61f552b58d39e4
|
|
|
4295
4297
|
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4296
4298
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
4297
4299
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4298
|
-
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
4299
4300
|
schedule_enabled: typing.Optional[builtins.bool] = None,
|
|
4301
|
+
schedule_expression: typing.Optional[_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression] = None,
|
|
4300
4302
|
) -> None:
|
|
4301
4303
|
"""Type checking stubs"""
|
|
4302
4304
|
pass
|
|
@@ -4306,8 +4308,8 @@ def _typecheckingstub__72a9c40653a5bdf69499b5627cdaf6eb4c23945c6111027ebe1d6a9b5
|
|
|
4306
4308
|
clean_assets_timeout: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4307
4309
|
dry_run: typing.Optional[builtins.bool] = None,
|
|
4308
4310
|
retain_assets_newer_than: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
4309
|
-
schedule: typing.Optional[_aws_cdk_aws_events_ceddda9d.Schedule] = None,
|
|
4310
4311
|
schedule_enabled: typing.Optional[builtins.bool] = None,
|
|
4312
|
+
schedule_expression: typing.Optional[_aws_cdk_aws_scheduler_ceddda9d.ScheduleExpression] = None,
|
|
4311
4313
|
) -> None:
|
|
4312
4314
|
"""Type checking stubs"""
|
|
4313
4315
|
pass
|
|
@@ -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.
|
|
35
|
+
"cloudstructs", "0.11.0", __name__[0:-6], "cloudstructs@0.11.0.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.
|
|
14
|
+
src/cloudstructs/_jsii/cloudstructs@0.11.0.jsii.tgz
|
|
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
|