aws-cdk-lib 2.202.0__py3-none-any.whl → 2.203.1__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-lib might be problematic. Click here for more details.

Files changed (62) hide show
  1. aws_cdk/__init__.py +46 -47
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.202.0.jsii.tgz → aws-cdk-lib@2.203.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +310 -4
  5. aws_cdk/aws_aiops/__init__.py +964 -0
  6. aws_cdk/aws_amplify/__init__.py +127 -0
  7. aws_cdk/aws_arczonalshift/__init__.py +8 -8
  8. aws_cdk/aws_b2bi/__init__.py +782 -3
  9. aws_cdk/aws_backup/__init__.py +22 -0
  10. aws_cdk/aws_batch/__init__.py +53 -1
  11. aws_cdk/aws_bedrock/__init__.py +123 -9
  12. aws_cdk/aws_cleanrooms/__init__.py +157 -154
  13. aws_cdk/aws_cloudformation/__init__.py +28 -28
  14. aws_cdk/aws_cloudfront/__init__.py +61 -18
  15. aws_cdk/aws_cloudfront/experimental/__init__.py +37 -3
  16. aws_cdk/aws_cloudwatch/__init__.py +228 -2
  17. aws_cdk/aws_connect/__init__.py +120 -8
  18. aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
  19. aws_cdk/aws_customerprofiles/__init__.py +140 -20
  20. aws_cdk/aws_datazone/__init__.py +23 -4
  21. aws_cdk/aws_deadline/__init__.py +4 -4
  22. aws_cdk/aws_dsql/__init__.py +148 -0
  23. aws_cdk/aws_ec2/__init__.py +159 -7
  24. aws_cdk/aws_ecr/__init__.py +3 -3
  25. aws_cdk/aws_ecs/__init__.py +48 -13
  26. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
  27. aws_cdk/aws_emrserverless/__init__.py +118 -0
  28. aws_cdk/aws_fsx/__init__.py +891 -0
  29. aws_cdk/aws_iam/__init__.py +8 -8
  30. aws_cdk/aws_inspectorv2/__init__.py +442 -3
  31. aws_cdk/aws_kendra/__init__.py +10 -5
  32. aws_cdk/aws_kms/__init__.py +14 -8
  33. aws_cdk/aws_lambda/__init__.py +191 -24
  34. aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
  35. aws_cdk/aws_lex/__init__.py +703 -0
  36. aws_cdk/aws_logs/__init__.py +144 -0
  37. aws_cdk/aws_mediatailor/__init__.py +399 -0
  38. aws_cdk/aws_mpa/__init__.py +1475 -0
  39. aws_cdk/aws_networkfirewall/__init__.py +4 -2
  40. aws_cdk/aws_networkmanager/__init__.py +51 -3
  41. aws_cdk/aws_opsworkscm/__init__.py +44 -2
  42. aws_cdk/aws_rds/__init__.py +171 -41
  43. aws_cdk/aws_redshiftserverless/__init__.py +632 -0
  44. aws_cdk/aws_route53resolver/__init__.py +58 -10
  45. aws_cdk/aws_s3/__init__.py +3 -1
  46. aws_cdk/aws_s3tables/__init__.py +230 -0
  47. aws_cdk/aws_sagemaker/__init__.py +6 -2
  48. aws_cdk/aws_securityhub/__init__.py +2887 -56
  49. aws_cdk/aws_synthetics/__init__.py +21 -0
  50. aws_cdk/aws_vpclattice/__init__.py +6 -4
  51. aws_cdk/aws_wafv2/__init__.py +156 -51
  52. aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
  53. aws_cdk/cloud_assembly_schema/__init__.py +200 -4
  54. aws_cdk/cx_api/__init__.py +15 -14
  55. aws_cdk/pipelines/__init__.py +31 -3
  56. aws_cdk/triggers/__init__.py +41 -4
  57. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/METADATA +3 -3
  58. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/RECORD +62 -59
  59. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.202.0.dist-info → aws_cdk_lib-2.203.1.dist-info}/top_level.txt +0 -0
@@ -109,7 +109,7 @@ class ArtifactManifest:
109
109
  display_name: typing.Optional[builtins.str] = None,
110
110
  environment: typing.Optional[builtins.str] = None,
111
111
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union["MetadataEntry", typing.Dict[builtins.str, typing.Any]]]]] = None,
112
- properties: typing.Optional[typing.Union[typing.Union["AwsCloudFormationStackProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["AssetManifestProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["TreeArtifactProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["NestedCloudAssemblyProperties", typing.Dict[builtins.str, typing.Any]]]] = None,
112
+ properties: typing.Optional[typing.Union[typing.Union["AwsCloudFormationStackProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["AssetManifestProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["TreeArtifactProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["NestedCloudAssemblyProperties", typing.Dict[builtins.str, typing.Any]], typing.Union["FeatureFlagReportProperties", typing.Dict[builtins.str, typing.Any]]]] = None,
113
113
  ) -> None:
114
114
  '''A manifest for a single artifact within the cloud assembly.
115
115
 
@@ -258,13 +258,13 @@ class ArtifactManifest:
258
258
  @builtins.property
259
259
  def properties(
260
260
  self,
261
- ) -> typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties"]]:
261
+ ) -> typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties", "FeatureFlagReportProperties"]]:
262
262
  '''The set of properties for this artifact (depends on type).
263
263
 
264
264
  :default: - no properties.
265
265
  '''
266
266
  result = self._values.get("properties")
267
- return typing.cast(typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties"]], result)
267
+ return typing.cast(typing.Optional[typing.Union["AwsCloudFormationStackProperties", "AssetManifestProperties", "TreeArtifactProperties", "NestedCloudAssemblyProperties", "FeatureFlagReportProperties"]], result)
268
268
 
269
269
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
270
270
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -312,6 +312,8 @@ class ArtifactType(enum.Enum):
312
312
  '''Manifest for all assets in the Cloud Assembly.'''
313
313
  NESTED_CLOUD_ASSEMBLY = "NESTED_CLOUD_ASSEMBLY"
314
314
  '''Nested Cloud Assembly.'''
315
+ FEATURE_FLAG_REPORT = "FEATURE_FLAG_REPORT"
316
+ '''Feature flag report.'''
315
317
 
316
318
 
317
319
  @jsii.data_type(
@@ -4857,6 +4859,181 @@ class EndpointServiceAvailabilityZonesContextQuery(ContextLookupRoleOptions):
4857
4859
  )
4858
4860
 
4859
4861
 
4862
+ @jsii.data_type(
4863
+ jsii_type="aws-cdk-lib.cloud_assembly_schema.FeatureFlag",
4864
+ jsii_struct_bases=[],
4865
+ name_mapping={
4866
+ "explanation": "explanation",
4867
+ "recommended_value": "recommendedValue",
4868
+ "user_value": "userValue",
4869
+ },
4870
+ )
4871
+ class FeatureFlag:
4872
+ def __init__(
4873
+ self,
4874
+ *,
4875
+ explanation: typing.Optional[builtins.str] = None,
4876
+ recommended_value: typing.Any = None,
4877
+ user_value: typing.Any = None,
4878
+ ) -> None:
4879
+ '''A single feature flag.
4880
+
4881
+ :param explanation: Explanation about the purpose of this flag that can be shown to the user. Default: - No description
4882
+ :param recommended_value: The library-recommended value for this flag, if any. It is possible that there is no recommended value. Default: - No recommended value.
4883
+ :param user_value: The value configured by the user. This is the value configured at the root of the tree. Users may also have configured values at specific locations in the tree; we don't report on those. Default: - Not configured by the user
4884
+
4885
+ :exampleMetadata: fixture=_generated
4886
+
4887
+ Example::
4888
+
4889
+ # The code below shows an example of how to instantiate this type.
4890
+ # The values are placeholders you should change.
4891
+ from aws_cdk import cloud_assembly_schema
4892
+
4893
+ # recommended_value: Any
4894
+ # user_value: Any
4895
+
4896
+ feature_flag = FeatureFlag(
4897
+ explanation="explanation",
4898
+ recommended_value=recommended_value,
4899
+ user_value=user_value
4900
+ )
4901
+ '''
4902
+ if __debug__:
4903
+ type_hints = typing.get_type_hints(_typecheckingstub__d7ccfacd89aa44cd30dd2b6b40d937da9546cf5f11f13266ca45710d4e373233)
4904
+ check_type(argname="argument explanation", value=explanation, expected_type=type_hints["explanation"])
4905
+ check_type(argname="argument recommended_value", value=recommended_value, expected_type=type_hints["recommended_value"])
4906
+ check_type(argname="argument user_value", value=user_value, expected_type=type_hints["user_value"])
4907
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4908
+ if explanation is not None:
4909
+ self._values["explanation"] = explanation
4910
+ if recommended_value is not None:
4911
+ self._values["recommended_value"] = recommended_value
4912
+ if user_value is not None:
4913
+ self._values["user_value"] = user_value
4914
+
4915
+ @builtins.property
4916
+ def explanation(self) -> typing.Optional[builtins.str]:
4917
+ '''Explanation about the purpose of this flag that can be shown to the user.
4918
+
4919
+ :default: - No description
4920
+ '''
4921
+ result = self._values.get("explanation")
4922
+ return typing.cast(typing.Optional[builtins.str], result)
4923
+
4924
+ @builtins.property
4925
+ def recommended_value(self) -> typing.Any:
4926
+ '''The library-recommended value for this flag, if any.
4927
+
4928
+ It is possible that there is no recommended value.
4929
+
4930
+ :default: - No recommended value.
4931
+ '''
4932
+ result = self._values.get("recommended_value")
4933
+ return typing.cast(typing.Any, result)
4934
+
4935
+ @builtins.property
4936
+ def user_value(self) -> typing.Any:
4937
+ '''The value configured by the user.
4938
+
4939
+ This is the value configured at the root of the tree. Users may also have
4940
+ configured values at specific locations in the tree; we don't report on
4941
+ those.
4942
+
4943
+ :default: - Not configured by the user
4944
+ '''
4945
+ result = self._values.get("user_value")
4946
+ return typing.cast(typing.Any, result)
4947
+
4948
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4949
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4950
+
4951
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4952
+ return not (rhs == self)
4953
+
4954
+ def __repr__(self) -> str:
4955
+ return "FeatureFlag(%s)" % ", ".join(
4956
+ k + "=" + repr(v) for k, v in self._values.items()
4957
+ )
4958
+
4959
+
4960
+ @jsii.data_type(
4961
+ jsii_type="aws-cdk-lib.cloud_assembly_schema.FeatureFlagReportProperties",
4962
+ jsii_struct_bases=[],
4963
+ name_mapping={"flags": "flags", "module": "module"},
4964
+ )
4965
+ class FeatureFlagReportProperties:
4966
+ def __init__(
4967
+ self,
4968
+ *,
4969
+ flags: typing.Mapping[builtins.str, typing.Union[FeatureFlag, typing.Dict[builtins.str, typing.Any]]],
4970
+ module: builtins.str,
4971
+ ) -> None:
4972
+ '''Artifact properties for a feature flag report.
4973
+
4974
+ A feature flag report is small enough that all the properties can be inlined
4975
+ here, and doesn't need an additional file.
4976
+
4977
+ :param flags: Information about every feature flag supported by this library.
4978
+ :param module: The library that this feature flag report applies to.
4979
+
4980
+ :exampleMetadata: fixture=_generated
4981
+
4982
+ Example::
4983
+
4984
+ # The code below shows an example of how to instantiate this type.
4985
+ # The values are placeholders you should change.
4986
+ from aws_cdk import cloud_assembly_schema
4987
+
4988
+ # recommended_value: Any
4989
+ # user_value: Any
4990
+
4991
+ feature_flag_report_properties = FeatureFlagReportProperties(
4992
+ flags={
4993
+ "flags_key": FeatureFlag(
4994
+ explanation="explanation",
4995
+ recommended_value=recommended_value,
4996
+ user_value=user_value
4997
+ )
4998
+ },
4999
+ module="module"
5000
+ )
5001
+ '''
5002
+ if __debug__:
5003
+ type_hints = typing.get_type_hints(_typecheckingstub__028d9005a883d2bec5fe9dc6270df8f73f5150cc394cf0043b71cf90072d2ce5)
5004
+ check_type(argname="argument flags", value=flags, expected_type=type_hints["flags"])
5005
+ check_type(argname="argument module", value=module, expected_type=type_hints["module"])
5006
+ self._values: typing.Dict[builtins.str, typing.Any] = {
5007
+ "flags": flags,
5008
+ "module": module,
5009
+ }
5010
+
5011
+ @builtins.property
5012
+ def flags(self) -> typing.Mapping[builtins.str, FeatureFlag]:
5013
+ '''Information about every feature flag supported by this library.'''
5014
+ result = self._values.get("flags")
5015
+ assert result is not None, "Required property 'flags' is missing"
5016
+ return typing.cast(typing.Mapping[builtins.str, FeatureFlag], result)
5017
+
5018
+ @builtins.property
5019
+ def module(self) -> builtins.str:
5020
+ '''The library that this feature flag report applies to.'''
5021
+ result = self._values.get("module")
5022
+ assert result is not None, "Required property 'module' is missing"
5023
+ return typing.cast(builtins.str, result)
5024
+
5025
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5026
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5027
+
5028
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5029
+ return not (rhs == self)
5030
+
5031
+ def __repr__(self) -> str:
5032
+ return "FeatureFlagReportProperties(%s)" % ", ".join(
5033
+ k + "=" + repr(v) for k, v in self._values.items()
5034
+ )
5035
+
5036
+
4860
5037
  @jsii.data_type(
4861
5038
  jsii_type="aws-cdk-lib.cloud_assembly_schema.FileAsset",
4862
5039
  jsii_struct_bases=[],
@@ -9019,6 +9196,8 @@ __all__ = [
9019
9196
  "DockerImageDestination",
9020
9197
  "DockerImageSource",
9021
9198
  "EndpointServiceAvailabilityZonesContextQuery",
9199
+ "FeatureFlag",
9200
+ "FeatureFlagReportProperties",
9022
9201
  "FileAsset",
9023
9202
  "FileAssetMetadataEntry",
9024
9203
  "FileAssetPackaging",
@@ -9060,7 +9239,7 @@ def _typecheckingstub__c0fe0dea35f8750630dc6eb16d5f979ef40079f01dc4afec1b7ebf62d
9060
9239
  display_name: typing.Optional[builtins.str] = None,
9061
9240
  environment: typing.Optional[builtins.str] = None,
9062
9241
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[MetadataEntry, typing.Dict[builtins.str, typing.Any]]]]] = None,
9063
- properties: typing.Optional[typing.Union[typing.Union[AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
9242
+ properties: typing.Optional[typing.Union[typing.Union[AwsCloudFormationStackProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[AssetManifestProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[TreeArtifactProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[NestedCloudAssemblyProperties, typing.Dict[builtins.str, typing.Any]], typing.Union[FeatureFlagReportProperties, typing.Dict[builtins.str, typing.Any]]]] = None,
9064
9243
  ) -> None:
9065
9244
  """Type checking stubs"""
9066
9245
  pass
@@ -9386,6 +9565,23 @@ def _typecheckingstub__b028a59a345f6074485bae83f874fa7eca8081fea4616b491a43cfb78
9386
9565
  """Type checking stubs"""
9387
9566
  pass
9388
9567
 
9568
+ def _typecheckingstub__d7ccfacd89aa44cd30dd2b6b40d937da9546cf5f11f13266ca45710d4e373233(
9569
+ *,
9570
+ explanation: typing.Optional[builtins.str] = None,
9571
+ recommended_value: typing.Any = None,
9572
+ user_value: typing.Any = None,
9573
+ ) -> None:
9574
+ """Type checking stubs"""
9575
+ pass
9576
+
9577
+ def _typecheckingstub__028d9005a883d2bec5fe9dc6270df8f73f5150cc394cf0043b71cf90072d2ce5(
9578
+ *,
9579
+ flags: typing.Mapping[builtins.str, typing.Union[FeatureFlag, typing.Dict[builtins.str, typing.Any]]],
9580
+ module: builtins.str,
9581
+ ) -> None:
9582
+ """Type checking stubs"""
9583
+ pass
9584
+
9389
9585
  def _typecheckingstub__a482db8874b6a4a96f9be44511cc506737e4b70dff2a99f6ee0f1566bc96c3d8(
9390
9586
  *,
9391
9587
  destinations: typing.Mapping[builtins.str, typing.Union[FileDestination, typing.Dict[builtins.str, typing.Any]]],
@@ -812,6 +812,7 @@ from ..cloud_assembly_schema import (
812
812
  ContainerImageAssetMetadataEntry as _ContainerImageAssetMetadataEntry_0a212d1d,
813
813
  ContextProvider as _ContextProvider_fa789bb5,
814
814
  EndpointServiceAvailabilityZonesContextQuery as _EndpointServiceAvailabilityZonesContextQuery_ea3ca0d1,
815
+ FeatureFlagReportProperties as _FeatureFlagReportProperties_2cfd3047,
815
816
  FileAssetMetadataEntry as _FileAssetMetadataEntry_50173f8f,
816
817
  HostedZoneContextQuery as _HostedZoneContextQuery_8e6ca28f,
817
818
  ICloudAssembly as _ICloudAssembly_3b620685,
@@ -1050,7 +1051,7 @@ class CloudArtifact(
1050
1051
  display_name: typing.Optional[builtins.str] = None,
1051
1052
  environment: typing.Optional[builtins.str] = None,
1052
1053
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
1053
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
1054
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
1054
1055
  ) -> None:
1055
1056
  '''
1056
1057
  :param assembly: -
@@ -1089,7 +1090,7 @@ class CloudArtifact(
1089
1090
  display_name: typing.Optional[builtins.str] = None,
1090
1091
  environment: typing.Optional[builtins.str] = None,
1091
1092
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
1092
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
1093
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
1093
1094
  ) -> typing.Optional["CloudArtifact"]:
1094
1095
  '''Returns a subclass of ``CloudArtifact`` based on the artifact type defined in the artifact manifest.
1095
1096
 
@@ -1429,7 +1430,7 @@ class CloudAssemblyBuilder(
1429
1430
  display_name: typing.Optional[builtins.str] = None,
1430
1431
  environment: typing.Optional[builtins.str] = None,
1431
1432
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
1432
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
1433
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
1433
1434
  ) -> None:
1434
1435
  '''Adds an artifact into the cloud assembly.
1435
1436
 
@@ -1669,7 +1670,7 @@ class CloudFormationStackArtifact(
1669
1670
  display_name: typing.Optional[builtins.str] = None,
1670
1671
  environment: typing.Optional[builtins.str] = None,
1671
1672
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
1672
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
1673
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
1673
1674
  ) -> None:
1674
1675
  '''
1675
1676
  :param assembly: -
@@ -2765,7 +2766,7 @@ class NestedCloudAssemblyArtifact(
2765
2766
  display_name: typing.Optional[builtins.str] = None,
2766
2767
  environment: typing.Optional[builtins.str] = None,
2767
2768
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
2768
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
2769
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
2769
2770
  ) -> None:
2770
2771
  '''
2771
2772
  :param assembly: -
@@ -3086,7 +3087,7 @@ class TreeCloudArtifact(
3086
3087
  display_name: typing.Optional[builtins.str] = None,
3087
3088
  environment: typing.Optional[builtins.str] = None,
3088
3089
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3089
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
3090
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
3090
3091
  ) -> None:
3091
3092
  '''
3092
3093
  :param assembly: -
@@ -3746,7 +3747,7 @@ class AssetManifestArtifact(
3746
3747
  display_name: typing.Optional[builtins.str] = None,
3747
3748
  environment: typing.Optional[builtins.str] = None,
3748
3749
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3749
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
3750
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
3750
3751
  ) -> None:
3751
3752
  '''
3752
3753
  :param assembly: -
@@ -3879,7 +3880,7 @@ def _typecheckingstub__25d9df0767e898e3c7d2743835aa9ce65467ceb2a717a448ad988e9d7
3879
3880
  display_name: typing.Optional[builtins.str] = None,
3880
3881
  environment: typing.Optional[builtins.str] = None,
3881
3882
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3882
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
3883
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
3883
3884
  ) -> None:
3884
3885
  """Type checking stubs"""
3885
3886
  pass
@@ -3893,7 +3894,7 @@ def _typecheckingstub__a43b33c096c23def76559e7ae04cbbfebe9400c25a9d7ec0ac79410d9
3893
3894
  display_name: typing.Optional[builtins.str] = None,
3894
3895
  environment: typing.Optional[builtins.str] = None,
3895
3896
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3896
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
3897
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
3897
3898
  ) -> None:
3898
3899
  """Type checking stubs"""
3899
3900
  pass
@@ -3967,7 +3968,7 @@ def _typecheckingstub__261d018bdb1dc9a71bf2eedbb2cef096556840e4a312cda97d5254271
3967
3968
  display_name: typing.Optional[builtins.str] = None,
3968
3969
  environment: typing.Optional[builtins.str] = None,
3969
3970
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3970
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
3971
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
3971
3972
  ) -> None:
3972
3973
  """Type checking stubs"""
3973
3974
  pass
@@ -3996,7 +3997,7 @@ def _typecheckingstub__efbcfecbcc773b1f90d568df2c82e4e67168ad418a9cd97880b975d21
3996
3997
  display_name: typing.Optional[builtins.str] = None,
3997
3998
  environment: typing.Optional[builtins.str] = None,
3998
3999
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
3999
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
4000
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
4000
4001
  ) -> None:
4001
4002
  """Type checking stubs"""
4002
4003
  pass
@@ -4118,7 +4119,7 @@ def _typecheckingstub__58cd751fc0676bdece56072cebc370619182e12e08433ef6415db29d4
4118
4119
  display_name: typing.Optional[builtins.str] = None,
4119
4120
  environment: typing.Optional[builtins.str] = None,
4120
4121
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
4121
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
4122
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
4122
4123
  ) -> None:
4123
4124
  """Type checking stubs"""
4124
4125
  pass
@@ -4155,7 +4156,7 @@ def _typecheckingstub__3ac926e1ee09e8dfca43023911e9514e33e19b8a91828eab4d450a48d
4155
4156
  display_name: typing.Optional[builtins.str] = None,
4156
4157
  environment: typing.Optional[builtins.str] = None,
4157
4158
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
4158
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
4159
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
4159
4160
  ) -> None:
4160
4161
  """Type checking stubs"""
4161
4162
  pass
@@ -4216,7 +4217,7 @@ def _typecheckingstub__4d3ca09f65f0b6d82995f24fb98a9330c17865775e1a04d254348d053
4216
4217
  display_name: typing.Optional[builtins.str] = None,
4217
4218
  environment: typing.Optional[builtins.str] = None,
4218
4219
  metadata: typing.Optional[typing.Mapping[builtins.str, typing.Sequence[typing.Union[_MetadataEntry_13e1bf79, typing.Dict[builtins.str, typing.Any]]]]] = None,
4219
- properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]]]] = None,
4220
+ properties: typing.Optional[typing.Union[typing.Union[_AwsCloudFormationStackProperties_50fb16af, typing.Dict[builtins.str, typing.Any]], typing.Union[_AssetManifestProperties_9084879a, typing.Dict[builtins.str, typing.Any]], typing.Union[_TreeArtifactProperties_4092757e, typing.Dict[builtins.str, typing.Any]], typing.Union[_NestedCloudAssemblyProperties_c2fa342d, typing.Dict[builtins.str, typing.Any]], typing.Union[_FeatureFlagReportProperties_2cfd3047, typing.Dict[builtins.str, typing.Any]]]] = None,
4220
4221
  ) -> None:
4221
4222
  """Type checking stubs"""
4222
4223
  pass
@@ -2393,6 +2393,7 @@ class CodePipelineActionFactoryResult:
2393
2393
  "synth": "synth",
2394
2394
  "artifact_bucket": "artifactBucket",
2395
2395
  "asset_publishing_code_build_defaults": "assetPublishingCodeBuildDefaults",
2396
+ "cdk_assets_cli_version": "cdkAssetsCliVersion",
2396
2397
  "cli_version": "cliVersion",
2397
2398
  "code_build_defaults": "codeBuildDefaults",
2398
2399
  "code_pipeline": "codePipeline",
@@ -2421,6 +2422,7 @@ class CodePipelineProps:
2421
2422
  synth: "IFileSetProducer",
2422
2423
  artifact_bucket: typing.Optional[_IBucket_42e086fd] = None,
2423
2424
  asset_publishing_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
2425
+ cdk_assets_cli_version: typing.Optional[builtins.str] = None,
2424
2426
  cli_version: typing.Optional[builtins.str] = None,
2425
2427
  code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
2426
2428
  code_pipeline: typing.Optional[_Pipeline_ea38de84] = None,
@@ -2446,7 +2448,8 @@ class CodePipelineProps:
2446
2448
  :param synth: The build step that produces the CDK Cloud Assembly. The primary output of this step needs to be the ``cdk.out`` directory generated by the ``cdk synth`` command. If you use a ``ShellStep`` here and you don't configure an output directory, the output directory will automatically be assumed to be ``cdk.out``.
2447
2449
  :param artifact_bucket: An existing S3 Bucket to use for storing the pipeline's artifact. Default: - A new S3 bucket will be created.
2448
2450
  :param asset_publishing_code_build_defaults: Additional customizations to apply to the asset publishing CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
2449
- :param cli_version: CDK CLI version to use in self-mutation and asset publishing steps. If you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. If you do specify it, be aware that this version should always be equal to or higher than the version of the CDK framework used by the CDK app, when the CDK commands are run during your pipeline execution. When you change this version, the *next time* the ``SelfMutate`` step runs it will still be using the CLI of the the *previous* version that was in this property: it will only start using the new version after ``SelfMutate`` completes successfully. That means that if you want to update both framework and CLI version, you should update the CLI version first, commit, push and deploy, and only then update the framework version. Default: - Latest version
2451
+ :param cdk_assets_cli_version: CDK CLI version to use in asset publishing steps. If you want to lock the ``cdk-assets`` version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. Default: - Latest version
2452
+ :param cli_version: CDK CLI version to use in self-mutation step. If you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. If you do specify it, be aware that this version should always be equal to or higher than the version of the CDK framework used by the CDK app, when the CDK commands are run during your pipeline execution. When you change this version, the *next time* the ``SelfMutate`` step runs it will still be using the CLI of the the *previous* version that was in this property: it will only start using the new version after ``SelfMutate`` completes successfully. That means that if you want to update both framework and CLI version, you should update the CLI version first, commit, push and deploy, and only then update the framework version. Default: - Latest version
2450
2453
  :param code_build_defaults: Customize the CodeBuild projects created for this pipeline. Default: - All projects run non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_7_0
2451
2454
  :param code_pipeline: An existing Pipeline to be reused and built upon. [disable-awslint:ref-via-interface] Default: - a new underlying pipeline is created.
2452
2455
  :param cross_account_keys: Create KMS keys for the artifact buckets, allowing cross-account deployments. The artifact buckets have to be encrypted to support deploying CDK apps to another account, so if you want to do that or want to have your artifact buckets encrypted, be sure to set this value to ``true``. Be aware there is a cost associated with maintaining the KMS keys. Default: false
@@ -2496,6 +2499,7 @@ class CodePipelineProps:
2496
2499
  check_type(argname="argument synth", value=synth, expected_type=type_hints["synth"])
2497
2500
  check_type(argname="argument artifact_bucket", value=artifact_bucket, expected_type=type_hints["artifact_bucket"])
2498
2501
  check_type(argname="argument asset_publishing_code_build_defaults", value=asset_publishing_code_build_defaults, expected_type=type_hints["asset_publishing_code_build_defaults"])
2502
+ check_type(argname="argument cdk_assets_cli_version", value=cdk_assets_cli_version, expected_type=type_hints["cdk_assets_cli_version"])
2499
2503
  check_type(argname="argument cli_version", value=cli_version, expected_type=type_hints["cli_version"])
2500
2504
  check_type(argname="argument code_build_defaults", value=code_build_defaults, expected_type=type_hints["code_build_defaults"])
2501
2505
  check_type(argname="argument code_pipeline", value=code_pipeline, expected_type=type_hints["code_pipeline"])
@@ -2522,6 +2526,8 @@ class CodePipelineProps:
2522
2526
  self._values["artifact_bucket"] = artifact_bucket
2523
2527
  if asset_publishing_code_build_defaults is not None:
2524
2528
  self._values["asset_publishing_code_build_defaults"] = asset_publishing_code_build_defaults
2529
+ if cdk_assets_cli_version is not None:
2530
+ self._values["cdk_assets_cli_version"] = cdk_assets_cli_version
2525
2531
  if cli_version is not None:
2526
2532
  self._values["cli_version"] = cli_version
2527
2533
  if code_build_defaults is not None:
@@ -2593,9 +2599,26 @@ class CodePipelineProps:
2593
2599
  result = self._values.get("asset_publishing_code_build_defaults")
2594
2600
  return typing.cast(typing.Optional[CodeBuildOptions], result)
2595
2601
 
2602
+ @builtins.property
2603
+ def cdk_assets_cli_version(self) -> typing.Optional[builtins.str]:
2604
+ '''CDK CLI version to use in asset publishing steps.
2605
+
2606
+ If you want to lock the ``cdk-assets`` version used in the pipeline, by steps
2607
+ that are automatically generated for you, specify the version here.
2608
+
2609
+ We recommend you do not specify this value, as not specifying it always
2610
+ uses the latest CLI version which is backwards compatible with old versions.
2611
+
2612
+ :default: - Latest version
2613
+
2614
+ :see: https://www.npmjs.com/package/cdk-assets
2615
+ '''
2616
+ result = self._values.get("cdk_assets_cli_version")
2617
+ return typing.cast(typing.Optional[builtins.str], result)
2618
+
2596
2619
  @builtins.property
2597
2620
  def cli_version(self) -> typing.Optional[builtins.str]:
2598
- '''CDK CLI version to use in self-mutation and asset publishing steps.
2621
+ '''CDK CLI version to use in self-mutation step.
2599
2622
 
2600
2623
  If you want to lock the CDK CLI version used in the pipeline, by steps
2601
2624
  that are automatically generated for you, specify the version here.
@@ -6658,6 +6681,7 @@ class CodePipeline(
6658
6681
  synth: IFileSetProducer,
6659
6682
  artifact_bucket: typing.Optional[_IBucket_42e086fd] = None,
6660
6683
  asset_publishing_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6684
+ cdk_assets_cli_version: typing.Optional[builtins.str] = None,
6661
6685
  cli_version: typing.Optional[builtins.str] = None,
6662
6686
  code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
6663
6687
  code_pipeline: typing.Optional[_Pipeline_ea38de84] = None,
@@ -6684,7 +6708,8 @@ class CodePipeline(
6684
6708
  :param synth: The build step that produces the CDK Cloud Assembly. The primary output of this step needs to be the ``cdk.out`` directory generated by the ``cdk synth`` command. If you use a ``ShellStep`` here and you don't configure an output directory, the output directory will automatically be assumed to be ``cdk.out``.
6685
6709
  :param artifact_bucket: An existing S3 Bucket to use for storing the pipeline's artifact. Default: - A new S3 bucket will be created.
6686
6710
  :param asset_publishing_code_build_defaults: Additional customizations to apply to the asset publishing CodeBuild projects. Default: - Only ``codeBuildDefaults`` are applied
6687
- :param cli_version: CDK CLI version to use in self-mutation and asset publishing steps. If you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. If you do specify it, be aware that this version should always be equal to or higher than the version of the CDK framework used by the CDK app, when the CDK commands are run during your pipeline execution. When you change this version, the *next time* the ``SelfMutate`` step runs it will still be using the CLI of the the *previous* version that was in this property: it will only start using the new version after ``SelfMutate`` completes successfully. That means that if you want to update both framework and CLI version, you should update the CLI version first, commit, push and deploy, and only then update the framework version. Default: - Latest version
6711
+ :param cdk_assets_cli_version: CDK CLI version to use in asset publishing steps. If you want to lock the ``cdk-assets`` version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. Default: - Latest version
6712
+ :param cli_version: CDK CLI version to use in self-mutation step. If you want to lock the CDK CLI version used in the pipeline, by steps that are automatically generated for you, specify the version here. We recommend you do not specify this value, as not specifying it always uses the latest CLI version which is backwards compatible with old versions. If you do specify it, be aware that this version should always be equal to or higher than the version of the CDK framework used by the CDK app, when the CDK commands are run during your pipeline execution. When you change this version, the *next time* the ``SelfMutate`` step runs it will still be using the CLI of the the *previous* version that was in this property: it will only start using the new version after ``SelfMutate`` completes successfully. That means that if you want to update both framework and CLI version, you should update the CLI version first, commit, push and deploy, and only then update the framework version. Default: - Latest version
6688
6713
  :param code_build_defaults: Customize the CodeBuild projects created for this pipeline. Default: - All projects run non-privileged build, SMALL instance, LinuxBuildImage.STANDARD_7_0
6689
6714
  :param code_pipeline: An existing Pipeline to be reused and built upon. [disable-awslint:ref-via-interface] Default: - a new underlying pipeline is created.
6690
6715
  :param cross_account_keys: Create KMS keys for the artifact buckets, allowing cross-account deployments. The artifact buckets have to be encrypted to support deploying CDK apps to another account, so if you want to do that or want to have your artifact buckets encrypted, be sure to set this value to ``true``. Be aware there is a cost associated with maintaining the KMS keys. Default: false
@@ -6712,6 +6737,7 @@ class CodePipeline(
6712
6737
  synth=synth,
6713
6738
  artifact_bucket=artifact_bucket,
6714
6739
  asset_publishing_code_build_defaults=asset_publishing_code_build_defaults,
6740
+ cdk_assets_cli_version=cdk_assets_cli_version,
6715
6741
  cli_version=cli_version,
6716
6742
  code_build_defaults=code_build_defaults,
6717
6743
  code_pipeline=code_pipeline,
@@ -8073,6 +8099,7 @@ def _typecheckingstub__c46bc21ca63efb27c935c31017ebbc8c85b3b93ae1798e54892dd3eae
8073
8099
  synth: IFileSetProducer,
8074
8100
  artifact_bucket: typing.Optional[_IBucket_42e086fd] = None,
8075
8101
  asset_publishing_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8102
+ cdk_assets_cli_version: typing.Optional[builtins.str] = None,
8076
8103
  cli_version: typing.Optional[builtins.str] = None,
8077
8104
  code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8078
8105
  code_pipeline: typing.Optional[_Pipeline_ea38de84] = None,
@@ -8540,6 +8567,7 @@ def _typecheckingstub__7b4b4a0bcbd5fab3e4b78aa07ff9504469ae96c16799604ca3345bcb9
8540
8567
  synth: IFileSetProducer,
8541
8568
  artifact_bucket: typing.Optional[_IBucket_42e086fd] = None,
8542
8569
  asset_publishing_code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8570
+ cdk_assets_cli_version: typing.Optional[builtins.str] = None,
8543
8571
  cli_version: typing.Optional[builtins.str] = None,
8544
8572
  code_build_defaults: typing.Optional[typing.Union[CodeBuildOptions, typing.Dict[builtins.str, typing.Any]]] = None,
8545
8573
  code_pipeline: typing.Optional[_Pipeline_ea38de84] = None,