aws-cdk.app-staging-synthesizer-alpha 2.194.0a0__py3-none-any.whl → 2.196.0a0__py3-none-any.whl

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.

Potentially problematic release.


This version of aws-cdk.app-staging-synthesizer-alpha might be problematic. Click here for more details.

@@ -338,8 +338,8 @@ Or you can roll your own staging resources from scratch, as long as it implement
338
338
  ```python
339
339
  @jsii.implements(IStagingResources)
340
340
  class CustomStagingStack(Stack):
341
- 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):
342
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
341
+ 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):
342
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
343
343
 
344
344
  def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
345
345
  return FileStagingLocation(
@@ -1555,6 +1555,7 @@ class DefaultStagingStackOptions:
1555
1555
  "env": "env",
1556
1556
  "notification_arns": "notificationArns",
1557
1557
  "permissions_boundary": "permissionsBoundary",
1558
+ "property_injectors": "propertyInjectors",
1558
1559
  "stack_name": "stackName",
1559
1560
  "suppress_template_indentation": "suppressTemplateIndentation",
1560
1561
  "synthesizer": "synthesizer",
@@ -1586,6 +1587,7 @@ class DefaultStagingStackProps(
1586
1587
  env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
1587
1588
  notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
1588
1589
  permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
1590
+ property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
1589
1591
  stack_name: typing.Optional[builtins.str] = None,
1590
1592
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
1591
1593
  synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
@@ -1611,6 +1613,7 @@ class DefaultStagingStackProps(
1611
1613
  :param env: The AWS environment (account/region) where this stack will be deployed. Set the ``region``/``account`` fields of ``env`` to either a concrete value to select the indicated environment (recommended for production stacks), or to the values of environment variables ``CDK_DEFAULT_REGION``/``CDK_DEFAULT_ACCOUNT`` to let the target environment depend on the AWS credentials/configuration that the CDK CLI is executed under (recommended for development stacks). If the ``Stack`` is instantiated inside a ``Stage``, any undefined ``region``/``account`` fields from ``env`` will default to the same field on the encompassing ``Stage``, if configured there. If either ``region`` or ``account`` are not set nor inherited from ``Stage``, the Stack will be considered "*environment-agnostic*"". Environment-agnostic stacks can be deployed to any environment but may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups such as ``ec2.Vpc.fromLookup`` and will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements. Default: - The environment of the containing ``Stage`` if available, otherwise create the stack will be environment-agnostic.
1612
1614
  :param notification_arns: SNS Topic ARNs that will receive stack events. Default: - no notfication arns.
1613
1615
  :param permissions_boundary: Options for applying a permissions boundary to all IAM Roles and Users created within this Stage. Default: - no permissions boundary is applied
1616
+ :param property_injectors: A list of IPropertyInjector attached to this Stack. Default: - no PropertyInjectors
1614
1617
  :param stack_name: Name to deploy the stack with. Default: - Derived from construct path.
1615
1618
  :param suppress_template_indentation: Enable this flag to suppress indentation in generated CloudFormation templates. If not specified, the value of the ``@aws-cdk/core:suppressTemplateIndentation`` context key will be used. If that is not specified, then the default value ``false`` will be used. Default: - the value of ``@aws-cdk/core:suppressTemplateIndentation``, or ``false`` if that is not set.
1616
1619
  :param synthesizer: Synthesis method to use while deploying this stack. The Stack Synthesizer controls aspects of synthesis and deployment, like how assets are referenced and what IAM roles to use. For more information, see the README of the main CDK package. If not specified, the ``defaultStackSynthesizer`` from ``App`` will be used. If that is not specified, ``DefaultStackSynthesizer`` is used if ``@aws-cdk/core:newStyleStackSynthesis`` is set to ``true`` or the CDK major version is v2. In CDK v1 ``LegacyStackSynthesizer`` is the default if no other synthesizer is specified. Default: - The synthesizer specified on ``App``, or ``DefaultStackSynthesizer`` otherwise.
@@ -1632,6 +1635,7 @@ class DefaultStagingStackProps(
1632
1635
 
1633
1636
  # bootstrap_role: app_staging_synthesizer_alpha.BootstrapRole
1634
1637
  # permissions_boundary: cdk.PermissionsBoundary
1638
+ # property_injector: cdk.IPropertyInjector
1635
1639
  # stack_synthesizer: cdk.StackSynthesizer
1636
1640
 
1637
1641
  default_staging_stack_props = app_staging_synthesizer_alpha.DefaultStagingStackProps(
@@ -1655,6 +1659,7 @@ class DefaultStagingStackProps(
1655
1659
  image_asset_version_count=123,
1656
1660
  notification_arns=["notificationArns"],
1657
1661
  permissions_boundary=permissions_boundary,
1662
+ property_injectors=[property_injector],
1658
1663
  stack_name="stackName",
1659
1664
  staging_bucket_name="stagingBucketName",
1660
1665
  staging_stack_name_prefix="stagingStackNamePrefix",
@@ -1685,6 +1690,7 @@ class DefaultStagingStackProps(
1685
1690
  check_type(argname="argument env", value=env, expected_type=type_hints["env"])
1686
1691
  check_type(argname="argument notification_arns", value=notification_arns, expected_type=type_hints["notification_arns"])
1687
1692
  check_type(argname="argument permissions_boundary", value=permissions_boundary, expected_type=type_hints["permissions_boundary"])
1693
+ check_type(argname="argument property_injectors", value=property_injectors, expected_type=type_hints["property_injectors"])
1688
1694
  check_type(argname="argument stack_name", value=stack_name, expected_type=type_hints["stack_name"])
1689
1695
  check_type(argname="argument suppress_template_indentation", value=suppress_template_indentation, expected_type=type_hints["suppress_template_indentation"])
1690
1696
  check_type(argname="argument synthesizer", value=synthesizer, expected_type=type_hints["synthesizer"])
@@ -1723,6 +1729,8 @@ class DefaultStagingStackProps(
1723
1729
  self._values["notification_arns"] = notification_arns
1724
1730
  if permissions_boundary is not None:
1725
1731
  self._values["permissions_boundary"] = permissions_boundary
1732
+ if property_injectors is not None:
1733
+ self._values["property_injectors"] = property_injectors
1726
1734
  if stack_name is not None:
1727
1735
  self._values["stack_name"] = stack_name
1728
1736
  if suppress_template_indentation is not None:
@@ -1996,6 +2004,17 @@ class DefaultStagingStackProps(
1996
2004
  result = self._values.get("permissions_boundary")
1997
2005
  return typing.cast(typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary], result)
1998
2006
 
2007
+ @builtins.property
2008
+ def property_injectors(
2009
+ self,
2010
+ ) -> typing.Optional[typing.List[_aws_cdk_ceddda9d.IPropertyInjector]]:
2011
+ '''A list of IPropertyInjector attached to this Stack.
2012
+
2013
+ :default: - no PropertyInjectors
2014
+ '''
2015
+ result = self._values.get("property_injectors")
2016
+ return typing.cast(typing.Optional[typing.List[_aws_cdk_ceddda9d.IPropertyInjector]], result)
2017
+
1999
2018
  @builtins.property
2000
2019
  def stack_name(self) -> typing.Optional[builtins.str]:
2001
2020
  '''Name to deploy the stack with.
@@ -3232,6 +3251,7 @@ class DefaultStagingStack(
3232
3251
  env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
3233
3252
  notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
3234
3253
  permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
3254
+ property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
3235
3255
  stack_name: typing.Optional[builtins.str] = None,
3236
3256
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
3237
3257
  synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
@@ -3258,6 +3278,7 @@ class DefaultStagingStack(
3258
3278
  :param env: The AWS environment (account/region) where this stack will be deployed. Set the ``region``/``account`` fields of ``env`` to either a concrete value to select the indicated environment (recommended for production stacks), or to the values of environment variables ``CDK_DEFAULT_REGION``/``CDK_DEFAULT_ACCOUNT`` to let the target environment depend on the AWS credentials/configuration that the CDK CLI is executed under (recommended for development stacks). If the ``Stack`` is instantiated inside a ``Stage``, any undefined ``region``/``account`` fields from ``env`` will default to the same field on the encompassing ``Stage``, if configured there. If either ``region`` or ``account`` are not set nor inherited from ``Stage``, the Stack will be considered "*environment-agnostic*"". Environment-agnostic stacks can be deployed to any environment but may not be able to take advantage of all features of the CDK. For example, they will not be able to use environmental context lookups such as ``ec2.Vpc.fromLookup`` and will not automatically translate Service Principals to the right format based on the environment's AWS partition, and other such enhancements. Default: - The environment of the containing ``Stage`` if available, otherwise create the stack will be environment-agnostic.
3259
3279
  :param notification_arns: SNS Topic ARNs that will receive stack events. Default: - no notfication arns.
3260
3280
  :param permissions_boundary: Options for applying a permissions boundary to all IAM Roles and Users created within this Stage. Default: - no permissions boundary is applied
3281
+ :param property_injectors: A list of IPropertyInjector attached to this Stack. Default: - no PropertyInjectors
3261
3282
  :param stack_name: Name to deploy the stack with. Default: - Derived from construct path.
3262
3283
  :param suppress_template_indentation: Enable this flag to suppress indentation in generated CloudFormation templates. If not specified, the value of the ``@aws-cdk/core:suppressTemplateIndentation`` context key will be used. If that is not specified, then the default value ``false`` will be used. Default: - the value of ``@aws-cdk/core:suppressTemplateIndentation``, or ``false`` if that is not set.
3263
3284
  :param synthesizer: Synthesis method to use while deploying this stack. The Stack Synthesizer controls aspects of synthesis and deployment, like how assets are referenced and what IAM roles to use. For more information, see the README of the main CDK package. If not specified, the ``defaultStackSynthesizer`` from ``App`` will be used. If that is not specified, ``DefaultStackSynthesizer`` is used if ``@aws-cdk/core:newStyleStackSynthesis`` is set to ``true`` or the CDK major version is v2. In CDK v1 ``LegacyStackSynthesizer`` is the default if no other synthesizer is specified. Default: - The synthesizer specified on ``App``, or ``DefaultStackSynthesizer`` otherwise.
@@ -3288,6 +3309,7 @@ class DefaultStagingStack(
3288
3309
  env=env,
3289
3310
  notification_arns=notification_arns,
3290
3311
  permissions_boundary=permissions_boundary,
3312
+ property_injectors=property_injectors,
3291
3313
  stack_name=stack_name,
3292
3314
  suppress_template_indentation=suppress_template_indentation,
3293
3315
  synthesizer=synthesizer,
@@ -3589,6 +3611,7 @@ def _typecheckingstub__ac9f132bcac8375ac08c16bf3c9bb7407b641e71cfd23cea8b50befa3
3589
3611
  env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
3590
3612
  notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
3591
3613
  permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
3614
+ property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
3592
3615
  stack_name: typing.Optional[builtins.str] = None,
3593
3616
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
3594
3617
  synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
@@ -3691,6 +3714,7 @@ def _typecheckingstub__ca741a4572a1f95a8d82e9d029388b8a2d72acacb69715277b6a785b4
3691
3714
  env: typing.Optional[typing.Union[_aws_cdk_ceddda9d.Environment, typing.Dict[builtins.str, typing.Any]]] = None,
3692
3715
  notification_arns: typing.Optional[typing.Sequence[builtins.str]] = None,
3693
3716
  permissions_boundary: typing.Optional[_aws_cdk_ceddda9d.PermissionsBoundary] = None,
3717
+ property_injectors: typing.Optional[typing.Sequence[_aws_cdk_ceddda9d.IPropertyInjector]] = None,
3694
3718
  stack_name: typing.Optional[builtins.str] = None,
3695
3719
  suppress_template_indentation: typing.Optional[builtins.bool] = None,
3696
3720
  synthesizer: typing.Optional[_aws_cdk_ceddda9d.IStackSynthesizer] = None,
@@ -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.194.0-alpha.0",
36
+ "2.196.0-alpha.0",
37
37
  __name__[0:-6],
38
- "app-staging-synthesizer-alpha@2.194.0-alpha.0.jsii.tgz",
38
+ "app-staging-synthesizer-alpha@2.196.0-alpha.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.app-staging-synthesizer-alpha
3
- Version: 2.194.0a0
3
+ Version: 2.196.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.194.0
25
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.196.0
26
26
  Requires-Dist: constructs<11.0.0,>=10.0.0
27
- Requires-Dist: jsii<2.0.0,>=1.110.0
27
+ Requires-Dist: jsii<2.0.0,>=1.112.0
28
28
  Requires-Dist: publication>=0.0.3
29
29
  Requires-Dist: typeguard<4.3.0,>=2.13.3
30
30
 
@@ -367,8 +367,8 @@ Or you can roll your own staging resources from scratch, as long as it implement
367
367
  ```python
368
368
  @jsii.implements(IStagingResources)
369
369
  class CustomStagingStack(Stack):
370
- 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):
371
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
370
+ 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):
371
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
372
372
 
373
373
  def add_file(self, *, sourceHash, executable=None, fileName=None, packaging=None, deployTime=None, displayName=None):
374
374
  return FileStagingLocation(
@@ -0,0 +1,10 @@
1
+ aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=n7J1Ng_I5uDqp1aQZuJG-bhXaEP9VsVFxQfOetSXlNg,209583
2
+ aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=qwmLDBEWKvh5Cki_HKDlxVZkETj-Wk112F7cwR8x-14,1511
4
+ aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.196.0-alpha.0.jsii.tgz,sha256=J1QSP49fr3EkFvczT5ilCJgTsL5a0hhw3I5NuMC4HKo,87075
5
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/LICENSE,sha256=y47tc38H0C4DpGljYUZDl8XxidQjNxxGLq-K4jwv6Xc,11391
6
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/METADATA,sha256=JU2VnNxNq0Ph1s8yFnhc6XNxTUF-T6zE97D1zriVmDE,18387
7
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/NOTICE,sha256=ZDV6_xBfMvhFtjjBh_f6lJjhZ2AEWWAGGkx2kLKHiuc,113
8
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
9
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
+ aws_cdk_app_staging_synthesizer_alpha-2.196.0a0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aws_cdk/app_staging_synthesizer_alpha/__init__.py,sha256=YMYBXd-qtFN9Mfrk2K-ZZiW6ty6tUANb9JTug9V4zaA,207991
2
- aws_cdk/app_staging_synthesizer_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_cdk/app_staging_synthesizer_alpha/_jsii/__init__.py,sha256=_gRYXRfLjSRHtWsjdik2dNhPg8EH_qHD2l5YU9iMIBQ,1511
4
- aws_cdk/app_staging_synthesizer_alpha/_jsii/app-staging-synthesizer-alpha@2.194.0-alpha.0.jsii.tgz,sha256=0amWstKiPFxw27aleYeyTTxK6P4pxQ3VSaytfeJrml8,86826
5
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/LICENSE,sha256=y47tc38H0C4DpGljYUZDl8XxidQjNxxGLq-K4jwv6Xc,11391
6
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/METADATA,sha256=VxbNVUsjBtzNnpOnUTWOsPjCDQJGb45h_9xfIOxkAZ0,18326
7
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/NOTICE,sha256=ZDV6_xBfMvhFtjjBh_f6lJjhZ2AEWWAGGkx2kLKHiuc,113
8
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
9
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
- aws_cdk_app_staging_synthesizer_alpha-2.194.0a0.dist-info/RECORD,,