aws-cdk-lib 2.133.0__py3-none-any.whl → 2.135.0__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.
Files changed (282) hide show
  1. aws_cdk/__init__.py +14 -1
  2. aws_cdk/_jsii/__init__.py +4 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.135.0.jsii.tgz} +0 -0
  4. aws_cdk/alexa_ask/__init__.py +3 -0
  5. aws_cdk/assertions/__init__.py +3 -0
  6. aws_cdk/aws_accessanalyzer/__init__.py +3 -0
  7. aws_cdk/aws_acmpca/__init__.py +3 -0
  8. aws_cdk/aws_amazonmq/__init__.py +3 -0
  9. aws_cdk/aws_amplify/__init__.py +3 -0
  10. aws_cdk/aws_amplifyuibuilder/__init__.py +3 -0
  11. aws_cdk/aws_apigateway/__init__.py +3 -0
  12. aws_cdk/aws_apigatewayv2/__init__.py +108 -3
  13. aws_cdk/aws_apigatewayv2_authorizers/__init__.py +3 -0
  14. aws_cdk/aws_apigatewayv2_integrations/__init__.py +158 -3
  15. aws_cdk/aws_appconfig/__init__.py +189 -8
  16. aws_cdk/aws_appflow/__init__.py +3 -0
  17. aws_cdk/aws_appintegrations/__init__.py +560 -0
  18. aws_cdk/aws_applicationautoscaling/__init__.py +4 -1
  19. aws_cdk/aws_applicationinsights/__init__.py +3 -0
  20. aws_cdk/aws_appmesh/__init__.py +4 -1
  21. aws_cdk/aws_apprunner/__init__.py +3 -0
  22. aws_cdk/aws_appstream/__init__.py +3 -0
  23. aws_cdk/aws_appsync/__init__.py +74 -0
  24. aws_cdk/aws_aps/__init__.py +805 -1
  25. aws_cdk/aws_arczonalshift/__init__.py +3 -0
  26. aws_cdk/aws_athena/__init__.py +3 -0
  27. aws_cdk/aws_auditmanager/__init__.py +3 -0
  28. aws_cdk/aws_autoscaling/__init__.py +9 -4
  29. aws_cdk/aws_autoscaling_common/__init__.py +3 -0
  30. aws_cdk/aws_autoscaling_hooktargets/__init__.py +3 -0
  31. aws_cdk/aws_autoscalingplans/__init__.py +3 -0
  32. aws_cdk/aws_b2bi/__init__.py +3 -0
  33. aws_cdk/aws_backup/__init__.py +26 -12
  34. aws_cdk/aws_backupgateway/__init__.py +3 -0
  35. aws_cdk/aws_batch/__init__.py +426 -73
  36. aws_cdk/aws_bedrock/__init__.py +200 -2
  37. aws_cdk/aws_billingconductor/__init__.py +3 -0
  38. aws_cdk/aws_budgets/__init__.py +3 -0
  39. aws_cdk/aws_cassandra/__init__.py +3 -0
  40. aws_cdk/aws_ce/__init__.py +3 -0
  41. aws_cdk/aws_certificatemanager/__init__.py +3 -0
  42. aws_cdk/aws_chatbot/__init__.py +3 -0
  43. aws_cdk/aws_cleanrooms/__init__.py +183 -6
  44. aws_cdk/aws_cloud9/__init__.py +3 -0
  45. aws_cdk/aws_cloudformation/__init__.py +4 -1
  46. aws_cdk/aws_cloudfront/__init__.py +5 -2
  47. aws_cdk/aws_cloudfront/experimental/__init__.py +3 -0
  48. aws_cdk/aws_cloudfront_origins/__init__.py +3 -0
  49. aws_cdk/aws_cloudtrail/__init__.py +47 -14
  50. aws_cdk/aws_cloudwatch/__init__.py +21 -0
  51. aws_cdk/aws_cloudwatch_actions/__init__.py +3 -0
  52. aws_cdk/aws_codeartifact/__init__.py +815 -2
  53. aws_cdk/aws_codebuild/__init__.py +38 -16
  54. aws_cdk/aws_codecommit/__init__.py +3 -0
  55. aws_cdk/aws_codedeploy/__init__.py +3 -0
  56. aws_cdk/aws_codeguruprofiler/__init__.py +3 -0
  57. aws_cdk/aws_codegurureviewer/__init__.py +3 -0
  58. aws_cdk/aws_codepipeline/__init__.py +27 -8
  59. aws_cdk/aws_codepipeline_actions/__init__.py +3 -0
  60. aws_cdk/aws_codestar/__init__.py +3 -0
  61. aws_cdk/aws_codestarconnections/__init__.py +91 -2
  62. aws_cdk/aws_codestarnotifications/__init__.py +3 -0
  63. aws_cdk/aws_cognito/__init__.py +44 -40
  64. aws_cdk/aws_comprehend/__init__.py +3 -0
  65. aws_cdk/aws_config/__init__.py +3 -0
  66. aws_cdk/aws_connect/__init__.py +277 -0
  67. aws_cdk/aws_connectcampaigns/__init__.py +3 -0
  68. aws_cdk/aws_controltower/__init__.py +3 -0
  69. aws_cdk/aws_cur/__init__.py +3 -0
  70. aws_cdk/aws_customerprofiles/__init__.py +3 -0
  71. aws_cdk/aws_databrew/__init__.py +3 -0
  72. aws_cdk/aws_datapipeline/__init__.py +3 -0
  73. aws_cdk/aws_datasync/__init__.py +396 -13
  74. aws_cdk/aws_datazone/__init__.py +3 -0
  75. aws_cdk/aws_dax/__init__.py +3 -0
  76. aws_cdk/aws_detective/__init__.py +3 -0
  77. aws_cdk/aws_devicefarm/__init__.py +3 -0
  78. aws_cdk/aws_devopsguru/__init__.py +3 -0
  79. aws_cdk/aws_directoryservice/__init__.py +3 -0
  80. aws_cdk/aws_dlm/__init__.py +5 -2
  81. aws_cdk/aws_dms/__init__.py +30 -9
  82. aws_cdk/aws_docdb/__init__.py +3 -0
  83. aws_cdk/aws_docdbelastic/__init__.py +128 -0
  84. aws_cdk/aws_dynamodb/__init__.py +419 -5
  85. aws_cdk/aws_ec2/__init__.py +3530 -504
  86. aws_cdk/aws_ecr/__init__.py +3 -0
  87. aws_cdk/aws_ecr_assets/__init__.py +3 -0
  88. aws_cdk/aws_ecs/__init__.py +12 -4
  89. aws_cdk/aws_ecs_patterns/__init__.py +3 -0
  90. aws_cdk/aws_efs/__init__.py +3 -0
  91. aws_cdk/aws_eks/__init__.py +69 -47
  92. aws_cdk/aws_elasticache/__init__.py +3 -0
  93. aws_cdk/aws_elasticbeanstalk/__init__.py +3 -0
  94. aws_cdk/aws_elasticloadbalancing/__init__.py +3 -0
  95. aws_cdk/aws_elasticloadbalancingv2/__init__.py +431 -72
  96. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +3 -0
  97. aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +3 -0
  98. aws_cdk/aws_elasticsearch/__init__.py +3 -0
  99. aws_cdk/aws_emr/__init__.py +3 -0
  100. aws_cdk/aws_emrcontainers/__init__.py +3 -0
  101. aws_cdk/aws_emrserverless/__init__.py +3 -0
  102. aws_cdk/aws_entityresolution/__init__.py +96 -66
  103. aws_cdk/aws_events/__init__.py +3 -0
  104. aws_cdk/aws_events_targets/__init__.py +3 -0
  105. aws_cdk/aws_eventschemas/__init__.py +3 -0
  106. aws_cdk/aws_evidently/__init__.py +3 -0
  107. aws_cdk/aws_finspace/__init__.py +3 -0
  108. aws_cdk/aws_fis/__init__.py +3 -0
  109. aws_cdk/aws_fms/__init__.py +3 -0
  110. aws_cdk/aws_forecast/__init__.py +3 -0
  111. aws_cdk/aws_frauddetector/__init__.py +3 -0
  112. aws_cdk/aws_fsx/__init__.py +3 -0
  113. aws_cdk/aws_gamelift/__init__.py +3 -0
  114. aws_cdk/aws_globalaccelerator/__init__.py +5 -2
  115. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +3 -0
  116. aws_cdk/aws_glue/__init__.py +147 -3
  117. aws_cdk/aws_grafana/__init__.py +3 -0
  118. aws_cdk/aws_greengrass/__init__.py +3 -0
  119. aws_cdk/aws_greengrassv2/__init__.py +3 -0
  120. aws_cdk/aws_groundstation/__init__.py +3 -0
  121. aws_cdk/aws_guardduty/__init__.py +3 -0
  122. aws_cdk/aws_healthimaging/__init__.py +3 -0
  123. aws_cdk/aws_healthlake/__init__.py +3 -0
  124. aws_cdk/aws_iam/__init__.py +12 -10
  125. aws_cdk/aws_identitystore/__init__.py +3 -0
  126. aws_cdk/aws_imagebuilder/__init__.py +3 -0
  127. aws_cdk/aws_inspector/__init__.py +3 -0
  128. aws_cdk/aws_inspectorv2/__init__.py +3 -0
  129. aws_cdk/aws_internetmonitor/__init__.py +88 -0
  130. aws_cdk/aws_iot/__init__.py +3 -0
  131. aws_cdk/aws_iot1click/__init__.py +3 -0
  132. aws_cdk/aws_iotanalytics/__init__.py +3 -0
  133. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +3 -0
  134. aws_cdk/aws_iotevents/__init__.py +3 -0
  135. aws_cdk/aws_iotfleethub/__init__.py +3 -0
  136. aws_cdk/aws_iotfleetwise/__init__.py +3 -0
  137. aws_cdk/aws_iotsitewise/__init__.py +138 -55
  138. aws_cdk/aws_iotthingsgraph/__init__.py +3 -0
  139. aws_cdk/aws_iottwinmaker/__init__.py +3 -0
  140. aws_cdk/aws_iotwireless/__init__.py +3 -0
  141. aws_cdk/aws_ivs/__init__.py +3 -0
  142. aws_cdk/aws_ivschat/__init__.py +3 -0
  143. aws_cdk/aws_kafkaconnect/__init__.py +1239 -161
  144. aws_cdk/aws_kendra/__init__.py +56 -39
  145. aws_cdk/aws_kendraranking/__init__.py +3 -0
  146. aws_cdk/aws_kinesis/__init__.py +3 -0
  147. aws_cdk/aws_kinesisanalytics/__init__.py +40 -37
  148. aws_cdk/aws_kinesisanalyticsv2/__init__.py +40 -37
  149. aws_cdk/aws_kinesisfirehose/__init__.py +14 -3
  150. aws_cdk/aws_kinesisvideo/__init__.py +3 -0
  151. aws_cdk/aws_kms/__init__.py +3 -0
  152. aws_cdk/aws_lakeformation/__init__.py +3 -0
  153. aws_cdk/aws_lambda/__init__.py +9 -0
  154. aws_cdk/aws_lambda_destinations/__init__.py +3 -0
  155. aws_cdk/aws_lambda_event_sources/__init__.py +45 -18
  156. aws_cdk/aws_lambda_nodejs/__init__.py +3 -0
  157. aws_cdk/aws_lex/__init__.py +3 -0
  158. aws_cdk/aws_licensemanager/__init__.py +3 -0
  159. aws_cdk/aws_lightsail/__init__.py +3 -0
  160. aws_cdk/aws_location/__init__.py +3 -0
  161. aws_cdk/aws_logs/__init__.py +3 -0
  162. aws_cdk/aws_logs_destinations/__init__.py +3 -0
  163. aws_cdk/aws_lookoutequipment/__init__.py +3 -0
  164. aws_cdk/aws_lookoutmetrics/__init__.py +3 -0
  165. aws_cdk/aws_lookoutvision/__init__.py +3 -0
  166. aws_cdk/aws_m2/__init__.py +3 -0
  167. aws_cdk/aws_macie/__init__.py +3 -0
  168. aws_cdk/aws_managedblockchain/__init__.py +5 -3
  169. aws_cdk/aws_mediaconnect/__init__.py +3 -0
  170. aws_cdk/aws_mediaconvert/__init__.py +3 -0
  171. aws_cdk/aws_medialive/__init__.py +3 -0
  172. aws_cdk/aws_mediapackage/__init__.py +3 -0
  173. aws_cdk/aws_mediapackagev2/__init__.py +3 -0
  174. aws_cdk/aws_mediastore/__init__.py +3 -0
  175. aws_cdk/aws_mediatailor/__init__.py +3 -0
  176. aws_cdk/aws_memorydb/__init__.py +3 -0
  177. aws_cdk/aws_msk/__init__.py +91 -0
  178. aws_cdk/aws_mwaa/__init__.py +3 -0
  179. aws_cdk/aws_neptune/__init__.py +3 -0
  180. aws_cdk/aws_neptunegraph/__init__.py +3 -0
  181. aws_cdk/aws_networkfirewall/__init__.py +3 -0
  182. aws_cdk/aws_networkmanager/__init__.py +3 -0
  183. aws_cdk/aws_nimblestudio/__init__.py +3 -0
  184. aws_cdk/aws_oam/__init__.py +6 -3
  185. aws_cdk/aws_omics/__init__.py +3 -0
  186. aws_cdk/aws_opensearchserverless/__init__.py +3 -0
  187. aws_cdk/aws_opensearchservice/__init__.py +26 -18
  188. aws_cdk/aws_opsworks/__init__.py +3 -0
  189. aws_cdk/aws_opsworkscm/__init__.py +3 -0
  190. aws_cdk/aws_organizations/__init__.py +3 -0
  191. aws_cdk/aws_osis/__init__.py +3 -0
  192. aws_cdk/aws_panorama/__init__.py +3 -0
  193. aws_cdk/aws_pcaconnectorad/__init__.py +3 -0
  194. aws_cdk/aws_personalize/__init__.py +3 -0
  195. aws_cdk/aws_pinpoint/__init__.py +45 -0
  196. aws_cdk/aws_pinpointemail/__init__.py +3 -0
  197. aws_cdk/aws_pipes/__init__.py +3 -0
  198. aws_cdk/aws_proton/__init__.py +3 -0
  199. aws_cdk/aws_qldb/__init__.py +3 -0
  200. aws_cdk/aws_quicksight/__init__.py +3 -0
  201. aws_cdk/aws_ram/__init__.py +3 -0
  202. aws_cdk/aws_rds/__init__.py +150 -27
  203. aws_cdk/aws_redshift/__init__.py +3 -0
  204. aws_cdk/aws_redshiftserverless/__init__.py +3 -0
  205. aws_cdk/aws_refactorspaces/__init__.py +3 -0
  206. aws_cdk/aws_rekognition/__init__.py +3 -0
  207. aws_cdk/aws_resiliencehub/__init__.py +3 -0
  208. aws_cdk/aws_resourceexplorer2/__init__.py +3 -0
  209. aws_cdk/aws_resourcegroups/__init__.py +3 -0
  210. aws_cdk/aws_robomaker/__init__.py +3 -0
  211. aws_cdk/aws_rolesanywhere/__init__.py +3 -0
  212. aws_cdk/aws_route53/__init__.py +52 -0
  213. aws_cdk/aws_route53_patterns/__init__.py +3 -0
  214. aws_cdk/aws_route53_targets/__init__.py +3 -0
  215. aws_cdk/aws_route53recoverycontrol/__init__.py +3 -0
  216. aws_cdk/aws_route53recoveryreadiness/__init__.py +3 -0
  217. aws_cdk/aws_route53resolver/__init__.py +3 -0
  218. aws_cdk/aws_rum/__init__.py +3 -0
  219. aws_cdk/aws_s3/__init__.py +3 -0
  220. aws_cdk/aws_s3_assets/__init__.py +3 -0
  221. aws_cdk/aws_s3_deployment/__init__.py +3 -0
  222. aws_cdk/aws_s3_notifications/__init__.py +3 -0
  223. aws_cdk/aws_s3express/__init__.py +3 -0
  224. aws_cdk/aws_s3objectlambda/__init__.py +3 -0
  225. aws_cdk/aws_s3outposts/__init__.py +3 -0
  226. aws_cdk/aws_sagemaker/__init__.py +5 -2
  227. aws_cdk/aws_sam/__init__.py +3 -0
  228. aws_cdk/aws_scheduler/__init__.py +3 -0
  229. aws_cdk/aws_sdb/__init__.py +3 -0
  230. aws_cdk/aws_secretsmanager/__init__.py +3 -0
  231. aws_cdk/aws_securityhub/__init__.py +59 -14
  232. aws_cdk/aws_securitylake/__init__.py +859 -0
  233. aws_cdk/aws_servicecatalog/__init__.py +3 -0
  234. aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -0
  235. aws_cdk/aws_servicediscovery/__init__.py +3 -0
  236. aws_cdk/aws_ses/__init__.py +3 -0
  237. aws_cdk/aws_ses_actions/__init__.py +3 -0
  238. aws_cdk/aws_shield/__init__.py +3 -0
  239. aws_cdk/aws_signer/__init__.py +3 -0
  240. aws_cdk/aws_simspaceweaver/__init__.py +3 -0
  241. aws_cdk/aws_sns/__init__.py +48 -13
  242. aws_cdk/aws_sns_subscriptions/__init__.py +3 -0
  243. aws_cdk/aws_sqs/__init__.py +3 -0
  244. aws_cdk/aws_ssm/__init__.py +6 -3
  245. aws_cdk/aws_ssmcontacts/__init__.py +3 -0
  246. aws_cdk/aws_ssmincidents/__init__.py +3 -0
  247. aws_cdk/aws_sso/__init__.py +3 -0
  248. aws_cdk/aws_stepfunctions/__init__.py +3 -0
  249. aws_cdk/aws_stepfunctions_tasks/__init__.py +26 -0
  250. aws_cdk/aws_supportapp/__init__.py +3 -0
  251. aws_cdk/aws_synthetics/__init__.py +77 -14
  252. aws_cdk/aws_systemsmanagersap/__init__.py +3 -0
  253. aws_cdk/aws_timestream/__init__.py +3 -0
  254. aws_cdk/aws_transfer/__init__.py +7 -3
  255. aws_cdk/aws_verifiedpermissions/__init__.py +3 -0
  256. aws_cdk/aws_voiceid/__init__.py +3 -0
  257. aws_cdk/aws_vpclattice/__init__.py +3 -0
  258. aws_cdk/aws_waf/__init__.py +3 -0
  259. aws_cdk/aws_wafregional/__init__.py +3 -0
  260. aws_cdk/aws_wafv2/__init__.py +99 -46
  261. aws_cdk/aws_wisdom/__init__.py +3 -0
  262. aws_cdk/aws_workspaces/__init__.py +3 -0
  263. aws_cdk/aws_workspacesthinclient/__init__.py +3 -0
  264. aws_cdk/aws_workspacesweb/__init__.py +3 -0
  265. aws_cdk/aws_xray/__init__.py +3 -0
  266. aws_cdk/cloud_assembly_schema/__init__.py +3 -0
  267. aws_cdk/cloudformation_include/__init__.py +3 -0
  268. aws_cdk/custom_resources/__init__.py +7 -4
  269. aws_cdk/cx_api/__init__.py +20 -0
  270. aws_cdk/lambda_layer_awscli/__init__.py +3 -0
  271. aws_cdk/lambda_layer_kubectl/__init__.py +3 -0
  272. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +3 -0
  273. aws_cdk/pipelines/__init__.py +3 -0
  274. aws_cdk/region_info/__init__.py +3 -0
  275. aws_cdk/triggers/__init__.py +3 -0
  276. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/METADATA +2 -2
  277. aws_cdk_lib-2.135.0.dist-info/RECORD +282 -0
  278. aws_cdk_lib-2.133.0.dist-info/RECORD +0 -281
  279. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/LICENSE +0 -0
  280. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/NOTICE +0 -0
  281. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/WHEEL +0 -0
  282. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.135.0.dist-info}/top_level.txt +0 -0
@@ -886,6 +886,9 @@ codebuild.Project(self, "MyProject",
886
886
  )
887
887
  ```
888
888
  '''
889
+ from pkgutil import extend_path
890
+ __path__ = extend_path(__path__, __name__)
891
+
889
892
  import abc
890
893
  import builtins
891
894
  import datetime
@@ -4521,7 +4524,7 @@ class CfnProject(
4521
4524
  '''A source identifier and its corresponding version.
4522
4525
 
4523
4526
  :param source_identifier: An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
4524
- :param source_version: The source version for the corresponding source identifier. If specified, must be one of:. - For CodeCommit: the commit ID, branch, or Git tag to use. - For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format ``pr/pull-request-ID`` (for example, ``pr/25`` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Amazon S3: the version ID of the object that represents the build input ZIP file to use. For more information, see `Source Version Sample with CodeBuild <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html>`_ in the *AWS CodeBuild User Guide* .
4527
+ :param source_version: The source version for the corresponding source identifier. If specified, must be one of:. - For CodeCommit: the commit ID, branch, or Git tag to use. - For GitHub or GitLab: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format ``pr/pull-request-ID`` (for example, ``pr/25`` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. - For Amazon S3: the version ID of the object that represents the build input ZIP file to use. For more information, see `Source Version Sample with CodeBuild <https://docs.aws.amazon.com/codebuild/latest/userguide/sample-source-version.html>`_ in the *AWS CodeBuild User Guide* .
4525
4528
 
4526
4529
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html
4527
4530
  :exampleMetadata: fixture=_generated
@@ -4566,7 +4569,7 @@ class CfnProject(
4566
4569
  '''The source version for the corresponding source identifier. If specified, must be one of:.
4567
4570
 
4568
4571
  - For CodeCommit: the commit ID, branch, or Git tag to use.
4569
- - For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format ``pr/pull-request-ID`` (for example, ``pr/25`` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
4572
+ - For GitHub or GitLab: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format ``pr/pull-request-ID`` (for example, ``pr/25`` ). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
4570
4573
  - For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
4571
4574
  - For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
4572
4575
 
@@ -4998,14 +5001,14 @@ class CfnProject(
4998
5001
  ) -> None:
4999
5002
  '''``Source`` is a property of the `AWS::CodeBuild::Project <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html>`_ resource that specifies the source code settings for the project, such as the source code's repository type and location.
5000
5003
 
5001
- :param type: The type of repository that contains the source code to be built. Valid values include:. - ``BITBUCKET`` : The source code is in a Bitbucket repository. - ``CODECOMMIT`` : The source code is in an CodeCommit repository. - ``CODEPIPELINE`` : The source code settings are specified in the source action of a pipeline in CodePipeline. - ``GITHUB`` : The source code is in a GitHub or GitHub Enterprise Cloud repository. - ``GITHUB_ENTERPRISE`` : The source code is in a GitHub Enterprise Server repository. - ``NO_SOURCE`` : The project does not have input source code. - ``S3`` : The source code is in an Amazon S3 bucket.
5004
+ :param type: The type of repository that contains the source code to be built. Valid values include:. - ``BITBUCKET`` : The source code is in a Bitbucket repository. - ``CODECOMMIT`` : The source code is in an CodeCommit repository. - ``CODEPIPELINE`` : The source code settings are specified in the source action of a pipeline in CodePipeline. - ``GITHUB`` : The source code is in a GitHub repository. - ``GITHUB_ENTERPRISE`` : The source code is in a GitHub Enterprise Server repository. - ``GITLAB`` : The source code is in a GitLab repository. - ``GITLAB_SELF_MANAGED`` : The source code is in a self-managed GitLab repository. - ``NO_SOURCE`` : The project does not have input source code. - ``S3`` : The source code is in an Amazon S3 bucket.
5002
5005
  :param auth: Information about the authorization settings for AWS CodeBuild to access the source code to be built. This information is for the AWS CodeBuild console's use only. Your code should not get or set ``Auth`` directly.
5003
5006
  :param build_spec: The build specification for the project. If this value is not provided, then the source code must contain a buildspec file named ``buildspec.yml`` at the root level. If this value is provided, it can be either a single string containing the entire build specification, or the path to an alternate buildspec file relative to the value of the built-in environment variable ``CODEBUILD_SRC_DIR`` . The alternate buildspec file can have a name other than ``buildspec.yml`` , for example ``myspec.yml`` or ``build_spec_qa.yml`` or similar. For more information, see the `Build Spec Reference <https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-example>`_ in the *AWS CodeBuild User Guide* .
5004
5007
  :param build_status_config: Contains information that defines how the build project reports the build status to the source provider. This option is only used when the source provider is ``GITHUB`` , ``GITHUB_ENTERPRISE`` , or ``BITBUCKET`` .
5005
5008
  :param git_clone_depth: The depth of history to download. Minimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build project. If your source type is Amazon S3, this value is not supported.
5006
5009
  :param git_submodules_config: Information about the Git submodules configuration for the build project.
5007
5010
  :param insecure_ssl: This is used with GitHub Enterprise only. Set to true to ignore SSL warnings while connecting to your GitHub Enterprise project repository. The default value is ``false`` . ``InsecureSsl`` should be used for testing purposes only. It should not be used in a production environment.
5008
- :param location: Information about the location of the source code to be built. Valid values include:. - For source code settings that are specified in the source action of a pipeline in CodePipeline, ``location`` should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. - For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, ``https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`` ). - For source code in an Amazon S3 input bucket, one of the following. - The path to the ZIP file that contains the source code (for example, ``<bucket-name>/<path>/<object-name>.zip`` ). - The path to the folder that contains the source code (for example, ``<bucket-name>/<path-to-source-code>/<folder>/`` ). - For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub *Authorize application* page, for *Organization access* , choose *Request access* next to each repository you want to allow AWS CodeBuild to have access to, and then choose *Authorize application* . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` . - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket *Confirm access to your account* page, choose *Grant access* . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` . If you specify ``CODEPIPELINE`` for the ``Type`` property, don't specify this property. For all of the other types, you must specify ``Location`` .
5011
+ :param location: Information about the location of the source code to be built. Valid values include:. - For source code settings that are specified in the source action of a pipeline in CodePipeline, ``location`` should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. - For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, ``https://git-codecommit.<region-ID>.amazonaws.com/v1/repos/<repo-name>`` ). - For source code in an Amazon S3 input bucket, one of the following. - The path to the ZIP file that contains the source code (for example, ``<bucket-name>/<path>/<object-name>.zip`` ). - The path to the folder that contains the source code (for example, ``<bucket-name>/<path-to-source-code>/<folder>/`` ). - For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub *Authorize application* page, for *Organization access* , choose *Request access* next to each repository you want to allow AWS CodeBuild to have access to, and then choose *Authorize application* . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` . - For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections *Authorize application* page, choose *Authorize* . Then on the AWS CodeStar Connections *Create GitLab connection* page, choose *Connect to GitLab* . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the ``auth`` object's ``type`` value to ``CODECONNECTIONS`` in the ``source`` object. - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket *Confirm access to your account* page, choose *Grant access* . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` . If you specify ``CODEPIPELINE`` for the ``Type`` property, don't specify this property. For all of the other types, you must specify ``Location`` .
5009
5012
  :param report_build_status: Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an ``invalidInputException`` is thrown.
5010
5013
  :param source_identifier: An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.
5011
5014
 
@@ -5084,8 +5087,10 @@ class CfnProject(
5084
5087
  - ``BITBUCKET`` : The source code is in a Bitbucket repository.
5085
5088
  - ``CODECOMMIT`` : The source code is in an CodeCommit repository.
5086
5089
  - ``CODEPIPELINE`` : The source code settings are specified in the source action of a pipeline in CodePipeline.
5087
- - ``GITHUB`` : The source code is in a GitHub or GitHub Enterprise Cloud repository.
5090
+ - ``GITHUB`` : The source code is in a GitHub repository.
5088
5091
  - ``GITHUB_ENTERPRISE`` : The source code is in a GitHub Enterprise Server repository.
5092
+ - ``GITLAB`` : The source code is in a GitLab repository.
5093
+ - ``GITLAB_SELF_MANAGED`` : The source code is in a self-managed GitLab repository.
5089
5094
  - ``NO_SOURCE`` : The project does not have input source code.
5090
5095
  - ``S3`` : The source code is in an Amazon S3 bucket.
5091
5096
 
@@ -5177,6 +5182,7 @@ class CfnProject(
5177
5182
  - The path to the ZIP file that contains the source code (for example, ``<bucket-name>/<path>/<object-name>.zip`` ).
5178
5183
  - The path to the folder that contains the source code (for example, ``<bucket-name>/<path-to-source-code>/<folder>/`` ).
5179
5184
  - For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitHub account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitHub, on the GitHub *Authorize application* page, for *Organization access* , choose *Request access* next to each repository you want to allow AWS CodeBuild to have access to, and then choose *Authorize application* . (After you have connected to your GitHub account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` .
5185
+ - For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your GitLab account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with GitLab, on the Connections *Authorize application* page, choose *Authorize* . Then on the AWS CodeStar Connections *Create GitLab connection* page, choose *Connect to GitLab* . (After you have connected to your GitLab account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to override the default connection and use this connection instead, set the ``auth`` object's ``type`` value to ``CODECONNECTIONS`` in the ``source`` object.
5180
5186
  - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the buildspec file. You must connect your AWS account to your Bitbucket account. Use the AWS CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on the Bitbucket *Confirm access to your account* page, choose *Grant access* . (After you have connected to your Bitbucket account, you do not need to finish creating the build project. You can leave the AWS CodeBuild console.) To instruct AWS CodeBuild to use this connection, in the ``source`` object, set the ``auth`` object's ``type`` value to ``OAUTH`` .
5181
5187
 
5182
5188
  If you specify ``CODEPIPELINE`` for the ``Type`` property, don't specify this property. For all of the other types, you must specify ``Location`` .
@@ -5338,7 +5344,7 @@ class CfnProject(
5338
5344
  The Webhook feature isn't available in AWS CloudFormation for GitHub Enterprise projects. Use the AWS CLI or AWS CodeBuild console to create the webhook.
5339
5345
 
5340
5346
  :param pattern: For a ``WebHookFilter`` that uses ``EVENT`` type, a comma-separated string that specifies one or more events. For example, the webhook filter ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` allows all push, pull request created, and pull request updated events to trigger a build. For a ``WebHookFilter`` that uses any of the other filter types, a regular expression pattern. For example, a ``WebHookFilter`` that uses ``HEAD_REF`` for its ``type`` and the pattern ``^refs/heads/`` triggers a build when the head reference is a branch with a reference name ``refs/heads/branch-name`` .
5341
- :param type: The type of webhook filter. There are six webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , and ``COMMIT_MESSAGE`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of six event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , and ``PULL_REQUEST_MERGED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
5347
+ :param type: The type of webhook filter. There are eight webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , and ``RELEASE_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of eight event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , and ``PRERELEASED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. The ``RELEASED`` and ``PRERELEASED`` work with GitHub only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . .. epigraph:: Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - TAG_NAME - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - RELEASE_NAME - A webhook triggers a build when the release name matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only.
5342
5348
  :param exclude_matched_pattern: Used to indicate that the ``pattern`` determines which webhook events do not trigger a build. If true, then a webhook event that does not match the ``pattern`` triggers a build. If false, then a webhook event that matches the ``pattern`` triggers a build.
5343
5349
 
5344
5350
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html
@@ -5388,21 +5394,23 @@ class CfnProject(
5388
5394
  def type(self) -> builtins.str:
5389
5395
  '''The type of webhook filter.
5390
5396
 
5391
- There are six webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , and ``COMMIT_MESSAGE`` .
5397
+ There are eight webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , and ``RELEASE_NAME`` .
5392
5398
 
5393
5399
  - EVENT
5394
- - A webhook event triggers a build when the provided ``pattern`` matches one of six event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , and ``PULL_REQUEST_MERGED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events.
5400
+ - A webhook event triggers a build when the provided ``pattern`` matches one of eight event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , and ``PRERELEASED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events.
5395
5401
 
5396
5402
  .. epigraph::
5397
5403
 
5398
- The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only.
5404
+ The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. The ``RELEASED`` and ``PRERELEASED`` work with GitHub only.
5399
5405
 
5400
5406
  - ACTOR_ACCOUNT_ID
5401
5407
  - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` .
5402
5408
  - HEAD_REF
5403
5409
  - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` .
5404
5410
 
5405
- Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
5411
+ .. epigraph::
5412
+
5413
+ Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
5406
5414
 
5407
5415
  - BASE_REF
5408
5416
  - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` .
@@ -5425,6 +5433,20 @@ class CfnProject(
5425
5433
 
5426
5434
  Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
5427
5435
 
5436
+ - TAG_NAME
5437
+ - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` .
5438
+
5439
+ .. epigraph::
5440
+
5441
+ Works with ``RELEASED`` and ``PRERELEASED`` events only.
5442
+
5443
+ - RELEASE_NAME
5444
+ - A webhook triggers a build when the release name matches the regular expression ``pattern`` .
5445
+
5446
+ .. epigraph::
5447
+
5448
+ Works with ``RELEASED`` and ``PRERELEASED`` events only.
5449
+
5428
5450
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-type
5429
5451
  '''
5430
5452
  result = self._values.get("type")
@@ -6761,8 +6783,8 @@ class CfnSourceCredential(
6761
6783
  '''
6762
6784
  :param scope: Scope in which this resource is defined.
6763
6785
  :param id: Construct identifier for this resource (unique in its scope).
6764
- :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
6765
- :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
6786
+ :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
6787
+ :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
6766
6788
  :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
6767
6789
  :param username: The Bitbucket username when the ``authType`` is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
6768
6790
  '''
@@ -6896,8 +6918,8 @@ class CfnSourceCredentialProps:
6896
6918
  ) -> None:
6897
6919
  '''Properties for defining a ``CfnSourceCredential``.
6898
6920
 
6899
- :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
6900
- :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
6921
+ :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
6922
+ :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
6901
6923
  :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.
6902
6924
  :param username: The Bitbucket username when the ``authType`` is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
6903
6925
 
@@ -6937,7 +6959,7 @@ class CfnSourceCredentialProps:
6937
6959
  def auth_type(self) -> builtins.str:
6938
6960
  '''The type of authentication used by the credentials.
6939
6961
 
6940
- Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
6962
+ Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
6941
6963
 
6942
6964
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-authtype
6943
6965
  '''
@@ -6949,7 +6971,7 @@ class CfnSourceCredentialProps:
6949
6971
  def server_type(self) -> builtins.str:
6950
6972
  '''The type of source provider.
6951
6973
 
6952
- The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
6974
+ The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
6953
6975
 
6954
6976
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-servertype
6955
6977
  '''
@@ -87,6 +87,9 @@ target = chatbot.SlackChannelConfiguration(self, "MySlackChannel",
87
87
  rule = repository.notify_on_pull_request_created("NotifyOnPullRequestCreated", target)
88
88
  ```
89
89
  '''
90
+ from pkgutil import extend_path
91
+ __path__ = extend_path(__path__, __name__)
92
+
90
93
  import abc
91
94
  import builtins
92
95
  import datetime
@@ -738,6 +738,9 @@ EcsDeployment({
738
738
  })
739
739
  ```
740
740
  '''
741
+ from pkgutil import extend_path
742
+ __path__ = extend_path(__path__, __name__)
743
+
741
744
  import abc
742
745
  import builtins
743
746
  import datetime
@@ -36,6 +36,9 @@ profiling_group = codeguruprofiler.ProfilingGroup(self, "MyProfilingGroup",
36
36
  )
37
37
  ```
38
38
  '''
39
+ from pkgutil import extend_path
40
+ __path__ = extend_path(__path__, __name__)
41
+
39
42
  import abc
40
43
  import builtins
41
44
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -659,6 +659,9 @@ codepipeline.Pipeline(self, "Pipeline",
659
659
  See the [CodePipeline documentation](https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html)
660
660
  for more details on the differences between each type.
661
661
  '''
662
+ from pkgutil import extend_path
663
+ __path__ = extend_path(__path__, __name__)
664
+
662
665
  import abc
663
666
  import builtins
664
667
  import datetime
@@ -2358,7 +2361,8 @@ class CfnPipeline(
2358
2361
  )],
2359
2362
  region="region",
2360
2363
  role_arn="roleArn",
2361
- run_order=123
2364
+ run_order=123,
2365
+ timeout_in_minutes=123
2362
2366
  )],
2363
2367
  name="name",
2364
2368
 
@@ -2771,6 +2775,7 @@ class CfnPipeline(
2771
2775
  "region": "region",
2772
2776
  "role_arn": "roleArn",
2773
2777
  "run_order": "runOrder",
2778
+ "timeout_in_minutes": "timeoutInMinutes",
2774
2779
  },
2775
2780
  )
2776
2781
  class ActionDeclarationProperty:
@@ -2786,13 +2791,10 @@ class CfnPipeline(
2786
2791
  region: typing.Optional[builtins.str] = None,
2787
2792
  role_arn: typing.Optional[builtins.str] = None,
2788
2793
  run_order: typing.Optional[jsii.Number] = None,
2794
+ timeout_in_minutes: typing.Optional[jsii.Number] = None,
2789
2795
  ) -> None:
2790
2796
  '''Represents information about an action declaration.
2791
2797
 
2792
- .. epigraph::
2793
-
2794
- Documentation for the ``timeoutInMinutes`` parameter in the ``ActionDeclaration`` is not yet available for CloudFormation and CDK resources in CodePipeline. For more information about the configurable timeout for manual approval actions, see the `ActionDeclaration <https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ActionDeclaration.html>`_ in the CodePipeline API Reference.
2795
-
2796
2798
  :param action_type_id: Specifies the action type and the provider of the action.
2797
2799
  :param name: The action declaration's name.
2798
2800
  :param configuration: The action's configuration. These are key-value pairs that specify input values for an action. For more information, see `Action Structure Requirements in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements>`_ . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see `Configuration Properties Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html>`_ in the *AWS CloudFormation User Guide* . For template snippets with examples, see `Using Parameter Override Functions with CodePipeline Pipelines <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html>`_ in the *AWS CloudFormation User Guide* . The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows: *JSON:* ``"Configuration" : { Key : Value },``
@@ -2802,6 +2804,7 @@ class CfnPipeline(
2802
2804
  :param region: The action declaration's AWS Region, such as us-east-1.
2803
2805
  :param role_arn: The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
2804
2806
  :param run_order: The order in which actions are run.
2807
+ :param timeout_in_minutes: A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in `Quotas for AWS CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html>`_ . This attribute is available only to the manual approval ActionType.
2805
2808
 
2806
2809
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html
2807
2810
  :exampleMetadata: fixture=_generated
@@ -2834,7 +2837,8 @@ class CfnPipeline(
2834
2837
  )],
2835
2838
  region="region",
2836
2839
  role_arn="roleArn",
2837
- run_order=123
2840
+ run_order=123,
2841
+ timeout_in_minutes=123
2838
2842
  )
2839
2843
  '''
2840
2844
  if __debug__:
@@ -2848,6 +2852,7 @@ class CfnPipeline(
2848
2852
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
2849
2853
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
2850
2854
  check_type(argname="argument run_order", value=run_order, expected_type=type_hints["run_order"])
2855
+ check_type(argname="argument timeout_in_minutes", value=timeout_in_minutes, expected_type=type_hints["timeout_in_minutes"])
2851
2856
  self._values: typing.Dict[builtins.str, typing.Any] = {
2852
2857
  "action_type_id": action_type_id,
2853
2858
  "name": name,
@@ -2866,6 +2871,8 @@ class CfnPipeline(
2866
2871
  self._values["role_arn"] = role_arn
2867
2872
  if run_order is not None:
2868
2873
  self._values["run_order"] = run_order
2874
+ if timeout_in_minutes is not None:
2875
+ self._values["timeout_in_minutes"] = timeout_in_minutes
2869
2876
 
2870
2877
  @builtins.property
2871
2878
  def action_type_id(
@@ -2975,6 +2982,15 @@ class CfnPipeline(
2975
2982
  result = self._values.get("run_order")
2976
2983
  return typing.cast(typing.Optional[jsii.Number], result)
2977
2984
 
2985
+ @builtins.property
2986
+ def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
2987
+ '''A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in `Quotas for AWS CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html>`_ . This attribute is available only to the manual approval ActionType.
2988
+
2989
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-timeoutinminutes
2990
+ '''
2991
+ result = self._values.get("timeout_in_minutes")
2992
+ return typing.cast(typing.Optional[jsii.Number], result)
2993
+
2978
2994
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2979
2995
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2980
2996
 
@@ -4257,7 +4273,8 @@ class CfnPipeline(
4257
4273
  )],
4258
4274
  region="region",
4259
4275
  role_arn="roleArn",
4260
- run_order=123
4276
+ run_order=123,
4277
+ timeout_in_minutes=123
4261
4278
  )],
4262
4279
  name="name",
4263
4280
 
@@ -4571,7 +4588,8 @@ class CfnPipelineProps:
4571
4588
  )],
4572
4589
  region="region",
4573
4590
  role_arn="roleArn",
4574
- run_order=123
4591
+ run_order=123,
4592
+ timeout_in_minutes=123
4575
4593
  )],
4576
4594
  name="name",
4577
4595
 
@@ -9401,6 +9419,7 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
9401
9419
  region: typing.Optional[builtins.str] = None,
9402
9420
  role_arn: typing.Optional[builtins.str] = None,
9403
9421
  run_order: typing.Optional[jsii.Number] = None,
9422
+ timeout_in_minutes: typing.Optional[jsii.Number] = None,
9404
9423
  ) -> None:
9405
9424
  """Type checking stubs"""
9406
9425
  pass
@@ -1579,6 +1579,9 @@ pipeline.add_stage(
1579
1579
  See [the AWS documentation](https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-StepFunctions.html)
1580
1580
  for information on Action structure reference.
1581
1581
  '''
1582
+ from pkgutil import extend_path
1583
+ __path__ = extend_path(__path__, __name__)
1584
+
1582
1585
  import abc
1583
1586
  import builtins
1584
1587
  import datetime
@@ -30,6 +30,9 @@ For more information on the resources and properties available for this service,
30
30
 
31
31
  <!--END CFNONLY DISCLAIMER-->
32
32
  '''
33
+ from pkgutil import extend_path
34
+ __path__ = extend_path(__path__, __name__)
35
+
33
36
  import abc
34
37
  import builtins
35
38
  import datetime
@@ -25,6 +25,9 @@ For more information on the resources and properties available for this service,
25
25
 
26
26
  <!--END CFNONLY DISCLAIMER-->
27
27
  '''
28
+ from pkgutil import extend_path
29
+ __path__ = extend_path(__path__, __name__)
30
+
28
31
  import abc
29
32
  import builtins
30
33
  import datetime
@@ -708,7 +711,11 @@ class CfnSyncConfiguration(
708
711
  repository_link_id="repositoryLinkId",
709
712
  resource_name="resourceName",
710
713
  role_arn="roleArn",
711
- sync_type="syncType"
714
+ sync_type="syncType",
715
+
716
+ # the properties below are optional
717
+ publish_deployment_status="publishDeploymentStatus",
718
+ trigger_resource_update_on="triggerResourceUpdateOn"
712
719
  )
713
720
  '''
714
721
 
@@ -723,6 +730,8 @@ class CfnSyncConfiguration(
723
730
  resource_name: builtins.str,
724
731
  role_arn: builtins.str,
725
732
  sync_type: builtins.str,
733
+ publish_deployment_status: typing.Optional[builtins.str] = None,
734
+ trigger_resource_update_on: typing.Optional[builtins.str] = None,
726
735
  ) -> None:
727
736
  '''
728
737
  :param scope: Scope in which this resource is defined.
@@ -733,6 +742,8 @@ class CfnSyncConfiguration(
733
742
  :param resource_name: The name of the connection resource associated with a specific sync configuration.
734
743
  :param role_arn: The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
735
744
  :param sync_type: The type of sync for a specific sync configuration.
745
+ :param publish_deployment_status: Whether to enable or disable publishing of deployment status to source providers.
746
+ :param trigger_resource_update_on: When to trigger Git sync to begin the stack update.
736
747
  '''
737
748
  if __debug__:
738
749
  type_hints = typing.get_type_hints(_typecheckingstub__6c8a904149088ca3c954aba811ae03db6bb18a34b324a10bedb2331c6f876b12)
@@ -745,6 +756,8 @@ class CfnSyncConfiguration(
745
756
  resource_name=resource_name,
746
757
  role_arn=role_arn,
747
758
  sync_type=sync_type,
759
+ publish_deployment_status=publish_deployment_status,
760
+ trigger_resource_update_on=trigger_resource_update_on,
748
761
  )
749
762
 
750
763
  jsii.create(self.__class__, self, [scope, id, props])
@@ -889,6 +902,32 @@ class CfnSyncConfiguration(
889
902
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
890
903
  jsii.set(self, "syncType", value)
891
904
 
905
+ @builtins.property
906
+ @jsii.member(jsii_name="publishDeploymentStatus")
907
+ def publish_deployment_status(self) -> typing.Optional[builtins.str]:
908
+ '''Whether to enable or disable publishing of deployment status to source providers.'''
909
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "publishDeploymentStatus"))
910
+
911
+ @publish_deployment_status.setter
912
+ def publish_deployment_status(self, value: typing.Optional[builtins.str]) -> None:
913
+ if __debug__:
914
+ type_hints = typing.get_type_hints(_typecheckingstub__5ee8fea36d4094e0ac90eb20686a90d517ffcde16742313ecf04785324f10c50)
915
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
916
+ jsii.set(self, "publishDeploymentStatus", value)
917
+
918
+ @builtins.property
919
+ @jsii.member(jsii_name="triggerResourceUpdateOn")
920
+ def trigger_resource_update_on(self) -> typing.Optional[builtins.str]:
921
+ '''When to trigger Git sync to begin the stack update.'''
922
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "triggerResourceUpdateOn"))
923
+
924
+ @trigger_resource_update_on.setter
925
+ def trigger_resource_update_on(self, value: typing.Optional[builtins.str]) -> None:
926
+ if __debug__:
927
+ type_hints = typing.get_type_hints(_typecheckingstub__3019909980645630665fb7da740e906ba748d5a370476cef6024471869dea97b)
928
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
929
+ jsii.set(self, "triggerResourceUpdateOn", value)
930
+
892
931
 
893
932
  @jsii.data_type(
894
933
  jsii_type="aws-cdk-lib.aws_codestarconnections.CfnSyncConfigurationProps",
@@ -900,6 +939,8 @@ class CfnSyncConfiguration(
900
939
  "resource_name": "resourceName",
901
940
  "role_arn": "roleArn",
902
941
  "sync_type": "syncType",
942
+ "publish_deployment_status": "publishDeploymentStatus",
943
+ "trigger_resource_update_on": "triggerResourceUpdateOn",
903
944
  },
904
945
  )
905
946
  class CfnSyncConfigurationProps:
@@ -912,6 +953,8 @@ class CfnSyncConfigurationProps:
912
953
  resource_name: builtins.str,
913
954
  role_arn: builtins.str,
914
955
  sync_type: builtins.str,
956
+ publish_deployment_status: typing.Optional[builtins.str] = None,
957
+ trigger_resource_update_on: typing.Optional[builtins.str] = None,
915
958
  ) -> None:
916
959
  '''Properties for defining a ``CfnSyncConfiguration``.
917
960
 
@@ -921,6 +964,8 @@ class CfnSyncConfigurationProps:
921
964
  :param resource_name: The name of the connection resource associated with a specific sync configuration.
922
965
  :param role_arn: The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
923
966
  :param sync_type: The type of sync for a specific sync configuration.
967
+ :param publish_deployment_status: Whether to enable or disable publishing of deployment status to source providers.
968
+ :param trigger_resource_update_on: When to trigger Git sync to begin the stack update.
924
969
 
925
970
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-syncconfiguration.html
926
971
  :exampleMetadata: fixture=_generated
@@ -937,7 +982,11 @@ class CfnSyncConfigurationProps:
937
982
  repository_link_id="repositoryLinkId",
938
983
  resource_name="resourceName",
939
984
  role_arn="roleArn",
940
- sync_type="syncType"
985
+ sync_type="syncType",
986
+
987
+ # the properties below are optional
988
+ publish_deployment_status="publishDeploymentStatus",
989
+ trigger_resource_update_on="triggerResourceUpdateOn"
941
990
  )
942
991
  '''
943
992
  if __debug__:
@@ -948,6 +997,8 @@ class CfnSyncConfigurationProps:
948
997
  check_type(argname="argument resource_name", value=resource_name, expected_type=type_hints["resource_name"])
949
998
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
950
999
  check_type(argname="argument sync_type", value=sync_type, expected_type=type_hints["sync_type"])
1000
+ check_type(argname="argument publish_deployment_status", value=publish_deployment_status, expected_type=type_hints["publish_deployment_status"])
1001
+ check_type(argname="argument trigger_resource_update_on", value=trigger_resource_update_on, expected_type=type_hints["trigger_resource_update_on"])
951
1002
  self._values: typing.Dict[builtins.str, typing.Any] = {
952
1003
  "branch": branch,
953
1004
  "config_file": config_file,
@@ -956,6 +1007,10 @@ class CfnSyncConfigurationProps:
956
1007
  "role_arn": role_arn,
957
1008
  "sync_type": sync_type,
958
1009
  }
1010
+ if publish_deployment_status is not None:
1011
+ self._values["publish_deployment_status"] = publish_deployment_status
1012
+ if trigger_resource_update_on is not None:
1013
+ self._values["trigger_resource_update_on"] = trigger_resource_update_on
959
1014
 
960
1015
  @builtins.property
961
1016
  def branch(self) -> builtins.str:
@@ -1019,6 +1074,24 @@ class CfnSyncConfigurationProps:
1019
1074
  assert result is not None, "Required property 'sync_type' is missing"
1020
1075
  return typing.cast(builtins.str, result)
1021
1076
 
1077
+ @builtins.property
1078
+ def publish_deployment_status(self) -> typing.Optional[builtins.str]:
1079
+ '''Whether to enable or disable publishing of deployment status to source providers.
1080
+
1081
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-syncconfiguration.html#cfn-codestarconnections-syncconfiguration-publishdeploymentstatus
1082
+ '''
1083
+ result = self._values.get("publish_deployment_status")
1084
+ return typing.cast(typing.Optional[builtins.str], result)
1085
+
1086
+ @builtins.property
1087
+ def trigger_resource_update_on(self) -> typing.Optional[builtins.str]:
1088
+ '''When to trigger Git sync to begin the stack update.
1089
+
1090
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-syncconfiguration.html#cfn-codestarconnections-syncconfiguration-triggerresourceupdateon
1091
+ '''
1092
+ result = self._values.get("trigger_resource_update_on")
1093
+ return typing.cast(typing.Optional[builtins.str], result)
1094
+
1022
1095
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
1023
1096
  return isinstance(rhs, self.__class__) and rhs._values == self._values
1024
1097
 
@@ -1176,6 +1249,8 @@ def _typecheckingstub__6c8a904149088ca3c954aba811ae03db6bb18a34b324a10bedb2331c6
1176
1249
  resource_name: builtins.str,
1177
1250
  role_arn: builtins.str,
1178
1251
  sync_type: builtins.str,
1252
+ publish_deployment_status: typing.Optional[builtins.str] = None,
1253
+ trigger_resource_update_on: typing.Optional[builtins.str] = None,
1179
1254
  ) -> None:
1180
1255
  """Type checking stubs"""
1181
1256
  pass
@@ -1228,6 +1303,18 @@ def _typecheckingstub__9a7aa9e776fee9e7c2ac12a6821ca735b73efe0013da11eacba140d60
1228
1303
  """Type checking stubs"""
1229
1304
  pass
1230
1305
 
1306
+ def _typecheckingstub__5ee8fea36d4094e0ac90eb20686a90d517ffcde16742313ecf04785324f10c50(
1307
+ value: typing.Optional[builtins.str],
1308
+ ) -> None:
1309
+ """Type checking stubs"""
1310
+ pass
1311
+
1312
+ def _typecheckingstub__3019909980645630665fb7da740e906ba748d5a370476cef6024471869dea97b(
1313
+ value: typing.Optional[builtins.str],
1314
+ ) -> None:
1315
+ """Type checking stubs"""
1316
+ pass
1317
+
1231
1318
  def _typecheckingstub__ea619fc4ca98271e7e2c90f35350d4af5c1f35168a8e4cdc7191c86cfcfff5ce(
1232
1319
  *,
1233
1320
  branch: builtins.str,
@@ -1236,6 +1323,8 @@ def _typecheckingstub__ea619fc4ca98271e7e2c90f35350d4af5c1f35168a8e4cdc7191c86cf
1236
1323
  resource_name: builtins.str,
1237
1324
  role_arn: builtins.str,
1238
1325
  sync_type: builtins.str,
1326
+ publish_deployment_status: typing.Optional[builtins.str] = None,
1327
+ trigger_resource_update_on: typing.Optional[builtins.str] = None,
1239
1328
  ) -> None:
1240
1329
  """Type checking stubs"""
1241
1330
  pass
@@ -66,6 +66,9 @@ For the complete list of supported event types for CodeBuild and CodePipeline, s
66
66
  * [Events for notification rules on build projects](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#events-ref-buildproject).
67
67
  * [Events for notification rules on pipelines](https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#events-ref-pipeline).
68
68
  '''
69
+ from pkgutil import extend_path
70
+ __path__ = extend_path(__path__, __name__)
71
+
69
72
  import abc
70
73
  import builtins
71
74
  import datetime