aws-cdk.app-staging-synthesizer-alpha 2.232.1a0__tar.gz → 2.234.0a0__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.
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/LICENSE +1 -1
- aws_cdk_app_staging_synthesizer_alpha-2.234.0a0/NOTICE +2 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0/src/aws_cdk.app_staging_synthesizer_alpha.egg-info → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/PKG-INFO +6 -3
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/README.md +3 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/setup.py +4 -4
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/__init__.py +146 -138
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py +2 -2
- aws_cdk_app_staging_synthesizer_alpha-2.234.0a0/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.234.0-alpha.0.jsii.tgz +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0/src/aws_cdk.app_staging_synthesizer_alpha.egg-info}/PKG-INFO +6 -3
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/SOURCES.txt +1 -1
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/requires.txt +2 -2
- aws_cdk_app_staging_synthesizer_alpha-2.232.1a0/NOTICE +0 -2
- aws_cdk_app_staging_synthesizer_alpha-2.232.1a0/src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.232.1-alpha.0.jsii.tgz +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/MANIFEST.in +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/pyproject.toml +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/setup.cfg +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk/app_staging_synthesizer_alpha/py.typed +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/dependency_links.txt +0 -0
- {aws_cdk_app_staging_synthesizer_alpha-2.232.1a0 → aws_cdk_app_staging_synthesizer_alpha-2.234.0a0}/src/aws_cdk.app_staging_synthesizer_alpha.egg-info/top_level.txt +0 -0
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2018-
|
|
189
|
+
Copyright 2018-2026 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.app-staging-synthesizer-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.234.0a0
|
|
4
4
|
Summary: Cdk synthesizer for with app-scoped staging stack
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: NOTICE
|
|
25
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
25
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.234.0
|
|
26
26
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
27
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
27
|
+
Requires-Dist: jsii<2.0.0,>=1.125.0
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard==2.13.3
|
|
30
30
|
|
|
@@ -365,6 +365,9 @@ class CustomStagingStack(DefaultStagingStack):
|
|
|
365
365
|
Or you can roll your own staging resources from scratch, as long as it implements `IStagingResources`.
|
|
366
366
|
|
|
367
367
|
```python
|
|
368
|
+
from aws_cdk.app_staging_synthesizer_alpha import FileStagingLocation, ImageStagingLocation
|
|
369
|
+
|
|
370
|
+
|
|
368
371
|
@jsii.implements(IStagingResources)
|
|
369
372
|
class CustomStagingStack(Stack):
|
|
370
373
|
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
@@ -335,6 +335,9 @@ class CustomStagingStack(DefaultStagingStack):
|
|
|
335
335
|
Or you can roll your own staging resources from scratch, as long as it implements `IStagingResources`.
|
|
336
336
|
|
|
337
337
|
```python
|
|
338
|
+
from aws_cdk.app_staging_synthesizer_alpha import FileStagingLocation, ImageStagingLocation
|
|
339
|
+
|
|
340
|
+
|
|
338
341
|
@jsii.implements(IStagingResources)
|
|
339
342
|
class CustomStagingStack(Stack):
|
|
340
343
|
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "aws-cdk.app-staging-synthesizer-alpha",
|
|
8
|
-
"version": "2.
|
|
8
|
+
"version": "2.234.0.a0",
|
|
9
9
|
"description": "Cdk synthesizer for with app-scoped staging stack",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/aws/aws-cdk",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"aws_cdk.app_staging_synthesizer_alpha._jsii": [
|
|
29
|
-
"app-staging-synthesizer-alpha@2.
|
|
29
|
+
"app-staging-synthesizer-alpha@2.234.0-alpha.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"aws_cdk.app_staging_synthesizer_alpha": [
|
|
32
32
|
"py.typed"
|
|
@@ -34,9 +34,9 @@ kwargs = json.loads(
|
|
|
34
34
|
},
|
|
35
35
|
"python_requires": "~=3.9",
|
|
36
36
|
"install_requires": [
|
|
37
|
-
"aws-cdk-lib>=2.
|
|
37
|
+
"aws-cdk-lib>=2.234.0, <3.0.0",
|
|
38
38
|
"constructs>=10.0.0, <11.0.0",
|
|
39
|
-
"jsii>=1.
|
|
39
|
+
"jsii>=1.125.0, <2.0.0",
|
|
40
40
|
"publication>=0.0.3",
|
|
41
41
|
"typeguard==2.13.3"
|
|
42
42
|
],
|
|
@@ -336,6 +336,9 @@ class CustomStagingStack(DefaultStagingStack):
|
|
|
336
336
|
Or you can roll your own staging resources from scratch, as long as it implements `IStagingResources`.
|
|
337
337
|
|
|
338
338
|
```python
|
|
339
|
+
from aws_cdk.app_staging_synthesizer_alpha import FileStagingLocation, ImageStagingLocation
|
|
340
|
+
|
|
341
|
+
|
|
339
342
|
@jsii.implements(IStagingResources)
|
|
340
343
|
class CustomStagingStack(Stack):
|
|
341
344
|
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
@@ -539,9 +542,9 @@ class AppStagingSynthesizer(
|
|
|
539
542
|
bootstrap_qualifier: typing.Optional[builtins.str] = None,
|
|
540
543
|
deployment_identities: typing.Optional["DeploymentIdentities"] = None,
|
|
541
544
|
app_id: builtins.str,
|
|
542
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
545
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
543
546
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
544
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
547
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
545
548
|
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
546
549
|
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
547
550
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
@@ -593,14 +596,14 @@ class AppStagingSynthesizer(
|
|
|
593
596
|
docker_build_ssh: typing.Optional[builtins.str] = None,
|
|
594
597
|
docker_build_target: typing.Optional[builtins.str] = None,
|
|
595
598
|
docker_cache_disabled: typing.Optional[builtins.bool] = None,
|
|
596
|
-
docker_cache_from: typing.Optional[typing.Sequence[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
597
|
-
docker_cache_to: typing.Optional[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
599
|
+
docker_cache_from: typing.Optional[typing.Sequence[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
600
|
+
docker_cache_to: typing.Optional[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
598
601
|
docker_file: typing.Optional[builtins.str] = None,
|
|
599
602
|
docker_outputs: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
600
603
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
601
604
|
network_mode: typing.Optional[builtins.str] = None,
|
|
602
605
|
platform: typing.Optional[builtins.str] = None,
|
|
603
|
-
) -> _aws_cdk_ceddda9d.DockerImageAssetLocation:
|
|
606
|
+
) -> "_aws_cdk_ceddda9d.DockerImageAssetLocation":
|
|
604
607
|
'''(experimental) Implemented for legacy purposes;
|
|
605
608
|
|
|
606
609
|
this will never be called.
|
|
@@ -643,7 +646,7 @@ class AppStagingSynthesizer(
|
|
|
643
646
|
platform=platform,
|
|
644
647
|
)
|
|
645
648
|
|
|
646
|
-
return typing.cast(_aws_cdk_ceddda9d.DockerImageAssetLocation, jsii.invoke(self, "addDockerImageAsset", [_asset]))
|
|
649
|
+
return typing.cast("_aws_cdk_ceddda9d.DockerImageAssetLocation", jsii.invoke(self, "addDockerImageAsset", [_asset]))
|
|
647
650
|
|
|
648
651
|
@jsii.member(jsii_name="addFileAsset")
|
|
649
652
|
def add_file_asset(
|
|
@@ -654,8 +657,8 @@ class AppStagingSynthesizer(
|
|
|
654
657
|
display_name: typing.Optional[builtins.str] = None,
|
|
655
658
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
656
659
|
file_name: typing.Optional[builtins.str] = None,
|
|
657
|
-
packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
|
|
658
|
-
) -> _aws_cdk_ceddda9d.FileAssetLocation:
|
|
660
|
+
packaging: typing.Optional["_aws_cdk_ceddda9d.FileAssetPackaging"] = None,
|
|
661
|
+
) -> "_aws_cdk_ceddda9d.FileAssetLocation":
|
|
659
662
|
'''(experimental) Implemented for legacy purposes;
|
|
660
663
|
|
|
661
664
|
this will never be called.
|
|
@@ -678,10 +681,10 @@ class AppStagingSynthesizer(
|
|
|
678
681
|
packaging=packaging,
|
|
679
682
|
)
|
|
680
683
|
|
|
681
|
-
return typing.cast(_aws_cdk_ceddda9d.FileAssetLocation, jsii.invoke(self, "addFileAsset", [_asset]))
|
|
684
|
+
return typing.cast("_aws_cdk_ceddda9d.FileAssetLocation", jsii.invoke(self, "addFileAsset", [_asset]))
|
|
682
685
|
|
|
683
686
|
@jsii.member(jsii_name="bind")
|
|
684
|
-
def bind(self, _stack: _aws_cdk_ceddda9d.Stack) -> None:
|
|
687
|
+
def bind(self, _stack: "_aws_cdk_ceddda9d.Stack") -> None:
|
|
685
688
|
'''(experimental) Implemented for legacy purposes;
|
|
686
689
|
|
|
687
690
|
this will never be called.
|
|
@@ -698,8 +701,8 @@ class AppStagingSynthesizer(
|
|
|
698
701
|
@jsii.member(jsii_name="reusableBind")
|
|
699
702
|
def reusable_bind(
|
|
700
703
|
self,
|
|
701
|
-
stack: _aws_cdk_ceddda9d.Stack,
|
|
702
|
-
) -> _aws_cdk_ceddda9d.IBoundStackSynthesizer:
|
|
704
|
+
stack: "_aws_cdk_ceddda9d.Stack",
|
|
705
|
+
) -> "_aws_cdk_ceddda9d.IBoundStackSynthesizer":
|
|
703
706
|
'''(experimental) Returns a version of the synthesizer bound to a stack.
|
|
704
707
|
|
|
705
708
|
:param stack: -
|
|
@@ -709,10 +712,10 @@ class AppStagingSynthesizer(
|
|
|
709
712
|
if __debug__:
|
|
710
713
|
type_hints = typing.get_type_hints(_typecheckingstub__459a43a0e219bcfa7acb8fb227bd72f30f82856a9f03031cf7bdb5fa56b9c968)
|
|
711
714
|
check_type(argname="argument stack", value=stack, expected_type=type_hints["stack"])
|
|
712
|
-
return typing.cast(_aws_cdk_ceddda9d.IBoundStackSynthesizer, jsii.invoke(self, "reusableBind", [stack]))
|
|
715
|
+
return typing.cast("_aws_cdk_ceddda9d.IBoundStackSynthesizer", jsii.invoke(self, "reusableBind", [stack]))
|
|
713
716
|
|
|
714
717
|
@jsii.member(jsii_name="synthesize")
|
|
715
|
-
def synthesize(self, _session: _aws_cdk_ceddda9d.ISynthesisSession) -> None:
|
|
718
|
+
def synthesize(self, _session: "_aws_cdk_ceddda9d.ISynthesisSession") -> None:
|
|
716
719
|
'''(experimental) Implemented for legacy purposes;
|
|
717
720
|
|
|
718
721
|
this will never be called.
|
|
@@ -927,9 +930,9 @@ class BootstrapRoles:
|
|
|
927
930
|
def __init__(
|
|
928
931
|
self,
|
|
929
932
|
*,
|
|
930
|
-
cloud_formation_execution_role: typing.Optional[BootstrapRole] = None,
|
|
931
|
-
deployment_role: typing.Optional[BootstrapRole] = None,
|
|
932
|
-
lookup_role: typing.Optional[BootstrapRole] = None,
|
|
933
|
+
cloud_formation_execution_role: typing.Optional["BootstrapRole"] = None,
|
|
934
|
+
deployment_role: typing.Optional["BootstrapRole"] = None,
|
|
935
|
+
lookup_role: typing.Optional["BootstrapRole"] = None,
|
|
933
936
|
) -> None:
|
|
934
937
|
'''(experimental) Roles that are bootstrapped to your account.
|
|
935
938
|
|
|
@@ -971,7 +974,7 @@ class BootstrapRoles:
|
|
|
971
974
|
self._values["lookup_role"] = lookup_role
|
|
972
975
|
|
|
973
976
|
@builtins.property
|
|
974
|
-
def cloud_formation_execution_role(self) -> typing.Optional[BootstrapRole]:
|
|
977
|
+
def cloud_formation_execution_role(self) -> typing.Optional["BootstrapRole"]:
|
|
975
978
|
'''(experimental) CloudFormation Execution Role.
|
|
976
979
|
|
|
977
980
|
:default: - use bootstrapped role
|
|
@@ -979,10 +982,10 @@ class BootstrapRoles:
|
|
|
979
982
|
:stability: experimental
|
|
980
983
|
'''
|
|
981
984
|
result = self._values.get("cloud_formation_execution_role")
|
|
982
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
985
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
983
986
|
|
|
984
987
|
@builtins.property
|
|
985
|
-
def deployment_role(self) -> typing.Optional[BootstrapRole]:
|
|
988
|
+
def deployment_role(self) -> typing.Optional["BootstrapRole"]:
|
|
986
989
|
'''(experimental) Deployment Action Role.
|
|
987
990
|
|
|
988
991
|
:default: - use boostrapped role
|
|
@@ -990,10 +993,10 @@ class BootstrapRoles:
|
|
|
990
993
|
:stability: experimental
|
|
991
994
|
'''
|
|
992
995
|
result = self._values.get("deployment_role")
|
|
993
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
996
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
994
997
|
|
|
995
998
|
@builtins.property
|
|
996
|
-
def lookup_role(self) -> typing.Optional[BootstrapRole]:
|
|
999
|
+
def lookup_role(self) -> typing.Optional["BootstrapRole"]:
|
|
997
1000
|
'''(experimental) Lookup Role.
|
|
998
1001
|
|
|
999
1002
|
:default: - use bootstrapped role
|
|
@@ -1001,7 +1004,7 @@ class BootstrapRoles:
|
|
|
1001
1004
|
:stability: experimental
|
|
1002
1005
|
'''
|
|
1003
1006
|
result = self._values.get("lookup_role")
|
|
1004
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
1007
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
1005
1008
|
|
|
1006
1009
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1007
1010
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -1329,11 +1332,11 @@ class DefaultStagingStackOptions:
|
|
|
1329
1332
|
self,
|
|
1330
1333
|
*,
|
|
1331
1334
|
app_id: builtins.str,
|
|
1332
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
1335
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
1333
1336
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
1334
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
1335
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
1336
|
-
image_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
1337
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
1338
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
1339
|
+
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
1337
1340
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
1338
1341
|
staging_bucket_name: typing.Optional[builtins.str] = None,
|
|
1339
1342
|
staging_stack_name_prefix: typing.Optional[builtins.str] = None,
|
|
@@ -1406,7 +1409,7 @@ class DefaultStagingStackOptions:
|
|
|
1406
1409
|
return typing.cast(builtins.str, result)
|
|
1407
1410
|
|
|
1408
1411
|
@builtins.property
|
|
1409
|
-
def staging_bucket_encryption(self) -> _aws_cdk_aws_s3_ceddda9d.BucketEncryption:
|
|
1412
|
+
def staging_bucket_encryption(self) -> "_aws_cdk_aws_s3_ceddda9d.BucketEncryption":
|
|
1410
1413
|
'''(experimental) Encryption type for staging bucket.
|
|
1411
1414
|
|
|
1412
1415
|
In future versions of this package, the default will be BucketEncryption.S3_MANAGED.
|
|
@@ -1424,7 +1427,7 @@ class DefaultStagingStackOptions:
|
|
|
1424
1427
|
'''
|
|
1425
1428
|
result = self._values.get("staging_bucket_encryption")
|
|
1426
1429
|
assert result is not None, "Required property 'staging_bucket_encryption' is missing"
|
|
1427
|
-
return typing.cast(_aws_cdk_aws_s3_ceddda9d.BucketEncryption, result)
|
|
1430
|
+
return typing.cast("_aws_cdk_aws_s3_ceddda9d.BucketEncryption", result)
|
|
1428
1431
|
|
|
1429
1432
|
@builtins.property
|
|
1430
1433
|
def auto_delete_staging_assets(self) -> typing.Optional[builtins.bool]:
|
|
@@ -1440,7 +1443,7 @@ class DefaultStagingStackOptions:
|
|
|
1440
1443
|
@builtins.property
|
|
1441
1444
|
def deploy_time_file_asset_lifetime(
|
|
1442
1445
|
self,
|
|
1443
|
-
) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1446
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
1444
1447
|
'''(experimental) The lifetime for deploy time file assets.
|
|
1445
1448
|
|
|
1446
1449
|
Assets that are only necessary at deployment time (for instance,
|
|
@@ -1458,10 +1461,10 @@ class DefaultStagingStackOptions:
|
|
|
1458
1461
|
:stability: experimental
|
|
1459
1462
|
'''
|
|
1460
1463
|
result = self._values.get("deploy_time_file_asset_lifetime")
|
|
1461
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
1464
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
1462
1465
|
|
|
1463
1466
|
@builtins.property
|
|
1464
|
-
def file_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
1467
|
+
def file_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
1465
1468
|
'''(experimental) Pass in an existing role to be used as the file publishing role.
|
|
1466
1469
|
|
|
1467
1470
|
:default: - a new role will be created
|
|
@@ -1469,10 +1472,10 @@ class DefaultStagingStackOptions:
|
|
|
1469
1472
|
:stability: experimental
|
|
1470
1473
|
'''
|
|
1471
1474
|
result = self._values.get("file_asset_publishing_role")
|
|
1472
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
1475
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
1473
1476
|
|
|
1474
1477
|
@builtins.property
|
|
1475
|
-
def image_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
1478
|
+
def image_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
1476
1479
|
'''(experimental) Pass in an existing role to be used as the image publishing role.
|
|
1477
1480
|
|
|
1478
1481
|
:default: - a new role will be created
|
|
@@ -1480,7 +1483,7 @@ class DefaultStagingStackOptions:
|
|
|
1480
1483
|
:stability: experimental
|
|
1481
1484
|
'''
|
|
1482
1485
|
result = self._values.get("image_asset_publishing_role")
|
|
1483
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
1486
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
1484
1487
|
|
|
1485
1488
|
@builtins.property
|
|
1486
1489
|
def image_asset_version_count(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1573,24 +1576,24 @@ class DefaultStagingStackProps(
|
|
|
1573
1576
|
self,
|
|
1574
1577
|
*,
|
|
1575
1578
|
app_id: builtins.str,
|
|
1576
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
1579
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
1577
1580
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
1578
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
1579
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
1580
|
-
image_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
1581
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
1582
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
1583
|
+
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
1581
1584
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
1582
1585
|
staging_bucket_name: typing.Optional[builtins.str] = None,
|
|
1583
1586
|
staging_stack_name_prefix: typing.Optional[builtins.str] = None,
|
|
1584
1587
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
1585
1588
|
cross_region_references: typing.Optional[builtins.bool] = None,
|
|
1586
1589
|
description: typing.Optional[builtins.str] = None,
|
|
1587
|
-
env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1590
|
+
env: typing.Optional[typing.Union["_aws_cdk_ceddda9d.Environment", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1588
1591
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
1589
|
-
permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
|
|
1590
|
-
property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
|
|
1592
|
+
permissions_boundary: typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"] = None,
|
|
1593
|
+
property_injectors: typing.Optional[typing.Sequence["_aws_cdk_ceddda9d.IPropertyInjector"]] = None,
|
|
1591
1594
|
stack_name: typing.Optional[builtins.str] = None,
|
|
1592
1595
|
suppress_template_indentation: typing.Optional[builtins.bool] = None,
|
|
1593
|
-
synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
|
|
1596
|
+
synthesizer: typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"] = None,
|
|
1594
1597
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1595
1598
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
1596
1599
|
qualifier: builtins.str,
|
|
@@ -1761,7 +1764,7 @@ class DefaultStagingStackProps(
|
|
|
1761
1764
|
return typing.cast(builtins.str, result)
|
|
1762
1765
|
|
|
1763
1766
|
@builtins.property
|
|
1764
|
-
def staging_bucket_encryption(self) -> _aws_cdk_aws_s3_ceddda9d.BucketEncryption:
|
|
1767
|
+
def staging_bucket_encryption(self) -> "_aws_cdk_aws_s3_ceddda9d.BucketEncryption":
|
|
1765
1768
|
'''(experimental) Encryption type for staging bucket.
|
|
1766
1769
|
|
|
1767
1770
|
In future versions of this package, the default will be BucketEncryption.S3_MANAGED.
|
|
@@ -1779,7 +1782,7 @@ class DefaultStagingStackProps(
|
|
|
1779
1782
|
'''
|
|
1780
1783
|
result = self._values.get("staging_bucket_encryption")
|
|
1781
1784
|
assert result is not None, "Required property 'staging_bucket_encryption' is missing"
|
|
1782
|
-
return typing.cast(_aws_cdk_aws_s3_ceddda9d.BucketEncryption, result)
|
|
1785
|
+
return typing.cast("_aws_cdk_aws_s3_ceddda9d.BucketEncryption", result)
|
|
1783
1786
|
|
|
1784
1787
|
@builtins.property
|
|
1785
1788
|
def auto_delete_staging_assets(self) -> typing.Optional[builtins.bool]:
|
|
@@ -1795,7 +1798,7 @@ class DefaultStagingStackProps(
|
|
|
1795
1798
|
@builtins.property
|
|
1796
1799
|
def deploy_time_file_asset_lifetime(
|
|
1797
1800
|
self,
|
|
1798
|
-
) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
1801
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
1799
1802
|
'''(experimental) The lifetime for deploy time file assets.
|
|
1800
1803
|
|
|
1801
1804
|
Assets that are only necessary at deployment time (for instance,
|
|
@@ -1813,10 +1816,10 @@ class DefaultStagingStackProps(
|
|
|
1813
1816
|
:stability: experimental
|
|
1814
1817
|
'''
|
|
1815
1818
|
result = self._values.get("deploy_time_file_asset_lifetime")
|
|
1816
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
1819
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
1817
1820
|
|
|
1818
1821
|
@builtins.property
|
|
1819
|
-
def file_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
1822
|
+
def file_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
1820
1823
|
'''(experimental) Pass in an existing role to be used as the file publishing role.
|
|
1821
1824
|
|
|
1822
1825
|
:default: - a new role will be created
|
|
@@ -1824,10 +1827,10 @@ class DefaultStagingStackProps(
|
|
|
1824
1827
|
:stability: experimental
|
|
1825
1828
|
'''
|
|
1826
1829
|
result = self._values.get("file_asset_publishing_role")
|
|
1827
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
1830
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
1828
1831
|
|
|
1829
1832
|
@builtins.property
|
|
1830
|
-
def image_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
1833
|
+
def image_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
1831
1834
|
'''(experimental) Pass in an existing role to be used as the image publishing role.
|
|
1832
1835
|
|
|
1833
1836
|
:default: - a new role will be created
|
|
@@ -1835,7 +1838,7 @@ class DefaultStagingStackProps(
|
|
|
1835
1838
|
:stability: experimental
|
|
1836
1839
|
'''
|
|
1837
1840
|
result = self._values.get("image_asset_publishing_role")
|
|
1838
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
1841
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
1839
1842
|
|
|
1840
1843
|
@builtins.property
|
|
1841
1844
|
def image_asset_version_count(self) -> typing.Optional[jsii.Number]:
|
|
@@ -1915,7 +1918,7 @@ class DefaultStagingStackProps(
|
|
|
1915
1918
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
1916
1919
|
|
|
1917
1920
|
@builtins.property
|
|
1918
|
-
def env(self) -> typing.Optional[_aws_cdk_ceddda9d.Environment]:
|
|
1921
|
+
def env(self) -> typing.Optional["_aws_cdk_ceddda9d.Environment"]:
|
|
1919
1922
|
'''The AWS environment (account/region) where this stack will be deployed.
|
|
1920
1923
|
|
|
1921
1924
|
Set the ``region``/``account`` fields of ``env`` to either a concrete value to
|
|
@@ -1944,6 +1947,7 @@ class DefaultStagingStackProps(
|
|
|
1944
1947
|
|
|
1945
1948
|
Example::
|
|
1946
1949
|
|
|
1950
|
+
from aws_cdk import Environment, Environment, Environment
|
|
1947
1951
|
# Use a concrete account and region to deploy this stack to:
|
|
1948
1952
|
# `.account` and `.region` will simply return these values.
|
|
1949
1953
|
Stack(app, "Stack1",
|
|
@@ -1982,7 +1986,7 @@ class DefaultStagingStackProps(
|
|
|
1982
1986
|
MyStack(app, "Stack1")
|
|
1983
1987
|
'''
|
|
1984
1988
|
result = self._values.get("env")
|
|
1985
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Environment], result)
|
|
1989
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Environment"], result)
|
|
1986
1990
|
|
|
1987
1991
|
@builtins.property
|
|
1988
1992
|
def notification_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
@@ -1996,24 +2000,24 @@ class DefaultStagingStackProps(
|
|
|
1996
2000
|
@builtins.property
|
|
1997
2001
|
def permissions_boundary(
|
|
1998
2002
|
self,
|
|
1999
|
-
) -> typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary]:
|
|
2003
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"]:
|
|
2000
2004
|
'''Options for applying a permissions boundary to all IAM Roles and Users created within this Stage.
|
|
2001
2005
|
|
|
2002
2006
|
:default: - no permissions boundary is applied
|
|
2003
2007
|
'''
|
|
2004
2008
|
result = self._values.get("permissions_boundary")
|
|
2005
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary], result)
|
|
2009
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"], result)
|
|
2006
2010
|
|
|
2007
2011
|
@builtins.property
|
|
2008
2012
|
def property_injectors(
|
|
2009
2013
|
self,
|
|
2010
|
-
) -> typing.Optional[typing.List[_aws_cdk_ceddda9d.IPropertyInjector]]:
|
|
2014
|
+
) -> typing.Optional[typing.List["_aws_cdk_ceddda9d.IPropertyInjector"]]:
|
|
2011
2015
|
'''A list of IPropertyInjector attached to this Stack.
|
|
2012
2016
|
|
|
2013
2017
|
:default: - no PropertyInjectors
|
|
2014
2018
|
'''
|
|
2015
2019
|
result = self._values.get("property_injectors")
|
|
2016
|
-
return typing.cast(typing.Optional[typing.List[_aws_cdk_ceddda9d.IPropertyInjector]], result)
|
|
2020
|
+
return typing.cast(typing.Optional[typing.List["_aws_cdk_ceddda9d.IPropertyInjector"]], result)
|
|
2017
2021
|
|
|
2018
2022
|
@builtins.property
|
|
2019
2023
|
def stack_name(self) -> typing.Optional[builtins.str]:
|
|
@@ -2038,7 +2042,7 @@ class DefaultStagingStackProps(
|
|
|
2038
2042
|
return typing.cast(typing.Optional[builtins.bool], result)
|
|
2039
2043
|
|
|
2040
2044
|
@builtins.property
|
|
2041
|
-
def synthesizer(self) -> typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer]:
|
|
2045
|
+
def synthesizer(self) -> typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"]:
|
|
2042
2046
|
'''Synthesis method to use while deploying this stack.
|
|
2043
2047
|
|
|
2044
2048
|
The Stack Synthesizer controls aspects of synthesis and deployment,
|
|
@@ -2054,7 +2058,7 @@ class DefaultStagingStackProps(
|
|
|
2054
2058
|
:default: - The synthesizer specified on ``App``, or ``DefaultStackSynthesizer`` otherwise.
|
|
2055
2059
|
'''
|
|
2056
2060
|
result = self._values.get("synthesizer")
|
|
2057
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer], result)
|
|
2061
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"], result)
|
|
2058
2062
|
|
|
2059
2063
|
@builtins.property
|
|
2060
2064
|
def tags(self) -> typing.Optional[typing.Mapping[builtins.str, builtins.str]]:
|
|
@@ -2176,9 +2180,9 @@ class DeploymentIdentities(
|
|
|
2176
2180
|
def specify_roles(
|
|
2177
2181
|
cls,
|
|
2178
2182
|
*,
|
|
2179
|
-
cloud_formation_execution_role: typing.Optional[BootstrapRole] = None,
|
|
2180
|
-
deployment_role: typing.Optional[BootstrapRole] = None,
|
|
2181
|
-
lookup_role: typing.Optional[BootstrapRole] = None,
|
|
2183
|
+
cloud_formation_execution_role: typing.Optional["BootstrapRole"] = None,
|
|
2184
|
+
deployment_role: typing.Optional["BootstrapRole"] = None,
|
|
2185
|
+
lookup_role: typing.Optional["BootstrapRole"] = None,
|
|
2182
2186
|
) -> "DeploymentIdentities":
|
|
2183
2187
|
'''(experimental) Specify your own roles for all deployment identities.
|
|
2184
2188
|
|
|
@@ -2201,32 +2205,32 @@ class DeploymentIdentities(
|
|
|
2201
2205
|
|
|
2202
2206
|
@builtins.property
|
|
2203
2207
|
@jsii.member(jsii_name="cloudFormationExecutionRole")
|
|
2204
|
-
def cloud_formation_execution_role(self) -> typing.Optional[BootstrapRole]:
|
|
2208
|
+
def cloud_formation_execution_role(self) -> typing.Optional["BootstrapRole"]:
|
|
2205
2209
|
'''(experimental) CloudFormation Execution Role.
|
|
2206
2210
|
|
|
2207
2211
|
:stability: experimental
|
|
2208
2212
|
'''
|
|
2209
|
-
return typing.cast(typing.Optional[BootstrapRole], jsii.get(self, "cloudFormationExecutionRole"))
|
|
2213
|
+
return typing.cast(typing.Optional["BootstrapRole"], jsii.get(self, "cloudFormationExecutionRole"))
|
|
2210
2214
|
|
|
2211
2215
|
@builtins.property
|
|
2212
2216
|
@jsii.member(jsii_name="deploymentRole")
|
|
2213
|
-
def deployment_role(self) -> typing.Optional[BootstrapRole]:
|
|
2217
|
+
def deployment_role(self) -> typing.Optional["BootstrapRole"]:
|
|
2214
2218
|
'''(experimental) Deployment Action Role.
|
|
2215
2219
|
|
|
2216
2220
|
:stability: experimental
|
|
2217
2221
|
'''
|
|
2218
|
-
return typing.cast(typing.Optional[BootstrapRole], jsii.get(self, "deploymentRole"))
|
|
2222
|
+
return typing.cast(typing.Optional["BootstrapRole"], jsii.get(self, "deploymentRole"))
|
|
2219
2223
|
|
|
2220
2224
|
@builtins.property
|
|
2221
2225
|
@jsii.member(jsii_name="lookupRole")
|
|
2222
|
-
def lookup_role(self) -> typing.Optional[BootstrapRole]:
|
|
2226
|
+
def lookup_role(self) -> typing.Optional["BootstrapRole"]:
|
|
2223
2227
|
'''(experimental) Lookup Role.
|
|
2224
2228
|
|
|
2225
2229
|
:default: - use bootstrapped role
|
|
2226
2230
|
|
|
2227
2231
|
:stability: experimental
|
|
2228
2232
|
'''
|
|
2229
|
-
return typing.cast(typing.Optional[BootstrapRole], jsii.get(self, "lookupRole"))
|
|
2233
|
+
return typing.cast(typing.Optional["BootstrapRole"], jsii.get(self, "lookupRole"))
|
|
2230
2234
|
|
|
2231
2235
|
|
|
2232
2236
|
@jsii.data_type(
|
|
@@ -2245,7 +2249,7 @@ class FileStagingLocation:
|
|
|
2245
2249
|
*,
|
|
2246
2250
|
bucket_name: builtins.str,
|
|
2247
2251
|
assume_role_arn: typing.Optional[builtins.str] = None,
|
|
2248
|
-
dependency_stack: typing.Optional[_aws_cdk_ceddda9d.Stack] = None,
|
|
2252
|
+
dependency_stack: typing.Optional["_aws_cdk_ceddda9d.Stack"] = None,
|
|
2249
2253
|
prefix: typing.Optional[builtins.str] = None,
|
|
2250
2254
|
) -> None:
|
|
2251
2255
|
'''(experimental) Information returned by the Staging Stack for each file asset.
|
|
@@ -2314,7 +2318,7 @@ class FileStagingLocation:
|
|
|
2314
2318
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2315
2319
|
|
|
2316
2320
|
@builtins.property
|
|
2317
|
-
def dependency_stack(self) -> typing.Optional[_aws_cdk_ceddda9d.Stack]:
|
|
2321
|
+
def dependency_stack(self) -> typing.Optional["_aws_cdk_ceddda9d.Stack"]:
|
|
2318
2322
|
'''(experimental) The stack that creates this bucket (leads to dependencies on it).
|
|
2319
2323
|
|
|
2320
2324
|
:default: - Don't add dependencies
|
|
@@ -2322,7 +2326,7 @@ class FileStagingLocation:
|
|
|
2322
2326
|
:stability: experimental
|
|
2323
2327
|
'''
|
|
2324
2328
|
result = self._values.get("dependency_stack")
|
|
2325
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Stack], result)
|
|
2329
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Stack"], result)
|
|
2326
2330
|
|
|
2327
2331
|
@builtins.property
|
|
2328
2332
|
def prefix(self) -> typing.Optional[builtins.str]:
|
|
@@ -2367,8 +2371,8 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
|
|
|
2367
2371
|
docker_build_ssh: typing.Optional[builtins.str] = None,
|
|
2368
2372
|
docker_build_target: typing.Optional[builtins.str] = None,
|
|
2369
2373
|
docker_cache_disabled: typing.Optional[builtins.bool] = None,
|
|
2370
|
-
docker_cache_from: typing.Optional[typing.Sequence[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2371
|
-
docker_cache_to: typing.Optional[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2374
|
+
docker_cache_from: typing.Optional[typing.Sequence[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2375
|
+
docker_cache_to: typing.Optional[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2372
2376
|
docker_file: typing.Optional[builtins.str] = None,
|
|
2373
2377
|
docker_outputs: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2374
2378
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2407,8 +2411,8 @@ class IStagingResources(_constructs_77d1e7e8.IConstruct, typing_extensions.Proto
|
|
|
2407
2411
|
display_name: typing.Optional[builtins.str] = None,
|
|
2408
2412
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2409
2413
|
file_name: typing.Optional[builtins.str] = None,
|
|
2410
|
-
packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
|
|
2411
|
-
) -> FileStagingLocation:
|
|
2414
|
+
packaging: typing.Optional["_aws_cdk_ceddda9d.FileAssetPackaging"] = None,
|
|
2415
|
+
) -> "FileStagingLocation":
|
|
2412
2416
|
'''(experimental) Return staging resource information for a file asset.
|
|
2413
2417
|
|
|
2414
2418
|
:param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
|
|
@@ -2446,8 +2450,8 @@ class _IStagingResourcesProxy(
|
|
|
2446
2450
|
docker_build_ssh: typing.Optional[builtins.str] = None,
|
|
2447
2451
|
docker_build_target: typing.Optional[builtins.str] = None,
|
|
2448
2452
|
docker_cache_disabled: typing.Optional[builtins.bool] = None,
|
|
2449
|
-
docker_cache_from: typing.Optional[typing.Sequence[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2450
|
-
docker_cache_to: typing.Optional[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2453
|
+
docker_cache_from: typing.Optional[typing.Sequence[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
2454
|
+
docker_cache_to: typing.Optional[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
2451
2455
|
docker_file: typing.Optional[builtins.str] = None,
|
|
2452
2456
|
docker_outputs: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2453
2457
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
@@ -2505,8 +2509,8 @@ class _IStagingResourcesProxy(
|
|
|
2505
2509
|
display_name: typing.Optional[builtins.str] = None,
|
|
2506
2510
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
2507
2511
|
file_name: typing.Optional[builtins.str] = None,
|
|
2508
|
-
packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
|
|
2509
|
-
) -> FileStagingLocation:
|
|
2512
|
+
packaging: typing.Optional["_aws_cdk_ceddda9d.FileAssetPackaging"] = None,
|
|
2513
|
+
) -> "FileStagingLocation":
|
|
2510
2514
|
'''(experimental) Return staging resource information for a file asset.
|
|
2511
2515
|
|
|
2512
2516
|
:param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
|
|
@@ -2527,7 +2531,7 @@ class _IStagingResourcesProxy(
|
|
|
2527
2531
|
packaging=packaging,
|
|
2528
2532
|
)
|
|
2529
2533
|
|
|
2530
|
-
return typing.cast(FileStagingLocation, jsii.invoke(self, "addFile", [asset]))
|
|
2534
|
+
return typing.cast("FileStagingLocation", jsii.invoke(self, "addFile", [asset]))
|
|
2531
2535
|
|
|
2532
2536
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
2533
2537
|
typing.cast(typing.Any, IStagingResources).__jsii_proxy_class__ = lambda : _IStagingResourcesProxy
|
|
@@ -2549,12 +2553,12 @@ class IStagingResourcesFactory(typing_extensions.Protocol):
|
|
|
2549
2553
|
@jsii.member(jsii_name="obtainStagingResources")
|
|
2550
2554
|
def obtain_staging_resources(
|
|
2551
2555
|
self,
|
|
2552
|
-
stack: _aws_cdk_ceddda9d.Stack,
|
|
2556
|
+
stack: "_aws_cdk_ceddda9d.Stack",
|
|
2553
2557
|
*,
|
|
2554
2558
|
environment_string: builtins.str,
|
|
2555
2559
|
qualifier: builtins.str,
|
|
2556
2560
|
deploy_role_arn: typing.Optional[builtins.str] = None,
|
|
2557
|
-
) -> IStagingResources:
|
|
2561
|
+
) -> "IStagingResources":
|
|
2558
2562
|
'''(experimental) Return an object that will manage staging resources for the given stack.
|
|
2559
2563
|
|
|
2560
2564
|
This is called whenever the the ``AppStagingSynthesizer`` binds to a specific
|
|
@@ -2588,12 +2592,12 @@ class _IStagingResourcesFactoryProxy:
|
|
|
2588
2592
|
@jsii.member(jsii_name="obtainStagingResources")
|
|
2589
2593
|
def obtain_staging_resources(
|
|
2590
2594
|
self,
|
|
2591
|
-
stack: _aws_cdk_ceddda9d.Stack,
|
|
2595
|
+
stack: "_aws_cdk_ceddda9d.Stack",
|
|
2592
2596
|
*,
|
|
2593
2597
|
environment_string: builtins.str,
|
|
2594
2598
|
qualifier: builtins.str,
|
|
2595
2599
|
deploy_role_arn: typing.Optional[builtins.str] = None,
|
|
2596
|
-
) -> IStagingResources:
|
|
2600
|
+
) -> "IStagingResources":
|
|
2597
2601
|
'''(experimental) Return an object that will manage staging resources for the given stack.
|
|
2598
2602
|
|
|
2599
2603
|
This is called whenever the the ``AppStagingSynthesizer`` binds to a specific
|
|
@@ -2618,7 +2622,7 @@ class _IStagingResourcesFactoryProxy:
|
|
|
2618
2622
|
deploy_role_arn=deploy_role_arn,
|
|
2619
2623
|
)
|
|
2620
2624
|
|
|
2621
|
-
return typing.cast(IStagingResources, jsii.invoke(self, "obtainStagingResources", [stack, context]))
|
|
2625
|
+
return typing.cast("IStagingResources", jsii.invoke(self, "obtainStagingResources", [stack, context]))
|
|
2622
2626
|
|
|
2623
2627
|
# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface
|
|
2624
2628
|
typing.cast(typing.Any, IStagingResourcesFactory).__jsii_proxy_class__ = lambda : _IStagingResourcesFactoryProxy
|
|
@@ -2639,7 +2643,7 @@ class ImageStagingLocation:
|
|
|
2639
2643
|
*,
|
|
2640
2644
|
repo_name: builtins.str,
|
|
2641
2645
|
assume_role_arn: typing.Optional[builtins.str] = None,
|
|
2642
|
-
dependency_stack: typing.Optional[_aws_cdk_ceddda9d.Stack] = None,
|
|
2646
|
+
dependency_stack: typing.Optional["_aws_cdk_ceddda9d.Stack"] = None,
|
|
2643
2647
|
) -> None:
|
|
2644
2648
|
'''(experimental) Information returned by the Staging Stack for each image asset.
|
|
2645
2649
|
|
|
@@ -2702,7 +2706,7 @@ class ImageStagingLocation:
|
|
|
2702
2706
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
2703
2707
|
|
|
2704
2708
|
@builtins.property
|
|
2705
|
-
def dependency_stack(self) -> typing.Optional[_aws_cdk_ceddda9d.Stack]:
|
|
2709
|
+
def dependency_stack(self) -> typing.Optional["_aws_cdk_ceddda9d.Stack"]:
|
|
2706
2710
|
'''(experimental) The stack that creates this repository (leads to dependencies on it).
|
|
2707
2711
|
|
|
2708
2712
|
:default: - Don't add dependencies
|
|
@@ -2710,7 +2714,7 @@ class ImageStagingLocation:
|
|
|
2710
2714
|
:stability: experimental
|
|
2711
2715
|
'''
|
|
2712
2716
|
result = self._values.get("dependency_stack")
|
|
2713
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Stack], result)
|
|
2717
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Stack"], result)
|
|
2714
2718
|
|
|
2715
2719
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2716
2720
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -2835,8 +2839,8 @@ class StagingRoles:
|
|
|
2835
2839
|
def __init__(
|
|
2836
2840
|
self,
|
|
2837
2841
|
*,
|
|
2838
|
-
docker_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
2839
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
2842
|
+
docker_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
2843
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
2840
2844
|
) -> None:
|
|
2841
2845
|
'''(experimental) Roles that are included in the Staging Stack (for access to Staging Resources).
|
|
2842
2846
|
|
|
@@ -2870,7 +2874,7 @@ class StagingRoles:
|
|
|
2870
2874
|
self._values["file_asset_publishing_role"] = file_asset_publishing_role
|
|
2871
2875
|
|
|
2872
2876
|
@builtins.property
|
|
2873
|
-
def docker_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
2877
|
+
def docker_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
2874
2878
|
'''(experimental) Docker Asset Publishing Role.
|
|
2875
2879
|
|
|
2876
2880
|
:default: - staging stack creates a docker asset publishing role
|
|
@@ -2878,10 +2882,10 @@ class StagingRoles:
|
|
|
2878
2882
|
:stability: experimental
|
|
2879
2883
|
'''
|
|
2880
2884
|
result = self._values.get("docker_asset_publishing_role")
|
|
2881
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
2885
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
2882
2886
|
|
|
2883
2887
|
@builtins.property
|
|
2884
|
-
def file_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
2888
|
+
def file_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
2885
2889
|
'''(experimental) File Asset Publishing Role.
|
|
2886
2890
|
|
|
2887
2891
|
:default: - staging stack creates a file asset publishing role
|
|
@@ -2889,7 +2893,7 @@ class StagingRoles:
|
|
|
2889
2893
|
:stability: experimental
|
|
2890
2894
|
'''
|
|
2891
2895
|
result = self._values.get("file_asset_publishing_role")
|
|
2892
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
2896
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
2893
2897
|
|
|
2894
2898
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2895
2899
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -2928,7 +2932,11 @@ class UsingAppStagingSynthesizer(
|
|
|
2928
2932
|
using_app_staging_synthesizer = app_staging_synthesizer_alpha.UsingAppStagingSynthesizer(self, "MyUsingAppStagingSynthesizer")
|
|
2929
2933
|
'''
|
|
2930
2934
|
|
|
2931
|
-
def __init__(
|
|
2935
|
+
def __init__(
|
|
2936
|
+
self,
|
|
2937
|
+
scope: "_constructs_77d1e7e8.Construct",
|
|
2938
|
+
id: builtins.str,
|
|
2939
|
+
) -> None:
|
|
2932
2940
|
'''
|
|
2933
2941
|
:param scope: -
|
|
2934
2942
|
:param id: -
|
|
@@ -2964,13 +2972,13 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
2964
2972
|
self,
|
|
2965
2973
|
*,
|
|
2966
2974
|
bootstrap_qualifier: typing.Optional[builtins.str] = None,
|
|
2967
|
-
deployment_identities: typing.Optional[DeploymentIdentities] = None,
|
|
2975
|
+
deployment_identities: typing.Optional["DeploymentIdentities"] = None,
|
|
2968
2976
|
app_id: builtins.str,
|
|
2969
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
2977
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
2970
2978
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
2971
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
2972
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
2973
|
-
image_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
2979
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
2980
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
2981
|
+
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
2974
2982
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
2975
2983
|
staging_bucket_name: typing.Optional[builtins.str] = None,
|
|
2976
2984
|
staging_stack_name_prefix: typing.Optional[builtins.str] = None,
|
|
@@ -3058,7 +3066,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3058
3066
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
3059
3067
|
|
|
3060
3068
|
@builtins.property
|
|
3061
|
-
def deployment_identities(self) -> typing.Optional[DeploymentIdentities]:
|
|
3069
|
+
def deployment_identities(self) -> typing.Optional["DeploymentIdentities"]:
|
|
3062
3070
|
'''(experimental) What roles to use to deploy applications.
|
|
3063
3071
|
|
|
3064
3072
|
These are the roles that have permissions to interact with CloudFormation
|
|
@@ -3071,7 +3079,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3071
3079
|
:stability: experimental
|
|
3072
3080
|
'''
|
|
3073
3081
|
result = self._values.get("deployment_identities")
|
|
3074
|
-
return typing.cast(typing.Optional[DeploymentIdentities], result)
|
|
3082
|
+
return typing.cast(typing.Optional["DeploymentIdentities"], result)
|
|
3075
3083
|
|
|
3076
3084
|
@builtins.property
|
|
3077
3085
|
def app_id(self) -> builtins.str:
|
|
@@ -3090,7 +3098,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3090
3098
|
return typing.cast(builtins.str, result)
|
|
3091
3099
|
|
|
3092
3100
|
@builtins.property
|
|
3093
|
-
def staging_bucket_encryption(self) -> _aws_cdk_aws_s3_ceddda9d.BucketEncryption:
|
|
3101
|
+
def staging_bucket_encryption(self) -> "_aws_cdk_aws_s3_ceddda9d.BucketEncryption":
|
|
3094
3102
|
'''(experimental) Encryption type for staging bucket.
|
|
3095
3103
|
|
|
3096
3104
|
In future versions of this package, the default will be BucketEncryption.S3_MANAGED.
|
|
@@ -3108,7 +3116,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3108
3116
|
'''
|
|
3109
3117
|
result = self._values.get("staging_bucket_encryption")
|
|
3110
3118
|
assert result is not None, "Required property 'staging_bucket_encryption' is missing"
|
|
3111
|
-
return typing.cast(_aws_cdk_aws_s3_ceddda9d.BucketEncryption, result)
|
|
3119
|
+
return typing.cast("_aws_cdk_aws_s3_ceddda9d.BucketEncryption", result)
|
|
3112
3120
|
|
|
3113
3121
|
@builtins.property
|
|
3114
3122
|
def auto_delete_staging_assets(self) -> typing.Optional[builtins.bool]:
|
|
@@ -3124,7 +3132,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3124
3132
|
@builtins.property
|
|
3125
3133
|
def deploy_time_file_asset_lifetime(
|
|
3126
3134
|
self,
|
|
3127
|
-
) -> typing.Optional[_aws_cdk_ceddda9d.Duration]:
|
|
3135
|
+
) -> typing.Optional["_aws_cdk_ceddda9d.Duration"]:
|
|
3128
3136
|
'''(experimental) The lifetime for deploy time file assets.
|
|
3129
3137
|
|
|
3130
3138
|
Assets that are only necessary at deployment time (for instance,
|
|
@@ -3142,10 +3150,10 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3142
3150
|
:stability: experimental
|
|
3143
3151
|
'''
|
|
3144
3152
|
result = self._values.get("deploy_time_file_asset_lifetime")
|
|
3145
|
-
return typing.cast(typing.Optional[_aws_cdk_ceddda9d.Duration], result)
|
|
3153
|
+
return typing.cast(typing.Optional["_aws_cdk_ceddda9d.Duration"], result)
|
|
3146
3154
|
|
|
3147
3155
|
@builtins.property
|
|
3148
|
-
def file_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
3156
|
+
def file_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
3149
3157
|
'''(experimental) Pass in an existing role to be used as the file publishing role.
|
|
3150
3158
|
|
|
3151
3159
|
:default: - a new role will be created
|
|
@@ -3153,10 +3161,10 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3153
3161
|
:stability: experimental
|
|
3154
3162
|
'''
|
|
3155
3163
|
result = self._values.get("file_asset_publishing_role")
|
|
3156
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
3164
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
3157
3165
|
|
|
3158
3166
|
@builtins.property
|
|
3159
|
-
def image_asset_publishing_role(self) -> typing.Optional[BootstrapRole]:
|
|
3167
|
+
def image_asset_publishing_role(self) -> typing.Optional["BootstrapRole"]:
|
|
3160
3168
|
'''(experimental) Pass in an existing role to be used as the image publishing role.
|
|
3161
3169
|
|
|
3162
3170
|
:default: - a new role will be created
|
|
@@ -3164,7 +3172,7 @@ class DefaultResourcesOptions(AppStagingSynthesizerOptions, DefaultStagingStackO
|
|
|
3164
3172
|
:stability: experimental
|
|
3165
3173
|
'''
|
|
3166
3174
|
result = self._values.get("image_asset_publishing_role")
|
|
3167
|
-
return typing.cast(typing.Optional[BootstrapRole], result)
|
|
3175
|
+
return typing.cast(typing.Optional["BootstrapRole"], result)
|
|
3168
3176
|
|
|
3169
3177
|
@builtins.property
|
|
3170
3178
|
def image_asset_version_count(self) -> typing.Optional[jsii.Number]:
|
|
@@ -3239,30 +3247,30 @@ class DefaultStagingStack(
|
|
|
3239
3247
|
|
|
3240
3248
|
def __init__(
|
|
3241
3249
|
self,
|
|
3242
|
-
scope: _aws_cdk_ceddda9d.App,
|
|
3250
|
+
scope: "_aws_cdk_ceddda9d.App",
|
|
3243
3251
|
id: builtins.str,
|
|
3244
3252
|
*,
|
|
3245
3253
|
qualifier: builtins.str,
|
|
3246
3254
|
deploy_role_arn: typing.Optional[builtins.str] = None,
|
|
3247
3255
|
app_id: builtins.str,
|
|
3248
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
3256
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
3249
3257
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
3250
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3251
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
3252
|
-
image_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
3258
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3259
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
3260
|
+
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
3253
3261
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
3254
3262
|
staging_bucket_name: typing.Optional[builtins.str] = None,
|
|
3255
3263
|
staging_stack_name_prefix: typing.Optional[builtins.str] = None,
|
|
3256
3264
|
analytics_reporting: typing.Optional[builtins.bool] = None,
|
|
3257
3265
|
cross_region_references: typing.Optional[builtins.bool] = None,
|
|
3258
3266
|
description: typing.Optional[builtins.str] = None,
|
|
3259
|
-
env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3267
|
+
env: typing.Optional[typing.Union["_aws_cdk_ceddda9d.Environment", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3260
3268
|
notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3261
|
-
permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
|
|
3262
|
-
property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
|
|
3269
|
+
permissions_boundary: typing.Optional["_aws_cdk_ceddda9d.PermissionsBoundary"] = None,
|
|
3270
|
+
property_injectors: typing.Optional[typing.Sequence["_aws_cdk_ceddda9d.IPropertyInjector"]] = None,
|
|
3263
3271
|
stack_name: typing.Optional[builtins.str] = None,
|
|
3264
3272
|
suppress_template_indentation: typing.Optional[builtins.bool] = None,
|
|
3265
|
-
synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
|
|
3273
|
+
synthesizer: typing.Optional["_aws_cdk_ceddda9d.IStackSynthesizer"] = None,
|
|
3266
3274
|
tags: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3267
3275
|
termination_protection: typing.Optional[builtins.bool] = None,
|
|
3268
3276
|
) -> None:
|
|
@@ -3333,15 +3341,15 @@ class DefaultStagingStack(
|
|
|
3333
3341
|
cls,
|
|
3334
3342
|
*,
|
|
3335
3343
|
app_id: builtins.str,
|
|
3336
|
-
staging_bucket_encryption: _aws_cdk_aws_s3_ceddda9d.BucketEncryption,
|
|
3344
|
+
staging_bucket_encryption: "_aws_cdk_aws_s3_ceddda9d.BucketEncryption",
|
|
3337
3345
|
auto_delete_staging_assets: typing.Optional[builtins.bool] = None,
|
|
3338
|
-
deploy_time_file_asset_lifetime: typing.Optional[_aws_cdk_ceddda9d.Duration] = None,
|
|
3339
|
-
file_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
3340
|
-
image_asset_publishing_role: typing.Optional[BootstrapRole] = None,
|
|
3346
|
+
deploy_time_file_asset_lifetime: typing.Optional["_aws_cdk_ceddda9d.Duration"] = None,
|
|
3347
|
+
file_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
3348
|
+
image_asset_publishing_role: typing.Optional["BootstrapRole"] = None,
|
|
3341
3349
|
image_asset_version_count: typing.Optional[jsii.Number] = None,
|
|
3342
3350
|
staging_bucket_name: typing.Optional[builtins.str] = None,
|
|
3343
3351
|
staging_stack_name_prefix: typing.Optional[builtins.str] = None,
|
|
3344
|
-
) -> IStagingResourcesFactory:
|
|
3352
|
+
) -> "IStagingResourcesFactory":
|
|
3345
3353
|
'''(experimental) Return a factory that will create DefaultStagingStacks.
|
|
3346
3354
|
|
|
3347
3355
|
:param app_id: (experimental) A unique identifier for the application that the staging stack belongs to. This identifier will be used in the name of staging resources created for this application, and should be unique across CDK apps. The identifier should include lowercase characters and dashes ('-') only and have a maximum of 20 characters.
|
|
@@ -3368,7 +3376,7 @@ class DefaultStagingStack(
|
|
|
3368
3376
|
staging_stack_name_prefix=staging_stack_name_prefix,
|
|
3369
3377
|
)
|
|
3370
3378
|
|
|
3371
|
-
return typing.cast(IStagingResourcesFactory, jsii.sinvoke(cls, "factory", [options]))
|
|
3379
|
+
return typing.cast("IStagingResourcesFactory", jsii.sinvoke(cls, "factory", [options]))
|
|
3372
3380
|
|
|
3373
3381
|
@jsii.member(jsii_name="addDockerImage")
|
|
3374
3382
|
def add_docker_image(
|
|
@@ -3383,14 +3391,14 @@ class DefaultStagingStack(
|
|
|
3383
3391
|
docker_build_ssh: typing.Optional[builtins.str] = None,
|
|
3384
3392
|
docker_build_target: typing.Optional[builtins.str] = None,
|
|
3385
3393
|
docker_cache_disabled: typing.Optional[builtins.bool] = None,
|
|
3386
|
-
docker_cache_from: typing.Optional[typing.Sequence[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3387
|
-
docker_cache_to: typing.Optional[typing.Union[_aws_cdk_ceddda9d.DockerCacheOption, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3394
|
+
docker_cache_from: typing.Optional[typing.Sequence[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
3395
|
+
docker_cache_to: typing.Optional[typing.Union["_aws_cdk_ceddda9d.DockerCacheOption", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3388
3396
|
docker_file: typing.Optional[builtins.str] = None,
|
|
3389
3397
|
docker_outputs: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3390
3398
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3391
3399
|
network_mode: typing.Optional[builtins.str] = None,
|
|
3392
3400
|
platform: typing.Optional[builtins.str] = None,
|
|
3393
|
-
) -> ImageStagingLocation:
|
|
3401
|
+
) -> "ImageStagingLocation":
|
|
3394
3402
|
'''(experimental) Return staging resource information for a docker asset.
|
|
3395
3403
|
|
|
3396
3404
|
:param source_hash: The hash of the contents of the docker build context. This hash is used throughout the system to identify this image and avoid duplicate work in case the source did not change. NOTE: this means that if you wish to update your docker image, you must make a modification to the source (e.g. add some metadata to your Dockerfile).
|
|
@@ -3431,7 +3439,7 @@ class DefaultStagingStack(
|
|
|
3431
3439
|
platform=platform,
|
|
3432
3440
|
)
|
|
3433
3441
|
|
|
3434
|
-
return typing.cast(ImageStagingLocation, jsii.invoke(self, "addDockerImage", [asset]))
|
|
3442
|
+
return typing.cast("ImageStagingLocation", jsii.invoke(self, "addDockerImage", [asset]))
|
|
3435
3443
|
|
|
3436
3444
|
@jsii.member(jsii_name="addFile")
|
|
3437
3445
|
def add_file(
|
|
@@ -3442,8 +3450,8 @@ class DefaultStagingStack(
|
|
|
3442
3450
|
display_name: typing.Optional[builtins.str] = None,
|
|
3443
3451
|
executable: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3444
3452
|
file_name: typing.Optional[builtins.str] = None,
|
|
3445
|
-
packaging: typing.Optional[_aws_cdk_ceddda9d.FileAssetPackaging] = None,
|
|
3446
|
-
) -> FileStagingLocation:
|
|
3453
|
+
packaging: typing.Optional["_aws_cdk_ceddda9d.FileAssetPackaging"] = None,
|
|
3454
|
+
) -> "FileStagingLocation":
|
|
3447
3455
|
'''(experimental) Return staging resource information for a file asset.
|
|
3448
3456
|
|
|
3449
3457
|
:param source_hash: A hash on the content source. This hash is used to uniquely identify this asset throughout the system. If this value doesn't change, the asset will not be rebuilt or republished.
|
|
@@ -3464,36 +3472,36 @@ class DefaultStagingStack(
|
|
|
3464
3472
|
packaging=packaging,
|
|
3465
3473
|
)
|
|
3466
3474
|
|
|
3467
|
-
return typing.cast(FileStagingLocation, jsii.invoke(self, "addFile", [asset]))
|
|
3475
|
+
return typing.cast("FileStagingLocation", jsii.invoke(self, "addFile", [asset]))
|
|
3468
3476
|
|
|
3469
3477
|
@builtins.property
|
|
3470
3478
|
@jsii.member(jsii_name="dependencyStack")
|
|
3471
|
-
def dependency_stack(self) -> _aws_cdk_ceddda9d.Stack:
|
|
3479
|
+
def dependency_stack(self) -> "_aws_cdk_ceddda9d.Stack":
|
|
3472
3480
|
'''(experimental) The stack to add dependencies to.
|
|
3473
3481
|
|
|
3474
3482
|
:stability: experimental
|
|
3475
3483
|
'''
|
|
3476
|
-
return typing.cast(_aws_cdk_ceddda9d.Stack, jsii.get(self, "dependencyStack"))
|
|
3484
|
+
return typing.cast("_aws_cdk_ceddda9d.Stack", jsii.get(self, "dependencyStack"))
|
|
3477
3485
|
|
|
3478
3486
|
@builtins.property
|
|
3479
3487
|
@jsii.member(jsii_name="stagingRepos")
|
|
3480
3488
|
def staging_repos(
|
|
3481
3489
|
self,
|
|
3482
|
-
) -> typing.Mapping[builtins.str, _aws_cdk_aws_ecr_ceddda9d.Repository]:
|
|
3490
|
+
) -> typing.Mapping[builtins.str, "_aws_cdk_aws_ecr_ceddda9d.Repository"]:
|
|
3483
3491
|
'''(experimental) The app-scoped, environment-keyed ecr repositories associated with this app.
|
|
3484
3492
|
|
|
3485
3493
|
:stability: experimental
|
|
3486
3494
|
'''
|
|
3487
|
-
return typing.cast(typing.Mapping[builtins.str, _aws_cdk_aws_ecr_ceddda9d.Repository], jsii.get(self, "stagingRepos"))
|
|
3495
|
+
return typing.cast(typing.Mapping[builtins.str, "_aws_cdk_aws_ecr_ceddda9d.Repository"], jsii.get(self, "stagingRepos"))
|
|
3488
3496
|
|
|
3489
3497
|
@builtins.property
|
|
3490
3498
|
@jsii.member(jsii_name="stagingBucket")
|
|
3491
|
-
def staging_bucket(self) -> typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket]:
|
|
3499
|
+
def staging_bucket(self) -> typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"]:
|
|
3492
3500
|
'''(experimental) The app-scoped, evironment-keyed staging bucket.
|
|
3493
3501
|
|
|
3494
3502
|
:stability: experimental
|
|
3495
3503
|
'''
|
|
3496
|
-
return typing.cast(typing.Optional[_aws_cdk_aws_s3_ceddda9d.Bucket], jsii.get(self, "stagingBucket"))
|
|
3504
|
+
return typing.cast(typing.Optional["_aws_cdk_aws_s3_ceddda9d.Bucket"], jsii.get(self, "stagingBucket"))
|
|
3497
3505
|
|
|
3498
3506
|
|
|
3499
3507
|
__all__ = [
|
|
@@ -33,9 +33,9 @@ import constructs._jsii
|
|
|
33
33
|
|
|
34
34
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
35
|
"@aws-cdk/app-staging-synthesizer-alpha",
|
|
36
|
-
"2.
|
|
36
|
+
"2.234.0-alpha.0",
|
|
37
37
|
__name__[0:-6],
|
|
38
|
-
"app-staging-synthesizer-alpha@2.
|
|
38
|
+
"app-staging-synthesizer-alpha@2.234.0-alpha.0.jsii.tgz",
|
|
39
39
|
)
|
|
40
40
|
|
|
41
41
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.app-staging-synthesizer-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.234.0a0
|
|
4
4
|
Summary: Cdk synthesizer for with app-scoped staging stack
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -22,9 +22,9 @@ Requires-Python: ~=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: NOTICE
|
|
25
|
-
Requires-Dist: aws-cdk-lib<3.0.0,>=2.
|
|
25
|
+
Requires-Dist: aws-cdk-lib<3.0.0,>=2.234.0
|
|
26
26
|
Requires-Dist: constructs<11.0.0,>=10.0.0
|
|
27
|
-
Requires-Dist: jsii<2.0.0,>=1.
|
|
27
|
+
Requires-Dist: jsii<2.0.0,>=1.125.0
|
|
28
28
|
Requires-Dist: publication>=0.0.3
|
|
29
29
|
Requires-Dist: typeguard==2.13.3
|
|
30
30
|
|
|
@@ -365,6 +365,9 @@ class CustomStagingStack(DefaultStagingStack):
|
|
|
365
365
|
Or you can roll your own staging resources from scratch, as long as it implements `IStagingResources`.
|
|
366
366
|
|
|
367
367
|
```python
|
|
368
|
+
from aws_cdk.app_staging_synthesizer_alpha import FileStagingLocation, ImageStagingLocation
|
|
369
|
+
|
|
370
|
+
|
|
368
371
|
@jsii.implements(IStagingResources)
|
|
369
372
|
class CustomStagingStack(Stack):
|
|
370
373
|
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
@@ -12,4 +12,4 @@ src/aws_cdk.app_staging_synthesizer_alpha.egg-info/top_level.txt
|
|
|
12
12
|
src/aws_cdk/app_staging_synthesizer_alpha/__init__.py
|
|
13
13
|
src/aws_cdk/app_staging_synthesizer_alpha/py.typed
|
|
14
14
|
src/aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py
|
|
15
|
-
src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.
|
|
15
|
+
src/aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.234.0-alpha.0.jsii.tgz
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|