aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.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 (266) hide show
  1. aws_cdk/__init__.py +157 -215
  2. aws_cdk/_jsii/__init__.py +2 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -3
  5. aws_cdk/aws_accessanalyzer/__init__.py +5 -5
  6. aws_cdk/aws_acmpca/__init__.py +79 -24
  7. aws_cdk/aws_amazonmq/__init__.py +161 -161
  8. aws_cdk/aws_amplify/__init__.py +36 -36
  9. aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
  10. aws_cdk/aws_apigateway/__init__.py +122 -122
  11. aws_cdk/aws_apigatewayv2/__init__.py +143 -130
  12. aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
  13. aws_cdk/aws_appconfig/__init__.py +59 -59
  14. aws_cdk/aws_appflow/__init__.py +20 -20
  15. aws_cdk/aws_appintegrations/__init__.py +19 -19
  16. aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
  17. aws_cdk/aws_applicationinsights/__init__.py +11 -11
  18. aws_cdk/aws_applicationsignals/__init__.py +5 -5
  19. aws_cdk/aws_appmesh/__init__.py +35 -35
  20. aws_cdk/aws_apprunner/__init__.py +25 -25
  21. aws_cdk/aws_appstream/__init__.py +105 -105
  22. aws_cdk/aws_appsync/__init__.py +89 -89
  23. aws_cdk/aws_apptest/__init__.py +25 -25
  24. aws_cdk/aws_aps/__init__.py +14 -14
  25. aws_cdk/aws_arczonalshift/__init__.py +200 -3
  26. aws_cdk/aws_athena/__init__.py +25 -25
  27. aws_cdk/aws_auditmanager/__init__.py +15 -15
  28. aws_cdk/aws_autoscaling/__init__.py +84 -84
  29. aws_cdk/aws_autoscalingplans/__init__.py +2 -2
  30. aws_cdk/aws_b2bi/__init__.py +24 -24
  31. aws_cdk/aws_backup/__init__.py +33 -33
  32. aws_cdk/aws_backupgateway/__init__.py +7 -7
  33. aws_cdk/aws_batch/__init__.py +289 -35
  34. aws_cdk/aws_bcmdataexports/__init__.py +2 -2
  35. aws_cdk/aws_bedrock/__init__.py +15766 -3438
  36. aws_cdk/aws_billingconductor/__init__.py +28 -28
  37. aws_cdk/aws_budgets/__init__.py +12 -12
  38. aws_cdk/aws_cassandra/__init__.py +16 -16
  39. aws_cdk/aws_ce/__init__.py +17 -17
  40. aws_cdk/aws_certificatemanager/__init__.py +9 -9
  41. aws_cdk/aws_chatbot/__init__.py +22 -22
  42. aws_cdk/aws_cleanrooms/__init__.py +2470 -307
  43. aws_cdk/aws_cleanroomsml/__init__.py +5 -5
  44. aws_cdk/aws_cloud9/__init__.py +10 -10
  45. aws_cdk/aws_cloudformation/__init__.py +94 -69
  46. aws_cdk/aws_cloudfront/__init__.py +47 -33
  47. aws_cdk/aws_cloudtrail/__init__.py +46 -44
  48. aws_cdk/aws_cloudwatch/__init__.py +61 -69
  49. aws_cdk/aws_codeartifact/__init__.py +19 -19
  50. aws_cdk/aws_codebuild/__init__.py +99 -68
  51. aws_cdk/aws_codecommit/__init__.py +10 -6
  52. aws_cdk/aws_codeconnections/__init__.py +5 -5
  53. aws_cdk/aws_codedeploy/__init__.py +28 -28
  54. aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
  55. aws_cdk/aws_codegurureviewer/__init__.py +6 -6
  56. aws_cdk/aws_codepipeline/__init__.py +849 -52
  57. aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
  58. aws_cdk/aws_codestar/__init__.py +8 -8
  59. aws_cdk/aws_codestarconnections/__init__.py +17 -17
  60. aws_cdk/aws_codestarnotifications/__init__.py +10 -10
  61. aws_cdk/aws_cognito/__init__.py +465 -133
  62. aws_cdk/aws_comprehend/__init__.py +20 -20
  63. aws_cdk/aws_config/__init__.py +67 -67
  64. aws_cdk/aws_connect/__init__.py +139 -137
  65. aws_cdk/aws_connectcampaigns/__init__.py +5 -5
  66. aws_cdk/aws_controltower/__init__.py +12 -12
  67. aws_cdk/aws_cur/__init__.py +12 -12
  68. aws_cdk/aws_customerprofiles/__init__.py +36 -36
  69. aws_cdk/aws_databrew/__init__.py +45 -45
  70. aws_cdk/aws_datapipeline/__init__.py +12 -8
  71. aws_cdk/aws_datasync/__init__.py +119 -117
  72. aws_cdk/aws_datazone/__init__.py +63 -63
  73. aws_cdk/aws_dax/__init__.py +20 -20
  74. aws_cdk/aws_deadline/__init__.py +221 -292
  75. aws_cdk/aws_detective/__init__.py +8 -8
  76. aws_cdk/aws_devicefarm/__init__.py +37 -37
  77. aws_cdk/aws_devopsguru/__init__.py +2 -2
  78. aws_cdk/aws_directoryservice/__init__.py +15 -15
  79. aws_cdk/aws_dlm/__init__.py +12 -12
  80. aws_cdk/aws_dms/__init__.py +300 -298
  81. aws_cdk/aws_docdb/__init__.py +49 -49
  82. aws_cdk/aws_docdbelastic/__init__.py +14 -14
  83. aws_cdk/aws_dynamodb/__init__.py +371 -37
  84. aws_cdk/aws_ec2/__init__.py +914 -612
  85. aws_cdk/aws_ecr/__init__.py +117 -77
  86. aws_cdk/aws_ecr_assets/__init__.py +4 -4
  87. aws_cdk/aws_ecs/__init__.py +192 -191
  88. aws_cdk/aws_ecs_patterns/__init__.py +2 -2
  89. aws_cdk/aws_efs/__init__.py +22 -22
  90. aws_cdk/aws_eks/__init__.py +177 -61
  91. aws_cdk/aws_elasticache/__init__.py +218 -226
  92. aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
  93. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
  94. aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
  95. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
  96. aws_cdk/aws_elasticsearch/__init__.py +16 -16
  97. aws_cdk/aws_emr/__init__.py +74 -74
  98. aws_cdk/aws_emrcontainers/__init__.py +3 -3
  99. aws_cdk/aws_emrserverless/__init__.py +157 -14
  100. aws_cdk/aws_entityresolution/__init__.py +613 -35
  101. aws_cdk/aws_events/__init__.py +42 -42
  102. aws_cdk/aws_eventschemas/__init__.py +16 -16
  103. aws_cdk/aws_evidently/__init__.py +38 -38
  104. aws_cdk/aws_finspace/__init__.py +8 -8
  105. aws_cdk/aws_fis/__init__.py +12 -12
  106. aws_cdk/aws_fms/__init__.py +21 -21
  107. aws_cdk/aws_forecast/__init__.py +18 -11
  108. aws_cdk/aws_frauddetector/__init__.py +35 -35
  109. aws_cdk/aws_fsx/__init__.py +35 -35
  110. aws_cdk/aws_gamelift/__init__.py +155 -143
  111. aws_cdk/aws_globalaccelerator/__init__.py +46 -24
  112. aws_cdk/aws_glue/__init__.py +187 -143
  113. aws_cdk/aws_grafana/__init__.py +17 -17
  114. aws_cdk/aws_greengrass/__init__.py +48 -48
  115. aws_cdk/aws_greengrassv2/__init__.py +10 -10
  116. aws_cdk/aws_groundstation/__init__.py +16 -16
  117. aws_cdk/aws_guardduty/__init__.py +40 -38
  118. aws_cdk/aws_healthimaging/__init__.py +3 -3
  119. aws_cdk/aws_healthlake/__init__.py +6 -6
  120. aws_cdk/aws_iam/__init__.py +120 -122
  121. aws_cdk/aws_identitystore/__init__.py +6 -6
  122. aws_cdk/aws_imagebuilder/__init__.py +98 -98
  123. aws_cdk/aws_inspector/__init__.py +8 -8
  124. aws_cdk/aws_inspectorv2/__init__.py +102 -97
  125. aws_cdk/aws_internetmonitor/__init__.py +12 -12
  126. aws_cdk/aws_iot/__init__.py +141 -141
  127. aws_cdk/aws_iot1click/__init__.py +9 -9
  128. aws_cdk/aws_iotanalytics/__init__.py +21 -21
  129. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
  130. aws_cdk/aws_iotevents/__init__.py +20 -20
  131. aws_cdk/aws_iotfleethub/__init__.py +4 -4
  132. aws_cdk/aws_iotfleetwise/__init__.py +45 -45
  133. aws_cdk/aws_iotsitewise/__init__.py +40 -40
  134. aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
  135. aws_cdk/aws_iottwinmaker/__init__.py +34 -34
  136. aws_cdk/aws_iotwireless/__init__.py +66 -66
  137. aws_cdk/aws_ivs/__init__.py +490 -34
  138. aws_cdk/aws_ivschat/__init__.py +9 -9
  139. aws_cdk/aws_kafkaconnect/__init__.py +22 -22
  140. aws_cdk/aws_kendra/__init__.py +28 -28
  141. aws_cdk/aws_kendraranking/__init__.py +4 -4
  142. aws_cdk/aws_kinesis/__init__.py +8 -8
  143. aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
  144. aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
  145. aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
  146. aws_cdk/aws_kinesisvideo/__init__.py +10 -10
  147. aws_cdk/aws_kms/__init__.py +20 -20
  148. aws_cdk/aws_lakeformation/__init__.py +36 -36
  149. aws_cdk/aws_lambda/__init__.py +174 -118
  150. aws_cdk/aws_launchwizard/__init__.py +508 -0
  151. aws_cdk/aws_lex/__init__.py +24 -24
  152. aws_cdk/aws_licensemanager/__init__.py +17 -17
  153. aws_cdk/aws_lightsail/__init__.py +90 -90
  154. aws_cdk/aws_location/__init__.py +41 -41
  155. aws_cdk/aws_logs/__init__.py +50 -50
  156. aws_cdk/aws_lookoutequipment/__init__.py +9 -9
  157. aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
  158. aws_cdk/aws_lookoutvision/__init__.py +1 -1
  159. aws_cdk/aws_m2/__init__.py +20 -20
  160. aws_cdk/aws_macie/__init__.py +19 -19
  161. aws_cdk/aws_managedblockchain/__init__.py +10 -10
  162. aws_cdk/aws_mediaconnect/__init__.py +114 -77
  163. aws_cdk/aws_mediaconvert/__init__.py +20 -20
  164. aws_cdk/aws_medialive/__init__.py +49 -40
  165. aws_cdk/aws_mediapackage/__init__.py +38 -38
  166. aws_cdk/aws_mediapackagev2/__init__.py +178 -25
  167. aws_cdk/aws_mediastore/__init__.py +7 -7
  168. aws_cdk/aws_mediatailor/__init__.py +40 -40
  169. aws_cdk/aws_memorydb/__init__.py +41 -41
  170. aws_cdk/aws_msk/__init__.py +127 -39
  171. aws_cdk/aws_mwaa/__init__.py +25 -25
  172. aws_cdk/aws_neptune/__init__.py +55 -55
  173. aws_cdk/aws_neptunegraph/__init__.py +11 -11
  174. aws_cdk/aws_networkfirewall/__init__.py +36 -30
  175. aws_cdk/aws_networkmanager/__init__.py +1062 -91
  176. aws_cdk/aws_nimblestudio/__init__.py +31 -31
  177. aws_cdk/aws_oam/__init__.py +8 -8
  178. aws_cdk/aws_omics/__init__.py +36 -36
  179. aws_cdk/aws_opensearchserverless/__init__.py +25 -25
  180. aws_cdk/aws_opensearchservice/__init__.py +20 -20
  181. aws_cdk/aws_opsworks/__init__.py +87 -87
  182. aws_cdk/aws_opsworkscm/__init__.py +21 -21
  183. aws_cdk/aws_organizations/__init__.py +17 -17
  184. aws_cdk/aws_osis/__init__.py +122 -9
  185. aws_cdk/aws_panorama/__init__.py +27 -22
  186. aws_cdk/aws_paymentcryptography/__init__.py +7 -7
  187. aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
  188. aws_cdk/aws_personalize/__init__.py +19 -19
  189. aws_cdk/aws_pinpoint/__init__.py +122 -122
  190. aws_cdk/aws_pinpointemail/__init__.py +16 -16
  191. aws_cdk/aws_pipes/__init__.py +14 -16
  192. aws_cdk/aws_proton/__init__.py +19 -19
  193. aws_cdk/aws_qbusiness/__init__.py +160 -45
  194. aws_cdk/aws_qldb/__init__.py +12 -12
  195. aws_cdk/aws_quicksight/__init__.py +91 -91
  196. aws_cdk/aws_ram/__init__.py +11 -11
  197. aws_cdk/aws_rds/__init__.py +365 -259
  198. aws_cdk/aws_redshift/__init__.py +136 -91
  199. aws_cdk/aws_redshiftserverless/__init__.py +27 -27
  200. aws_cdk/aws_refactorspaces/__init__.py +26 -26
  201. aws_cdk/aws_rekognition/__init__.py +16 -16
  202. aws_cdk/aws_resiliencehub/__init__.py +15 -15
  203. aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
  204. aws_cdk/aws_resourcegroups/__init__.py +6 -6
  205. aws_cdk/aws_robomaker/__init__.py +25 -25
  206. aws_cdk/aws_rolesanywhere/__init__.py +67 -19
  207. aws_cdk/aws_route53/__init__.py +36 -36
  208. aws_cdk/aws_route53profiles/__init__.py +11 -11
  209. aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
  210. aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
  211. aws_cdk/aws_route53resolver/__init__.py +123 -82
  212. aws_cdk/aws_rum/__init__.py +6 -6
  213. aws_cdk/aws_s3/__init__.py +136 -80
  214. aws_cdk/aws_s3_deployment/__init__.py +30 -24
  215. aws_cdk/aws_s3_notifications/__init__.py +3 -4
  216. aws_cdk/aws_s3express/__init__.py +5 -5
  217. aws_cdk/aws_s3objectlambda/__init__.py +6 -6
  218. aws_cdk/aws_s3outposts/__init__.py +16 -16
  219. aws_cdk/aws_sagemaker/__init__.py +2414 -282
  220. aws_cdk/aws_sam/__init__.py +101 -101
  221. aws_cdk/aws_scheduler/__init__.py +13 -13
  222. aws_cdk/aws_sdb/__init__.py +1 -1
  223. aws_cdk/aws_secretsmanager/__init__.py +20 -19
  224. aws_cdk/aws_securityhub/__init__.py +70 -57
  225. aws_cdk/aws_securitylake/__init__.py +341 -16
  226. aws_cdk/aws_servicecatalog/__init__.py +87 -87
  227. aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
  228. aws_cdk/aws_servicediscovery/__init__.py +23 -23
  229. aws_cdk/aws_ses/__init__.py +12038 -5604
  230. aws_cdk/aws_shield/__init__.py +15 -15
  231. aws_cdk/aws_signer/__init__.py +9 -9
  232. aws_cdk/aws_simspaceweaver/__init__.py +5 -5
  233. aws_cdk/aws_sns/__init__.py +28 -28
  234. aws_cdk/aws_sqs/__init__.py +20 -20
  235. aws_cdk/aws_ssm/__init__.py +176 -105
  236. aws_cdk/aws_ssmcontacts/__init__.py +18 -18
  237. aws_cdk/aws_ssmincidents/__init__.py +11 -11
  238. aws_cdk/aws_sso/__init__.py +31 -31
  239. aws_cdk/aws_stepfunctions/__init__.py +370 -28
  240. aws_cdk/aws_supportapp/__init__.py +11 -11
  241. aws_cdk/aws_synthetics/__init__.py +18 -18
  242. aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
  243. aws_cdk/aws_timestream/__init__.py +34 -34
  244. aws_cdk/aws_transfer/__init__.py +57 -57
  245. aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
  246. aws_cdk/aws_voiceid/__init__.py +4 -4
  247. aws_cdk/aws_vpclattice/__init__.py +42 -42
  248. aws_cdk/aws_waf/__init__.py +17 -17
  249. aws_cdk/aws_wafregional/__init__.py +28 -28
  250. aws_cdk/aws_wafv2/__init__.py +39 -39
  251. aws_cdk/aws_wisdom/__init__.py +16 -16
  252. aws_cdk/aws_workspaces/__init__.py +18 -18
  253. aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
  254. aws_cdk/aws_workspacesweb/__init__.py +87 -46
  255. aws_cdk/aws_xray/__init__.py +12 -12
  256. aws_cdk/cloud_assembly_schema/__init__.py +348 -239
  257. aws_cdk/custom_resources/__init__.py +289 -0
  258. aws_cdk/cx_api/__init__.py +15 -15
  259. aws_cdk/pipelines/__init__.py +172 -237
  260. {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
  261. aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
  262. aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
  263. {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
  264. {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
  265. {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
  266. {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
@@ -1746,7 +1746,7 @@ class CfnCustomActionType(
1746
1746
  if __debug__:
1747
1747
  type_hints = typing.get_type_hints(_typecheckingstub__90b872b4221966012d71407e4539c8f5d1b76d40c3244d52deee8e0e2d346b28)
1748
1748
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1749
- jsii.set(self, "category", value)
1749
+ jsii.set(self, "category", value) # pyright: ignore[reportArgumentType]
1750
1750
 
1751
1751
  @builtins.property
1752
1752
  @jsii.member(jsii_name="inputArtifactDetails")
@@ -1764,7 +1764,7 @@ class CfnCustomActionType(
1764
1764
  if __debug__:
1765
1765
  type_hints = typing.get_type_hints(_typecheckingstub__5abbefb7711c6ac8fee86970355cf39da61cfdbeeff9fcdd31187c0ea8cd135a)
1766
1766
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1767
- jsii.set(self, "inputArtifactDetails", value)
1767
+ jsii.set(self, "inputArtifactDetails", value) # pyright: ignore[reportArgumentType]
1768
1768
 
1769
1769
  @builtins.property
1770
1770
  @jsii.member(jsii_name="outputArtifactDetails")
@@ -1782,7 +1782,7 @@ class CfnCustomActionType(
1782
1782
  if __debug__:
1783
1783
  type_hints = typing.get_type_hints(_typecheckingstub__ca94c06f2447ab8f300404012ca985842a1c924d39b95d7000e4e6100e8920fc)
1784
1784
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1785
- jsii.set(self, "outputArtifactDetails", value)
1785
+ jsii.set(self, "outputArtifactDetails", value) # pyright: ignore[reportArgumentType]
1786
1786
 
1787
1787
  @builtins.property
1788
1788
  @jsii.member(jsii_name="provider")
@@ -1795,7 +1795,7 @@ class CfnCustomActionType(
1795
1795
  if __debug__:
1796
1796
  type_hints = typing.get_type_hints(_typecheckingstub__bacd6cf860e2e79e88cd36986df73487339ed024f9c1550758af9c93007f597e)
1797
1797
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1798
- jsii.set(self, "provider", value)
1798
+ jsii.set(self, "provider", value) # pyright: ignore[reportArgumentType]
1799
1799
 
1800
1800
  @builtins.property
1801
1801
  @jsii.member(jsii_name="version")
@@ -1808,7 +1808,7 @@ class CfnCustomActionType(
1808
1808
  if __debug__:
1809
1809
  type_hints = typing.get_type_hints(_typecheckingstub__dbd41efc4927307c169c3fcea1f05c3addc57a3b816167fbb33318f66765352b)
1810
1810
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1811
- jsii.set(self, "version", value)
1811
+ jsii.set(self, "version", value) # pyright: ignore[reportArgumentType]
1812
1812
 
1813
1813
  @builtins.property
1814
1814
  @jsii.member(jsii_name="configurationProperties")
@@ -1826,7 +1826,7 @@ class CfnCustomActionType(
1826
1826
  if __debug__:
1827
1827
  type_hints = typing.get_type_hints(_typecheckingstub__95897f720bf78acfdcb4029f33ba76d388ddec5448f67fcb680d96e2d4077286)
1828
1828
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1829
- jsii.set(self, "configurationProperties", value)
1829
+ jsii.set(self, "configurationProperties", value) # pyright: ignore[reportArgumentType]
1830
1830
 
1831
1831
  @builtins.property
1832
1832
  @jsii.member(jsii_name="settings")
@@ -1844,7 +1844,7 @@ class CfnCustomActionType(
1844
1844
  if __debug__:
1845
1845
  type_hints = typing.get_type_hints(_typecheckingstub__800b508e1c17e495d8907c9ede304fd8a7a38490bdc0c4d110dc4b23d97cd524)
1846
1846
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1847
- jsii.set(self, "settings", value)
1847
+ jsii.set(self, "settings", value) # pyright: ignore[reportArgumentType]
1848
1848
 
1849
1849
  @builtins.property
1850
1850
  @jsii.member(jsii_name="tagsRaw")
@@ -1857,7 +1857,7 @@ class CfnCustomActionType(
1857
1857
  if __debug__:
1858
1858
  type_hints = typing.get_type_hints(_typecheckingstub__a74116a4f73e121e1bb171b9327fc820e06cb39239a52bc2d3ebe44fda9fbbf2)
1859
1859
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1860
- jsii.set(self, "tagsRaw", value)
1860
+ jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
1861
1861
 
1862
1862
  @jsii.data_type(
1863
1863
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnCustomActionType.ArtifactDetailsProperty",
@@ -2475,12 +2475,70 @@ class CfnPipeline(
2475
2475
  name="name",
2476
2476
 
2477
2477
  # the properties below are optional
2478
+ before_entry=codepipeline.CfnPipeline.BeforeEntryConditionsProperty(
2479
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
2480
+ result="result",
2481
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
2482
+ configuration=configuration,
2483
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
2484
+ name="name"
2485
+ )],
2486
+ name="name",
2487
+ region="region",
2488
+ role_arn="roleArn",
2489
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
2490
+ category="category",
2491
+ owner="owner",
2492
+ provider="provider",
2493
+ version="version"
2494
+ )
2495
+ )]
2496
+ )]
2497
+ ),
2478
2498
  blockers=[codepipeline.CfnPipeline.BlockerDeclarationProperty(
2479
2499
  name="name",
2480
2500
  type="type"
2481
2501
  )],
2482
2502
  on_failure=codepipeline.CfnPipeline.FailureConditionsProperty(
2503
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
2504
+ result="result",
2505
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
2506
+ configuration=configuration,
2507
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
2508
+ name="name"
2509
+ )],
2510
+ name="name",
2511
+ region="region",
2512
+ role_arn="roleArn",
2513
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
2514
+ category="category",
2515
+ owner="owner",
2516
+ provider="provider",
2517
+ version="version"
2518
+ )
2519
+ )]
2520
+ )],
2483
2521
  result="result"
2522
+ ),
2523
+ on_success=codepipeline.CfnPipeline.SuccessConditionsProperty(
2524
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
2525
+ result="result",
2526
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
2527
+ configuration=configuration,
2528
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
2529
+ name="name"
2530
+ )],
2531
+ name="name",
2532
+ region="region",
2533
+ role_arn="roleArn",
2534
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
2535
+ category="category",
2536
+ owner="owner",
2537
+ provider="provider",
2538
+ version="version"
2539
+ )
2540
+ )]
2541
+ )]
2484
2542
  )
2485
2543
  )],
2486
2544
 
@@ -2591,7 +2649,7 @@ class CfnPipeline(
2591
2649
  :param artifact_store: The S3 bucket where artifacts for the pipeline are stored. .. epigraph:: You must include either ``artifactStore`` or ``artifactStores`` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use ``artifactStores`` .
2592
2650
  :param artifact_stores: A mapping of ``artifactStore`` objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline. .. epigraph:: You must include either ``artifactStore`` or ``artifactStores`` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use ``artifactStores`` .
2593
2651
  :param disable_inbound_stage_transitions: Represents the input of a ``DisableStageTransition`` action.
2594
- :param execution_mode: The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
2652
+ :param execution_mode: The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. Default: - "SUPERSEDED"
2595
2653
  :param name: The name of the pipeline.
2596
2654
  :param pipeline_type: CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. - V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. - V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. .. epigraph:: Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see `Pricing <https://docs.aws.amazon.com/codepipeline/pricing/>`_ . For information about which type of pipeline to choose, see `What type of pipeline is right for me? <https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html>`_ .
2597
2655
  :param restart_execution_on_update: Indicates whether to rerun the CodePipeline pipeline after you update it.
@@ -2650,14 +2708,6 @@ class CfnPipeline(
2650
2708
  '''The CloudFormation resource type name for this resource class.'''
2651
2709
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
2652
2710
 
2653
- @builtins.property
2654
- @jsii.member(jsii_name="attrId")
2655
- def attr_id(self) -> builtins.str:
2656
- '''
2657
- :cloudformationAttribute: Id
2658
- '''
2659
- return typing.cast(builtins.str, jsii.get(self, "attrId"))
2660
-
2661
2711
  @builtins.property
2662
2712
  @jsii.member(jsii_name="attrVersion")
2663
2713
  def attr_version(self) -> builtins.str:
@@ -2693,7 +2743,7 @@ class CfnPipeline(
2693
2743
  if __debug__:
2694
2744
  type_hints = typing.get_type_hints(_typecheckingstub__576c198950ee7b66fbc1eb05685e77cc0e29d34915d1d1e40bd0c8ef0c6d7e0a)
2695
2745
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2696
- jsii.set(self, "roleArn", value)
2746
+ jsii.set(self, "roleArn", value) # pyright: ignore[reportArgumentType]
2697
2747
 
2698
2748
  @builtins.property
2699
2749
  @jsii.member(jsii_name="stages")
@@ -2711,7 +2761,7 @@ class CfnPipeline(
2711
2761
  if __debug__:
2712
2762
  type_hints = typing.get_type_hints(_typecheckingstub__dfacf0cf69a83fd53ad3a2cce0dd68dd31658b398f54c29f16f9b44d46023b29)
2713
2763
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2714
- jsii.set(self, "stages", value)
2764
+ jsii.set(self, "stages", value) # pyright: ignore[reportArgumentType]
2715
2765
 
2716
2766
  @builtins.property
2717
2767
  @jsii.member(jsii_name="artifactStore")
@@ -2729,7 +2779,7 @@ class CfnPipeline(
2729
2779
  if __debug__:
2730
2780
  type_hints = typing.get_type_hints(_typecheckingstub__5a40501189eaeb23c9f45754903055f441f62a809b824fce94b0b934a72b33ad)
2731
2781
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2732
- jsii.set(self, "artifactStore", value)
2782
+ jsii.set(self, "artifactStore", value) # pyright: ignore[reportArgumentType]
2733
2783
 
2734
2784
  @builtins.property
2735
2785
  @jsii.member(jsii_name="artifactStores")
@@ -2747,7 +2797,7 @@ class CfnPipeline(
2747
2797
  if __debug__:
2748
2798
  type_hints = typing.get_type_hints(_typecheckingstub__13b2091bcabe548515f4fe0527fdc7e055ac3c68d5fc3b939d5bb97614bf0f94)
2749
2799
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2750
- jsii.set(self, "artifactStores", value)
2800
+ jsii.set(self, "artifactStores", value) # pyright: ignore[reportArgumentType]
2751
2801
 
2752
2802
  @builtins.property
2753
2803
  @jsii.member(jsii_name="disableInboundStageTransitions")
@@ -2765,7 +2815,7 @@ class CfnPipeline(
2765
2815
  if __debug__:
2766
2816
  type_hints = typing.get_type_hints(_typecheckingstub__a8171e6979490d73c864965d74418184aa66850b94084357d00f5bac7460f803)
2767
2817
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2768
- jsii.set(self, "disableInboundStageTransitions", value)
2818
+ jsii.set(self, "disableInboundStageTransitions", value) # pyright: ignore[reportArgumentType]
2769
2819
 
2770
2820
  @builtins.property
2771
2821
  @jsii.member(jsii_name="executionMode")
@@ -2778,7 +2828,7 @@ class CfnPipeline(
2778
2828
  if __debug__:
2779
2829
  type_hints = typing.get_type_hints(_typecheckingstub__472d85ae1c4eb5d13c62e60f6347b15da6be45b950e9ce0ab0c5a3d67951fda0)
2780
2830
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2781
- jsii.set(self, "executionMode", value)
2831
+ jsii.set(self, "executionMode", value) # pyright: ignore[reportArgumentType]
2782
2832
 
2783
2833
  @builtins.property
2784
2834
  @jsii.member(jsii_name="name")
@@ -2791,7 +2841,7 @@ class CfnPipeline(
2791
2841
  if __debug__:
2792
2842
  type_hints = typing.get_type_hints(_typecheckingstub__2b2610baf2075574499b5c3a30d307e832f359e9aa154becdcd51b0b886e97cf)
2793
2843
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2794
- jsii.set(self, "name", value)
2844
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
2795
2845
 
2796
2846
  @builtins.property
2797
2847
  @jsii.member(jsii_name="pipelineType")
@@ -2804,7 +2854,7 @@ class CfnPipeline(
2804
2854
  if __debug__:
2805
2855
  type_hints = typing.get_type_hints(_typecheckingstub__49ec8a511d5cf2162b110bf0ae56ad416154165d52ebcd418648a11da360772a)
2806
2856
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2807
- jsii.set(self, "pipelineType", value)
2857
+ jsii.set(self, "pipelineType", value) # pyright: ignore[reportArgumentType]
2808
2858
 
2809
2859
  @builtins.property
2810
2860
  @jsii.member(jsii_name="restartExecutionOnUpdate")
@@ -2822,7 +2872,7 @@ class CfnPipeline(
2822
2872
  if __debug__:
2823
2873
  type_hints = typing.get_type_hints(_typecheckingstub__88de08f19f736e80065bcd761beb1e65914ff94f8a626526298e8aceab054efa)
2824
2874
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2825
- jsii.set(self, "restartExecutionOnUpdate", value)
2875
+ jsii.set(self, "restartExecutionOnUpdate", value) # pyright: ignore[reportArgumentType]
2826
2876
 
2827
2877
  @builtins.property
2828
2878
  @jsii.member(jsii_name="tagsRaw")
@@ -2835,7 +2885,7 @@ class CfnPipeline(
2835
2885
  if __debug__:
2836
2886
  type_hints = typing.get_type_hints(_typecheckingstub__049b30e49190b4a0c262bbc2b2b86e08c2d0b80ed4870924cfa18bba87f06fbf)
2837
2887
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2838
- jsii.set(self, "tagsRaw", value)
2888
+ jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
2839
2889
 
2840
2890
  @builtins.property
2841
2891
  @jsii.member(jsii_name="triggers")
@@ -2853,7 +2903,7 @@ class CfnPipeline(
2853
2903
  if __debug__:
2854
2904
  type_hints = typing.get_type_hints(_typecheckingstub__ec229be1df5c233edfda39851430510bc5b05e1c924f9c4f280d35e90a7a273e)
2855
2905
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2856
- jsii.set(self, "triggers", value)
2906
+ jsii.set(self, "triggers", value) # pyright: ignore[reportArgumentType]
2857
2907
 
2858
2908
  @builtins.property
2859
2909
  @jsii.member(jsii_name="variables")
@@ -2871,7 +2921,7 @@ class CfnPipeline(
2871
2921
  if __debug__:
2872
2922
  type_hints = typing.get_type_hints(_typecheckingstub__750515260661993ecfa4350c79274cb5f97f27ed37abd879c232ab4d1d581b16)
2873
2923
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2874
- jsii.set(self, "variables", value)
2924
+ jsii.set(self, "variables", value) # pyright: ignore[reportArgumentType]
2875
2925
 
2876
2926
  @jsii.data_type(
2877
2927
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.ActionDeclarationProperty",
@@ -3428,6 +3478,82 @@ class CfnPipeline(
3428
3478
  k + "=" + repr(v) for k, v in self._values.items()
3429
3479
  )
3430
3480
 
3481
+ @jsii.data_type(
3482
+ jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.BeforeEntryConditionsProperty",
3483
+ jsii_struct_bases=[],
3484
+ name_mapping={"conditions": "conditions"},
3485
+ )
3486
+ class BeforeEntryConditionsProperty:
3487
+ def __init__(
3488
+ self,
3489
+ *,
3490
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.ConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3491
+ ) -> None:
3492
+ '''The conditions for making checks for entry to a stage.
3493
+
3494
+ :param conditions: The conditions that are configured as entry conditions.
3495
+
3496
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html
3497
+ :exampleMetadata: fixture=_generated
3498
+
3499
+ Example::
3500
+
3501
+ # The code below shows an example of how to instantiate this type.
3502
+ # The values are placeholders you should change.
3503
+ from aws_cdk import aws_codepipeline as codepipeline
3504
+
3505
+ # configuration: Any
3506
+
3507
+ before_entry_conditions_property = codepipeline.CfnPipeline.BeforeEntryConditionsProperty(
3508
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
3509
+ result="result",
3510
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
3511
+ configuration=configuration,
3512
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
3513
+ name="name"
3514
+ )],
3515
+ name="name",
3516
+ region="region",
3517
+ role_arn="roleArn",
3518
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
3519
+ category="category",
3520
+ owner="owner",
3521
+ provider="provider",
3522
+ version="version"
3523
+ )
3524
+ )]
3525
+ )]
3526
+ )
3527
+ '''
3528
+ if __debug__:
3529
+ type_hints = typing.get_type_hints(_typecheckingstub__ff44830aee4e51ecc46b42bb0b414bcd05d75b800ddc37363d32c748295262f5)
3530
+ check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
3531
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3532
+ if conditions is not None:
3533
+ self._values["conditions"] = conditions
3534
+
3535
+ @builtins.property
3536
+ def conditions(
3537
+ self,
3538
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]]:
3539
+ '''The conditions that are configured as entry conditions.
3540
+
3541
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-beforeentryconditions.html#cfn-codepipeline-pipeline-beforeentryconditions-conditions
3542
+ '''
3543
+ result = self._values.get("conditions")
3544
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]], result)
3545
+
3546
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3547
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3548
+
3549
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3550
+ return not (rhs == self)
3551
+
3552
+ def __repr__(self) -> str:
3553
+ return "BeforeEntryConditionsProperty(%s)" % ", ".join(
3554
+ k + "=" + repr(v) for k, v in self._values.items()
3555
+ )
3556
+
3431
3557
  @jsii.data_type(
3432
3558
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.BlockerDeclarationProperty",
3433
3559
  jsii_struct_bases=[],
@@ -3494,6 +3620,98 @@ class CfnPipeline(
3494
3620
  k + "=" + repr(v) for k, v in self._values.items()
3495
3621
  )
3496
3622
 
3623
+ @jsii.data_type(
3624
+ jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.ConditionProperty",
3625
+ jsii_struct_bases=[],
3626
+ name_mapping={"result": "result", "rules": "rules"},
3627
+ )
3628
+ class ConditionProperty:
3629
+ def __init__(
3630
+ self,
3631
+ *,
3632
+ result: typing.Optional[builtins.str] = None,
3633
+ rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.RuleDeclarationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3634
+ ) -> None:
3635
+ '''The condition for the stage.
3636
+
3637
+ A condition is made up of the rules and the result for the condition.
3638
+
3639
+ :param result: The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
3640
+ :param rules: The rules that make up the condition.
3641
+
3642
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html
3643
+ :exampleMetadata: fixture=_generated
3644
+
3645
+ Example::
3646
+
3647
+ # The code below shows an example of how to instantiate this type.
3648
+ # The values are placeholders you should change.
3649
+ from aws_cdk import aws_codepipeline as codepipeline
3650
+
3651
+ # configuration: Any
3652
+
3653
+ condition_property = codepipeline.CfnPipeline.ConditionProperty(
3654
+ result="result",
3655
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
3656
+ configuration=configuration,
3657
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
3658
+ name="name"
3659
+ )],
3660
+ name="name",
3661
+ region="region",
3662
+ role_arn="roleArn",
3663
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
3664
+ category="category",
3665
+ owner="owner",
3666
+ provider="provider",
3667
+ version="version"
3668
+ )
3669
+ )]
3670
+ )
3671
+ '''
3672
+ if __debug__:
3673
+ type_hints = typing.get_type_hints(_typecheckingstub__655a27184b132924897ce867140bc56b49b1cd145d4fad9f8f52918c99d0778d)
3674
+ check_type(argname="argument result", value=result, expected_type=type_hints["result"])
3675
+ check_type(argname="argument rules", value=rules, expected_type=type_hints["rules"])
3676
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3677
+ if result is not None:
3678
+ self._values["result"] = result
3679
+ if rules is not None:
3680
+ self._values["rules"] = rules
3681
+
3682
+ @builtins.property
3683
+ def result(self) -> typing.Optional[builtins.str]:
3684
+ '''The action to be done when the condition is met.
3685
+
3686
+ For example, rolling back an execution for a failure condition.
3687
+
3688
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html#cfn-codepipeline-pipeline-condition-result
3689
+ '''
3690
+ result = self._values.get("result")
3691
+ return typing.cast(typing.Optional[builtins.str], result)
3692
+
3693
+ @builtins.property
3694
+ def rules(
3695
+ self,
3696
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.RuleDeclarationProperty"]]]]:
3697
+ '''The rules that make up the condition.
3698
+
3699
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-condition.html#cfn-codepipeline-pipeline-condition-rules
3700
+ '''
3701
+ result = self._values.get("rules")
3702
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.RuleDeclarationProperty"]]]], result)
3703
+
3704
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3705
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3706
+
3707
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3708
+ return not (rhs == self)
3709
+
3710
+ def __repr__(self) -> str:
3711
+ return "ConditionProperty(%s)" % ", ".join(
3712
+ k + "=" + repr(v) for k, v in self._values.items()
3713
+ )
3714
+
3497
3715
  @jsii.data_type(
3498
3716
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.EncryptionKeyProperty",
3499
3717
  jsii_struct_bases=[],
@@ -3572,12 +3790,18 @@ class CfnPipeline(
3572
3790
  @jsii.data_type(
3573
3791
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.FailureConditionsProperty",
3574
3792
  jsii_struct_bases=[],
3575
- name_mapping={"result": "result"},
3793
+ name_mapping={"conditions": "conditions", "result": "result"},
3576
3794
  )
3577
3795
  class FailureConditionsProperty:
3578
- def __init__(self, *, result: builtins.str) -> None:
3796
+ def __init__(
3797
+ self,
3798
+ *,
3799
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.ConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3800
+ result: typing.Optional[builtins.str] = None,
3801
+ ) -> None:
3579
3802
  '''The configuration that specifies the result, such as rollback, to occur upon stage failure.
3580
3803
 
3804
+ :param conditions: The conditions that are configured as failure conditions.
3581
3805
  :param result: The specified result for when the failure conditions are met, such as rolling back the stage.
3582
3806
 
3583
3807
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html
@@ -3589,26 +3813,59 @@ class CfnPipeline(
3589
3813
  # The values are placeholders you should change.
3590
3814
  from aws_cdk import aws_codepipeline as codepipeline
3591
3815
 
3816
+ # configuration: Any
3817
+
3592
3818
  failure_conditions_property = codepipeline.CfnPipeline.FailureConditionsProperty(
3819
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
3820
+ result="result",
3821
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
3822
+ configuration=configuration,
3823
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
3824
+ name="name"
3825
+ )],
3826
+ name="name",
3827
+ region="region",
3828
+ role_arn="roleArn",
3829
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
3830
+ category="category",
3831
+ owner="owner",
3832
+ provider="provider",
3833
+ version="version"
3834
+ )
3835
+ )]
3836
+ )],
3593
3837
  result="result"
3594
3838
  )
3595
3839
  '''
3596
3840
  if __debug__:
3597
3841
  type_hints = typing.get_type_hints(_typecheckingstub__24827e49ed35c3622e48ed5d5a7874646b28153667949aaac3a40638392631b8)
3842
+ check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
3598
3843
  check_type(argname="argument result", value=result, expected_type=type_hints["result"])
3599
- self._values: typing.Dict[builtins.str, typing.Any] = {
3600
- "result": result,
3601
- }
3844
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3845
+ if conditions is not None:
3846
+ self._values["conditions"] = conditions
3847
+ if result is not None:
3848
+ self._values["result"] = result
3602
3849
 
3603
3850
  @builtins.property
3604
- def result(self) -> builtins.str:
3851
+ def conditions(
3852
+ self,
3853
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]]:
3854
+ '''The conditions that are configured as failure conditions.
3855
+
3856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-conditions
3857
+ '''
3858
+ result = self._values.get("conditions")
3859
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]], result)
3860
+
3861
+ @builtins.property
3862
+ def result(self) -> typing.Optional[builtins.str]:
3605
3863
  '''The specified result for when the failure conditions are met, such as rolling back the stage.
3606
3864
 
3607
3865
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-result
3608
3866
  '''
3609
3867
  result = self._values.get("result")
3610
- assert result is not None, "Required property 'result' is missing"
3611
- return typing.cast(builtins.str, result)
3868
+ return typing.cast(typing.Optional[builtins.str], result)
3612
3869
 
3613
3870
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3614
3871
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -4385,14 +4642,277 @@ class CfnPipeline(
4385
4642
  k + "=" + repr(v) for k, v in self._values.items()
4386
4643
  )
4387
4644
 
4645
+ @jsii.data_type(
4646
+ jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.RuleDeclarationProperty",
4647
+ jsii_struct_bases=[],
4648
+ name_mapping={
4649
+ "configuration": "configuration",
4650
+ "input_artifacts": "inputArtifacts",
4651
+ "name": "name",
4652
+ "region": "region",
4653
+ "role_arn": "roleArn",
4654
+ "rule_type_id": "ruleTypeId",
4655
+ },
4656
+ )
4657
+ class RuleDeclarationProperty:
4658
+ def __init__(
4659
+ self,
4660
+ *,
4661
+ configuration: typing.Any = None,
4662
+ input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.InputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4663
+ name: typing.Optional[builtins.str] = None,
4664
+ region: typing.Optional[builtins.str] = None,
4665
+ role_arn: typing.Optional[builtins.str] = None,
4666
+ rule_type_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.RuleTypeIdProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4667
+ ) -> None:
4668
+ '''Represents information about the rule to be created for an associated condition.
4669
+
4670
+ An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.
4671
+
4672
+ :param configuration: The action configuration fields for the rule.
4673
+ :param input_artifacts: The input artifacts fields for the rule, such as specifying an input file for the rule.
4674
+ :param name: The name of the rule that is created for the condition, such as CheckAllResults.
4675
+ :param region: The Region for the condition associated with the rule.
4676
+ :param role_arn: The pipeline role ARN associated with the rule.
4677
+ :param rule_type_id: The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
4678
+
4679
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html
4680
+ :exampleMetadata: fixture=_generated
4681
+
4682
+ Example::
4683
+
4684
+ # The code below shows an example of how to instantiate this type.
4685
+ # The values are placeholders you should change.
4686
+ from aws_cdk import aws_codepipeline as codepipeline
4687
+
4688
+ # configuration: Any
4689
+
4690
+ rule_declaration_property = codepipeline.CfnPipeline.RuleDeclarationProperty(
4691
+ configuration=configuration,
4692
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
4693
+ name="name"
4694
+ )],
4695
+ name="name",
4696
+ region="region",
4697
+ role_arn="roleArn",
4698
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
4699
+ category="category",
4700
+ owner="owner",
4701
+ provider="provider",
4702
+ version="version"
4703
+ )
4704
+ )
4705
+ '''
4706
+ if __debug__:
4707
+ type_hints = typing.get_type_hints(_typecheckingstub__8b4c62f005bd4f9080fa5e8c7f7671821e7ac1c9314d5d3b1130fbf53e40fa51)
4708
+ check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
4709
+ check_type(argname="argument input_artifacts", value=input_artifacts, expected_type=type_hints["input_artifacts"])
4710
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
4711
+ check_type(argname="argument region", value=region, expected_type=type_hints["region"])
4712
+ check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
4713
+ check_type(argname="argument rule_type_id", value=rule_type_id, expected_type=type_hints["rule_type_id"])
4714
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4715
+ if configuration is not None:
4716
+ self._values["configuration"] = configuration
4717
+ if input_artifacts is not None:
4718
+ self._values["input_artifacts"] = input_artifacts
4719
+ if name is not None:
4720
+ self._values["name"] = name
4721
+ if region is not None:
4722
+ self._values["region"] = region
4723
+ if role_arn is not None:
4724
+ self._values["role_arn"] = role_arn
4725
+ if rule_type_id is not None:
4726
+ self._values["rule_type_id"] = rule_type_id
4727
+
4728
+ @builtins.property
4729
+ def configuration(self) -> typing.Any:
4730
+ '''The action configuration fields for the rule.
4731
+
4732
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-configuration
4733
+ '''
4734
+ result = self._values.get("configuration")
4735
+ return typing.cast(typing.Any, result)
4736
+
4737
+ @builtins.property
4738
+ def input_artifacts(
4739
+ self,
4740
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.InputArtifactProperty"]]]]:
4741
+ '''The input artifacts fields for the rule, such as specifying an input file for the rule.
4742
+
4743
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-inputartifacts
4744
+ '''
4745
+ result = self._values.get("input_artifacts")
4746
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.InputArtifactProperty"]]]], result)
4747
+
4748
+ @builtins.property
4749
+ def name(self) -> typing.Optional[builtins.str]:
4750
+ '''The name of the rule that is created for the condition, such as CheckAllResults.
4751
+
4752
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-name
4753
+ '''
4754
+ result = self._values.get("name")
4755
+ return typing.cast(typing.Optional[builtins.str], result)
4756
+
4757
+ @builtins.property
4758
+ def region(self) -> typing.Optional[builtins.str]:
4759
+ '''The Region for the condition associated with the rule.
4760
+
4761
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-region
4762
+ '''
4763
+ result = self._values.get("region")
4764
+ return typing.cast(typing.Optional[builtins.str], result)
4765
+
4766
+ @builtins.property
4767
+ def role_arn(self) -> typing.Optional[builtins.str]:
4768
+ '''The pipeline role ARN associated with the rule.
4769
+
4770
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-rolearn
4771
+ '''
4772
+ result = self._values.get("role_arn")
4773
+ return typing.cast(typing.Optional[builtins.str], result)
4774
+
4775
+ @builtins.property
4776
+ def rule_type_id(
4777
+ self,
4778
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.RuleTypeIdProperty"]]:
4779
+ '''The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
4780
+
4781
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html#cfn-codepipeline-pipeline-ruledeclaration-ruletypeid
4782
+ '''
4783
+ result = self._values.get("rule_type_id")
4784
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.RuleTypeIdProperty"]], result)
4785
+
4786
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4787
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4788
+
4789
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4790
+ return not (rhs == self)
4791
+
4792
+ def __repr__(self) -> str:
4793
+ return "RuleDeclarationProperty(%s)" % ", ".join(
4794
+ k + "=" + repr(v) for k, v in self._values.items()
4795
+ )
4796
+
4797
+ @jsii.data_type(
4798
+ jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.RuleTypeIdProperty",
4799
+ jsii_struct_bases=[],
4800
+ name_mapping={
4801
+ "category": "category",
4802
+ "owner": "owner",
4803
+ "provider": "provider",
4804
+ "version": "version",
4805
+ },
4806
+ )
4807
+ class RuleTypeIdProperty:
4808
+ def __init__(
4809
+ self,
4810
+ *,
4811
+ category: typing.Optional[builtins.str] = None,
4812
+ owner: typing.Optional[builtins.str] = None,
4813
+ provider: typing.Optional[builtins.str] = None,
4814
+ version: typing.Optional[builtins.str] = None,
4815
+ ) -> None:
4816
+ '''The ID for the rule type, which is made up of the combined values for category, owner, provider, and version.
4817
+
4818
+ :param category: A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is ``Rule`` .
4819
+ :param owner: The creator of the rule being called. The valid value for the ``Owner`` field in the rule category is ``AWS`` .
4820
+ :param provider: The rule provider, such as the ``DeploymentWindow`` rule.
4821
+ :param version: A string that describes the rule version.
4822
+
4823
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html
4824
+ :exampleMetadata: fixture=_generated
4825
+
4826
+ Example::
4827
+
4828
+ # The code below shows an example of how to instantiate this type.
4829
+ # The values are placeholders you should change.
4830
+ from aws_cdk import aws_codepipeline as codepipeline
4831
+
4832
+ rule_type_id_property = codepipeline.CfnPipeline.RuleTypeIdProperty(
4833
+ category="category",
4834
+ owner="owner",
4835
+ provider="provider",
4836
+ version="version"
4837
+ )
4838
+ '''
4839
+ if __debug__:
4840
+ type_hints = typing.get_type_hints(_typecheckingstub__23e156541c561ae2d7b906b9cbe6720faebd9cc87aa106465379f19bc0980c56)
4841
+ check_type(argname="argument category", value=category, expected_type=type_hints["category"])
4842
+ check_type(argname="argument owner", value=owner, expected_type=type_hints["owner"])
4843
+ check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
4844
+ check_type(argname="argument version", value=version, expected_type=type_hints["version"])
4845
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4846
+ if category is not None:
4847
+ self._values["category"] = category
4848
+ if owner is not None:
4849
+ self._values["owner"] = owner
4850
+ if provider is not None:
4851
+ self._values["provider"] = provider
4852
+ if version is not None:
4853
+ self._values["version"] = version
4854
+
4855
+ @builtins.property
4856
+ def category(self) -> typing.Optional[builtins.str]:
4857
+ '''A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule.
4858
+
4859
+ The valid category is ``Rule`` .
4860
+
4861
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-category
4862
+ '''
4863
+ result = self._values.get("category")
4864
+ return typing.cast(typing.Optional[builtins.str], result)
4865
+
4866
+ @builtins.property
4867
+ def owner(self) -> typing.Optional[builtins.str]:
4868
+ '''The creator of the rule being called.
4869
+
4870
+ The valid value for the ``Owner`` field in the rule category is ``AWS`` .
4871
+
4872
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-owner
4873
+ '''
4874
+ result = self._values.get("owner")
4875
+ return typing.cast(typing.Optional[builtins.str], result)
4876
+
4877
+ @builtins.property
4878
+ def provider(self) -> typing.Optional[builtins.str]:
4879
+ '''The rule provider, such as the ``DeploymentWindow`` rule.
4880
+
4881
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-provider
4882
+ '''
4883
+ result = self._values.get("provider")
4884
+ return typing.cast(typing.Optional[builtins.str], result)
4885
+
4886
+ @builtins.property
4887
+ def version(self) -> typing.Optional[builtins.str]:
4888
+ '''A string that describes the rule version.
4889
+
4890
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruletypeid.html#cfn-codepipeline-pipeline-ruletypeid-version
4891
+ '''
4892
+ result = self._values.get("version")
4893
+ return typing.cast(typing.Optional[builtins.str], result)
4894
+
4895
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4896
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4897
+
4898
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4899
+ return not (rhs == self)
4900
+
4901
+ def __repr__(self) -> str:
4902
+ return "RuleTypeIdProperty(%s)" % ", ".join(
4903
+ k + "=" + repr(v) for k, v in self._values.items()
4904
+ )
4905
+
4388
4906
  @jsii.data_type(
4389
4907
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.StageDeclarationProperty",
4390
4908
  jsii_struct_bases=[],
4391
4909
  name_mapping={
4392
4910
  "actions": "actions",
4393
4911
  "name": "name",
4912
+ "before_entry": "beforeEntry",
4394
4913
  "blockers": "blockers",
4395
4914
  "on_failure": "onFailure",
4915
+ "on_success": "onSuccess",
4396
4916
  },
4397
4917
  )
4398
4918
  class StageDeclarationProperty:
@@ -4401,15 +4921,19 @@ class CfnPipeline(
4401
4921
  *,
4402
4922
  actions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.ActionDeclarationProperty", typing.Dict[builtins.str, typing.Any]]]]],
4403
4923
  name: builtins.str,
4924
+ before_entry: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.BeforeEntryConditionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4404
4925
  blockers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.BlockerDeclarationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4405
4926
  on_failure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.FailureConditionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4927
+ on_success: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.SuccessConditionsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
4406
4928
  ) -> None:
4407
4929
  '''Represents information about a stage and its definition.
4408
4930
 
4409
4931
  :param actions: The actions included in a stage.
4410
4932
  :param name: The name of the stage.
4933
+ :param before_entry: The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
4411
4934
  :param blockers: Reserved for future use.
4412
4935
  :param on_failure: The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
4936
+ :param on_success: The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
4413
4937
 
4414
4938
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html
4415
4939
  :exampleMetadata: fixture=_generated
@@ -4449,12 +4973,70 @@ class CfnPipeline(
4449
4973
  name="name",
4450
4974
 
4451
4975
  # the properties below are optional
4976
+ before_entry=codepipeline.CfnPipeline.BeforeEntryConditionsProperty(
4977
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
4978
+ result="result",
4979
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
4980
+ configuration=configuration,
4981
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
4982
+ name="name"
4983
+ )],
4984
+ name="name",
4985
+ region="region",
4986
+ role_arn="roleArn",
4987
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
4988
+ category="category",
4989
+ owner="owner",
4990
+ provider="provider",
4991
+ version="version"
4992
+ )
4993
+ )]
4994
+ )]
4995
+ ),
4452
4996
  blockers=[codepipeline.CfnPipeline.BlockerDeclarationProperty(
4453
4997
  name="name",
4454
4998
  type="type"
4455
4999
  )],
4456
5000
  on_failure=codepipeline.CfnPipeline.FailureConditionsProperty(
5001
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5002
+ result="result",
5003
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5004
+ configuration=configuration,
5005
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5006
+ name="name"
5007
+ )],
5008
+ name="name",
5009
+ region="region",
5010
+ role_arn="roleArn",
5011
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5012
+ category="category",
5013
+ owner="owner",
5014
+ provider="provider",
5015
+ version="version"
5016
+ )
5017
+ )]
5018
+ )],
4457
5019
  result="result"
5020
+ ),
5021
+ on_success=codepipeline.CfnPipeline.SuccessConditionsProperty(
5022
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5023
+ result="result",
5024
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5025
+ configuration=configuration,
5026
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5027
+ name="name"
5028
+ )],
5029
+ name="name",
5030
+ region="region",
5031
+ role_arn="roleArn",
5032
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5033
+ category="category",
5034
+ owner="owner",
5035
+ provider="provider",
5036
+ version="version"
5037
+ )
5038
+ )]
5039
+ )]
4458
5040
  )
4459
5041
  )
4460
5042
  '''
@@ -4462,16 +5044,22 @@ class CfnPipeline(
4462
5044
  type_hints = typing.get_type_hints(_typecheckingstub__6d7aa29ffac3603e5ca76edf19c1467363376322d9bc527c818c0d2c87a67c65)
4463
5045
  check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
4464
5046
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
5047
+ check_type(argname="argument before_entry", value=before_entry, expected_type=type_hints["before_entry"])
4465
5048
  check_type(argname="argument blockers", value=blockers, expected_type=type_hints["blockers"])
4466
5049
  check_type(argname="argument on_failure", value=on_failure, expected_type=type_hints["on_failure"])
5050
+ check_type(argname="argument on_success", value=on_success, expected_type=type_hints["on_success"])
4467
5051
  self._values: typing.Dict[builtins.str, typing.Any] = {
4468
5052
  "actions": actions,
4469
5053
  "name": name,
4470
5054
  }
5055
+ if before_entry is not None:
5056
+ self._values["before_entry"] = before_entry
4471
5057
  if blockers is not None:
4472
5058
  self._values["blockers"] = blockers
4473
5059
  if on_failure is not None:
4474
5060
  self._values["on_failure"] = on_failure
5061
+ if on_success is not None:
5062
+ self._values["on_success"] = on_success
4475
5063
 
4476
5064
  @builtins.property
4477
5065
  def actions(
@@ -4495,6 +5083,19 @@ class CfnPipeline(
4495
5083
  assert result is not None, "Required property 'name' is missing"
4496
5084
  return typing.cast(builtins.str, result)
4497
5085
 
5086
+ @builtins.property
5087
+ def before_entry(
5088
+ self,
5089
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.BeforeEntryConditionsProperty"]]:
5090
+ '''The method to use when a stage allows entry.
5091
+
5092
+ For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
5093
+
5094
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-beforeentry
5095
+ '''
5096
+ result = self._values.get("before_entry")
5097
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.BeforeEntryConditionsProperty"]], result)
5098
+
4498
5099
  @builtins.property
4499
5100
  def blockers(
4500
5101
  self,
@@ -4519,6 +5120,19 @@ class CfnPipeline(
4519
5120
  result = self._values.get("on_failure")
4520
5121
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.FailureConditionsProperty"]], result)
4521
5122
 
5123
+ @builtins.property
5124
+ def on_success(
5125
+ self,
5126
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.SuccessConditionsProperty"]]:
5127
+ '''The method to use when a stage has succeeded.
5128
+
5129
+ For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.
5130
+
5131
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-onsuccess
5132
+ '''
5133
+ result = self._values.get("on_success")
5134
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.SuccessConditionsProperty"]], result)
5135
+
4522
5136
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4523
5137
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4524
5138
 
@@ -4598,6 +5212,82 @@ class CfnPipeline(
4598
5212
  k + "=" + repr(v) for k, v in self._values.items()
4599
5213
  )
4600
5214
 
5215
+ @jsii.data_type(
5216
+ jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.SuccessConditionsProperty",
5217
+ jsii_struct_bases=[],
5218
+ name_mapping={"conditions": "conditions"},
5219
+ )
5220
+ class SuccessConditionsProperty:
5221
+ def __init__(
5222
+ self,
5223
+ *,
5224
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.ConditionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
5225
+ ) -> None:
5226
+ '''The conditions for making checks that, if met, succeed a stage.
5227
+
5228
+ :param conditions: The conditions that are success conditions.
5229
+
5230
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html
5231
+ :exampleMetadata: fixture=_generated
5232
+
5233
+ Example::
5234
+
5235
+ # The code below shows an example of how to instantiate this type.
5236
+ # The values are placeholders you should change.
5237
+ from aws_cdk import aws_codepipeline as codepipeline
5238
+
5239
+ # configuration: Any
5240
+
5241
+ success_conditions_property = codepipeline.CfnPipeline.SuccessConditionsProperty(
5242
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5243
+ result="result",
5244
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5245
+ configuration=configuration,
5246
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5247
+ name="name"
5248
+ )],
5249
+ name="name",
5250
+ region="region",
5251
+ role_arn="roleArn",
5252
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5253
+ category="category",
5254
+ owner="owner",
5255
+ provider="provider",
5256
+ version="version"
5257
+ )
5258
+ )]
5259
+ )]
5260
+ )
5261
+ '''
5262
+ if __debug__:
5263
+ type_hints = typing.get_type_hints(_typecheckingstub__bad81fbd255bde02e908e1897791765381a8955c3d02012570513080a2c49891)
5264
+ check_type(argname="argument conditions", value=conditions, expected_type=type_hints["conditions"])
5265
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
5266
+ if conditions is not None:
5267
+ self._values["conditions"] = conditions
5268
+
5269
+ @builtins.property
5270
+ def conditions(
5271
+ self,
5272
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]]:
5273
+ '''The conditions that are success conditions.
5274
+
5275
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-successconditions.html#cfn-codepipeline-pipeline-successconditions-conditions
5276
+ '''
5277
+ result = self._values.get("conditions")
5278
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.ConditionProperty"]]]], result)
5279
+
5280
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
5281
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
5282
+
5283
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
5284
+ return not (rhs == self)
5285
+
5286
+ def __repr__(self) -> str:
5287
+ return "SuccessConditionsProperty(%s)" % ", ".join(
5288
+ k + "=" + repr(v) for k, v in self._values.items()
5289
+ )
5290
+
4601
5291
  @jsii.data_type(
4602
5292
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.VariableDeclarationProperty",
4603
5293
  jsii_struct_bases=[],
@@ -4735,7 +5425,7 @@ class CfnPipelineProps:
4735
5425
  :param artifact_store: The S3 bucket where artifacts for the pipeline are stored. .. epigraph:: You must include either ``artifactStore`` or ``artifactStores`` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use ``artifactStores`` .
4736
5426
  :param artifact_stores: A mapping of ``artifactStore`` objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline. .. epigraph:: You must include either ``artifactStore`` or ``artifactStores`` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use ``artifactStores`` .
4737
5427
  :param disable_inbound_stage_transitions: Represents the input of a ``DisableStageTransition`` action.
4738
- :param execution_mode: The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
5428
+ :param execution_mode: The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED. Default: - "SUPERSEDED"
4739
5429
  :param name: The name of the pipeline.
4740
5430
  :param pipeline_type: CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications. - V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters. - V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration. .. epigraph:: Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs. For information about pricing for CodePipeline, see `Pricing <https://docs.aws.amazon.com/codepipeline/pricing/>`_ . For information about which type of pipeline to choose, see `What type of pipeline is right for me? <https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html>`_ .
4741
5431
  :param restart_execution_on_update: Indicates whether to rerun the CodePipeline pipeline after you update it.
@@ -4783,12 +5473,70 @@ class CfnPipelineProps:
4783
5473
  name="name",
4784
5474
 
4785
5475
  # the properties below are optional
5476
+ before_entry=codepipeline.CfnPipeline.BeforeEntryConditionsProperty(
5477
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5478
+ result="result",
5479
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5480
+ configuration=configuration,
5481
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5482
+ name="name"
5483
+ )],
5484
+ name="name",
5485
+ region="region",
5486
+ role_arn="roleArn",
5487
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5488
+ category="category",
5489
+ owner="owner",
5490
+ provider="provider",
5491
+ version="version"
5492
+ )
5493
+ )]
5494
+ )]
5495
+ ),
4786
5496
  blockers=[codepipeline.CfnPipeline.BlockerDeclarationProperty(
4787
5497
  name="name",
4788
5498
  type="type"
4789
5499
  )],
4790
5500
  on_failure=codepipeline.CfnPipeline.FailureConditionsProperty(
5501
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5502
+ result="result",
5503
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5504
+ configuration=configuration,
5505
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5506
+ name="name"
5507
+ )],
5508
+ name="name",
5509
+ region="region",
5510
+ role_arn="roleArn",
5511
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5512
+ category="category",
5513
+ owner="owner",
5514
+ provider="provider",
5515
+ version="version"
5516
+ )
5517
+ )]
5518
+ )],
4791
5519
  result="result"
5520
+ ),
5521
+ on_success=codepipeline.CfnPipeline.SuccessConditionsProperty(
5522
+ conditions=[codepipeline.CfnPipeline.ConditionProperty(
5523
+ result="result",
5524
+ rules=[codepipeline.CfnPipeline.RuleDeclarationProperty(
5525
+ configuration=configuration,
5526
+ input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
5527
+ name="name"
5528
+ )],
5529
+ name="name",
5530
+ region="region",
5531
+ role_arn="roleArn",
5532
+ rule_type_id=codepipeline.CfnPipeline.RuleTypeIdProperty(
5533
+ category="category",
5534
+ owner="owner",
5535
+ provider="provider",
5536
+ version="version"
5537
+ )
5538
+ )]
5539
+ )]
4792
5540
  )
4793
5541
  )],
4794
5542
 
@@ -4981,6 +5729,8 @@ class CfnPipelineProps:
4981
5729
 
4982
5730
  The default mode is SUPERSEDED.
4983
5731
 
5732
+ :default: - "SUPERSEDED"
5733
+
4984
5734
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html#cfn-codepipeline-pipeline-executionmode
4985
5735
  '''
4986
5736
  result = self._values.get("execution_mode")
@@ -5139,7 +5889,7 @@ class CfnWebhook(
5139
5889
  '''
5140
5890
  :param scope: Scope in which this resource is defined.
5141
5891
  :param id: Construct identifier for this resource (unique in its scope).
5142
- :param authentication: Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. - For information about the authentication scheme implemented by GITHUB_HMAC, see `Securing your webhooks <https://docs.aws.amazon.com/https://developer.github.com/webhooks/securing/>`_ on the GitHub Developer website. - IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration. - UNAUTHENTICATED accepts all webhook trigger requests regardless of origin.
5892
+ :param authentication: Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response. - For information about the authentication scheme implemented by GITHUB_HMAC, see `Securing your webhooks <https://docs.aws.amazon.com/https://developer.github.com/webhooks/securing/>`_ on the GitHub Developer website. - IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration. - UNAUTHENTICATED accepts all webhook trigger requests regardless of origin.
5143
5893
  :param authentication_configuration: Properties that configure the authentication applied to incoming webhook trigger requests. The required properties depend on the authentication type. For GITHUB_HMAC, only the ``SecretToken`` property must be set. For IP, only the ``AllowedIPRange`` property must be set to a valid CIDR range. For UNAUTHENTICATED, no properties can be set.
5144
5894
  :param filters: A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules must pass for the request to be accepted and the pipeline started.
5145
5895
  :param target_action: The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
@@ -5228,7 +5978,7 @@ class CfnWebhook(
5228
5978
  if __debug__:
5229
5979
  type_hints = typing.get_type_hints(_typecheckingstub__e676ed166ded3f8e83006fde318144fc317bdf1d026e6626ec6456c9af43e75f)
5230
5980
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5231
- jsii.set(self, "authentication", value)
5981
+ jsii.set(self, "authentication", value) # pyright: ignore[reportArgumentType]
5232
5982
 
5233
5983
  @builtins.property
5234
5984
  @jsii.member(jsii_name="authenticationConfiguration")
@@ -5246,7 +5996,7 @@ class CfnWebhook(
5246
5996
  if __debug__:
5247
5997
  type_hints = typing.get_type_hints(_typecheckingstub__661e78f47928057e34eff18cc959796c1aeaac5a2037fd1c3cc43d77914ebef7)
5248
5998
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5249
- jsii.set(self, "authenticationConfiguration", value)
5999
+ jsii.set(self, "authenticationConfiguration", value) # pyright: ignore[reportArgumentType]
5250
6000
 
5251
6001
  @builtins.property
5252
6002
  @jsii.member(jsii_name="filters")
@@ -5264,7 +6014,7 @@ class CfnWebhook(
5264
6014
  if __debug__:
5265
6015
  type_hints = typing.get_type_hints(_typecheckingstub__2850ab1aedf159b1372121953fbc6d536f0960551cfbef5e9d4c28853a4a21d2)
5266
6016
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5267
- jsii.set(self, "filters", value)
6017
+ jsii.set(self, "filters", value) # pyright: ignore[reportArgumentType]
5268
6018
 
5269
6019
  @builtins.property
5270
6020
  @jsii.member(jsii_name="targetAction")
@@ -5277,7 +6027,7 @@ class CfnWebhook(
5277
6027
  if __debug__:
5278
6028
  type_hints = typing.get_type_hints(_typecheckingstub__587b4858c30fdff155d12e1a9d56e04f9e188232da10143ade48f277f0f2c87c)
5279
6029
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5280
- jsii.set(self, "targetAction", value)
6030
+ jsii.set(self, "targetAction", value) # pyright: ignore[reportArgumentType]
5281
6031
 
5282
6032
  @builtins.property
5283
6033
  @jsii.member(jsii_name="targetPipeline")
@@ -5290,7 +6040,7 @@ class CfnWebhook(
5290
6040
  if __debug__:
5291
6041
  type_hints = typing.get_type_hints(_typecheckingstub__7689c33ff229cf9ddb20032bde1e437145c826878f8c3c870467422b263504ad)
5292
6042
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5293
- jsii.set(self, "targetPipeline", value)
6043
+ jsii.set(self, "targetPipeline", value) # pyright: ignore[reportArgumentType]
5294
6044
 
5295
6045
  @builtins.property
5296
6046
  @jsii.member(jsii_name="targetPipelineVersion")
@@ -5303,7 +6053,7 @@ class CfnWebhook(
5303
6053
  if __debug__:
5304
6054
  type_hints = typing.get_type_hints(_typecheckingstub__1b5cd8d4c4d8034c3ab1dd1b987c191aa6f08532707cff99ad05b96198aff585)
5305
6055
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5306
- jsii.set(self, "targetPipelineVersion", value)
6056
+ jsii.set(self, "targetPipelineVersion", value) # pyright: ignore[reportArgumentType]
5307
6057
 
5308
6058
  @builtins.property
5309
6059
  @jsii.member(jsii_name="name")
@@ -5316,7 +6066,7 @@ class CfnWebhook(
5316
6066
  if __debug__:
5317
6067
  type_hints = typing.get_type_hints(_typecheckingstub__02d5d087cd1b518d8897dbfb653d0edc5b158629e5fb93ddfa71e79b970371d6)
5318
6068
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5319
- jsii.set(self, "name", value)
6069
+ jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
5320
6070
 
5321
6071
  @builtins.property
5322
6072
  @jsii.member(jsii_name="registerWithThirdParty")
@@ -5334,7 +6084,7 @@ class CfnWebhook(
5334
6084
  if __debug__:
5335
6085
  type_hints = typing.get_type_hints(_typecheckingstub__bece180dca3b968274dbd53d569afb60e6d46b7d744e84c8607ca6bebd23d1be)
5336
6086
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5337
- jsii.set(self, "registerWithThirdParty", value)
6087
+ jsii.set(self, "registerWithThirdParty", value) # pyright: ignore[reportArgumentType]
5338
6088
 
5339
6089
  @jsii.data_type(
5340
6090
  jsii_type="aws-cdk-lib.aws_codepipeline.CfnWebhook.WebhookAuthConfigurationProperty",
@@ -5354,7 +6104,7 @@ class CfnWebhook(
5354
6104
  '''The authentication applied to incoming webhook trigger requests.
5355
6105
 
5356
6106
  :param allowed_ip_range: The property used to configure acceptance of webhooks in an IP address range. For IP, only the ``AllowedIPRange`` property must be set. This property must be set to a valid CIDR range.
5357
- :param secret_token: The property used to configure GitHub authentication. For GITHUB_HMAC, only the ``SecretToken`` property must be set. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.
6107
+ :param secret_token: The property used to configure GitHub authentication. For GITHUB_HMAC, only the ``SecretToken`` property must be set. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response.
5358
6108
 
5359
6109
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html
5360
6110
  :exampleMetadata: fixture=_generated
@@ -5397,7 +6147,7 @@ class CfnWebhook(
5397
6147
 
5398
6148
  .. epigraph::
5399
6149
 
5400
- When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.
6150
+ When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response.
5401
6151
 
5402
6152
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html#cfn-codepipeline-webhook-webhookauthconfiguration-secrettoken
5403
6153
  '''
@@ -5522,7 +6272,7 @@ class CfnWebhookProps:
5522
6272
  ) -> None:
5523
6273
  '''Properties for defining a ``CfnWebhook``.
5524
6274
 
5525
- :param authentication: Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. - For information about the authentication scheme implemented by GITHUB_HMAC, see `Securing your webhooks <https://docs.aws.amazon.com/https://developer.github.com/webhooks/securing/>`_ on the GitHub Developer website. - IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration. - UNAUTHENTICATED accepts all webhook trigger requests regardless of origin.
6275
+ :param authentication: Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. .. epigraph:: When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response. - For information about the authentication scheme implemented by GITHUB_HMAC, see `Securing your webhooks <https://docs.aws.amazon.com/https://developer.github.com/webhooks/securing/>`_ on the GitHub Developer website. - IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration. - UNAUTHENTICATED accepts all webhook trigger requests regardless of origin.
5526
6276
  :param authentication_configuration: Properties that configure the authentication applied to incoming webhook trigger requests. The required properties depend on the authentication type. For GITHUB_HMAC, only the ``SecretToken`` property must be set. For IP, only the ``AllowedIPRange`` property must be set to a valid CIDR range. For UNAUTHENTICATED, no properties can be set.
5527
6277
  :param filters: A list of rules applied to the body/payload sent in the POST request to a webhook URL. All defined rules must pass for the request to be accepted and the pipeline started.
5528
6278
  :param target_action: The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
@@ -5590,7 +6340,7 @@ class CfnWebhookProps:
5590
6340
 
5591
6341
  .. epigraph::
5592
6342
 
5593
- When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.
6343
+ When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response.
5594
6344
 
5595
6345
  - For information about the authentication scheme implemented by GITHUB_HMAC, see `Securing your webhooks <https://docs.aws.amazon.com/https://developer.github.com/webhooks/securing/>`_ on the GitHub Developer website.
5596
6346
  - IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration.
@@ -9924,6 +10674,13 @@ def _typecheckingstub__91b233fc5287d89d9af5271a9055e0654e118daed6dd1005de3625fd6
9924
10674
  """Type checking stubs"""
9925
10675
  pass
9926
10676
 
10677
+ def _typecheckingstub__ff44830aee4e51ecc46b42bb0b414bcd05d75b800ddc37363d32c748295262f5(
10678
+ *,
10679
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10680
+ ) -> None:
10681
+ """Type checking stubs"""
10682
+ pass
10683
+
9927
10684
  def _typecheckingstub__aea6445095fe3aacd420516908167baa59e112aac5061ae6965dcfdf065d8fad(
9928
10685
  *,
9929
10686
  name: builtins.str,
@@ -9932,6 +10689,14 @@ def _typecheckingstub__aea6445095fe3aacd420516908167baa59e112aac5061ae6965dcfdf0
9932
10689
  """Type checking stubs"""
9933
10690
  pass
9934
10691
 
10692
+ def _typecheckingstub__655a27184b132924897ce867140bc56b49b1cd145d4fad9f8f52918c99d0778d(
10693
+ *,
10694
+ result: typing.Optional[builtins.str] = None,
10695
+ rules: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.RuleDeclarationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10696
+ ) -> None:
10697
+ """Type checking stubs"""
10698
+ pass
10699
+
9935
10700
  def _typecheckingstub__947de613103ce26163068b14d3b93b5c2d7f86d29fa6fc5cbd1509b11ffb231a(
9936
10701
  *,
9937
10702
  id: builtins.str,
@@ -9942,7 +10707,8 @@ def _typecheckingstub__947de613103ce26163068b14d3b93b5c2d7f86d29fa6fc5cbd1509b11
9942
10707
 
9943
10708
  def _typecheckingstub__24827e49ed35c3622e48ed5d5a7874646b28153667949aaac3a40638392631b8(
9944
10709
  *,
9945
- result: builtins.str,
10710
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10711
+ result: typing.Optional[builtins.str] = None,
9946
10712
  ) -> None:
9947
10713
  """Type checking stubs"""
9948
10714
  pass
@@ -10020,12 +10786,36 @@ def _typecheckingstub__4824b4ebe4c9c0ddbf15b9dd3cf1a2ffc31a1e5dfc394ba57c68b45d7
10020
10786
  """Type checking stubs"""
10021
10787
  pass
10022
10788
 
10789
+ def _typecheckingstub__8b4c62f005bd4f9080fa5e8c7f7671821e7ac1c9314d5d3b1130fbf53e40fa51(
10790
+ *,
10791
+ configuration: typing.Any = None,
10792
+ input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.InputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10793
+ name: typing.Optional[builtins.str] = None,
10794
+ region: typing.Optional[builtins.str] = None,
10795
+ role_arn: typing.Optional[builtins.str] = None,
10796
+ rule_type_id: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.RuleTypeIdProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10797
+ ) -> None:
10798
+ """Type checking stubs"""
10799
+ pass
10800
+
10801
+ def _typecheckingstub__23e156541c561ae2d7b906b9cbe6720faebd9cc87aa106465379f19bc0980c56(
10802
+ *,
10803
+ category: typing.Optional[builtins.str] = None,
10804
+ owner: typing.Optional[builtins.str] = None,
10805
+ provider: typing.Optional[builtins.str] = None,
10806
+ version: typing.Optional[builtins.str] = None,
10807
+ ) -> None:
10808
+ """Type checking stubs"""
10809
+ pass
10810
+
10023
10811
  def _typecheckingstub__6d7aa29ffac3603e5ca76edf19c1467363376322d9bc527c818c0d2c87a67c65(
10024
10812
  *,
10025
10813
  actions: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ActionDeclarationProperty, typing.Dict[builtins.str, typing.Any]]]]],
10026
10814
  name: builtins.str,
10815
+ before_entry: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.BeforeEntryConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10027
10816
  blockers: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.BlockerDeclarationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10028
10817
  on_failure: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.FailureConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10818
+ on_success: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.SuccessConditionsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10029
10819
  ) -> None:
10030
10820
  """Type checking stubs"""
10031
10821
  pass
@@ -10038,6 +10828,13 @@ def _typecheckingstub__cb571d221ca422b88898c034c3ecd725aa8056ceb7b00c4c4faba2b7c
10038
10828
  """Type checking stubs"""
10039
10829
  pass
10040
10830
 
10831
+ def _typecheckingstub__bad81fbd255bde02e908e1897791765381a8955c3d02012570513080a2c49891(
10832
+ *,
10833
+ conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
10834
+ ) -> None:
10835
+ """Type checking stubs"""
10836
+ pass
10837
+
10041
10838
  def _typecheckingstub__c1db744a2dce48273e96d1e41fe3217fb05516aae94ff61ffe871290cbc49ca0(
10042
10839
  *,
10043
10840
  name: builtins.str,