aws-cdk-lib 2.145.0__py3-none-any.whl → 2.147.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.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (71) hide show
  1. aws_cdk/__init__.py +12 -11
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.145.0.jsii.tgz → aws-cdk-lib@2.147.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +32 -12
  5. aws_cdk/aws_apigatewayv2/__init__.py +48 -2
  6. aws_cdk/aws_apigatewayv2_integrations/__init__.py +142 -4
  7. aws_cdk/aws_appconfig/__init__.py +8 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +1766 -0
  9. aws_cdk/aws_appsync/__init__.py +62 -0
  10. aws_cdk/aws_auditmanager/__init__.py +5 -1
  11. aws_cdk/aws_autoscaling/__init__.py +457 -56
  12. aws_cdk/aws_batch/__init__.py +215 -0
  13. aws_cdk/aws_bedrock/__init__.py +272 -103
  14. aws_cdk/aws_cloudformation/__init__.py +5 -11
  15. aws_cdk/aws_cloudfront/__init__.py +10 -3
  16. aws_cdk/aws_cloudtrail/__init__.py +56 -2
  17. aws_cdk/aws_codebuild/__init__.py +85 -32
  18. aws_cdk/aws_codepipeline/__init__.py +10 -5
  19. aws_cdk/aws_connect/__init__.py +86 -0
  20. aws_cdk/aws_datazone/__init__.py +80 -68
  21. aws_cdk/aws_deadline/__init__.py +603 -17
  22. aws_cdk/aws_ec2/__init__.py +237 -112
  23. aws_cdk/aws_ecs/__init__.py +123 -12
  24. aws_cdk/aws_eks/__init__.py +1335 -50
  25. aws_cdk/aws_elasticloadbalancingv2/__init__.py +11 -5
  26. aws_cdk/aws_emrserverless/__init__.py +5 -5
  27. aws_cdk/aws_events/__init__.py +36 -16
  28. aws_cdk/aws_fsx/__init__.py +126 -21
  29. aws_cdk/aws_globalaccelerator/__init__.py +2 -1
  30. aws_cdk/aws_globalaccelerator_endpoints/__init__.py +35 -4
  31. aws_cdk/aws_glue/__init__.py +26 -0
  32. aws_cdk/aws_grafana/__init__.py +4 -4
  33. aws_cdk/aws_groundstation/__init__.py +55 -35
  34. aws_cdk/aws_guardduty/__init__.py +826 -0
  35. aws_cdk/aws_iam/__init__.py +13 -8
  36. aws_cdk/aws_iot/__init__.py +3 -3
  37. aws_cdk/aws_lambda/__init__.py +7 -5
  38. aws_cdk/aws_lightsail/__init__.py +1 -1
  39. aws_cdk/aws_location/__init__.py +10 -11
  40. aws_cdk/aws_mediapackagev2/__init__.py +38 -20
  41. aws_cdk/aws_mediatailor/__init__.py +2 -2
  42. aws_cdk/aws_msk/__init__.py +4 -4
  43. aws_cdk/aws_mwaa/__init__.py +16 -8
  44. aws_cdk/aws_nimblestudio/__init__.py +9 -9
  45. aws_cdk/aws_opensearchservice/__init__.py +11 -4
  46. aws_cdk/aws_opsworks/__init__.py +3 -3
  47. aws_cdk/aws_osis/__init__.py +33 -4
  48. aws_cdk/aws_pipes/__init__.py +691 -0
  49. aws_cdk/aws_quicksight/__init__.py +23 -21
  50. aws_cdk/aws_rds/__init__.py +55 -11
  51. aws_cdk/aws_refactorspaces/__init__.py +3 -3
  52. aws_cdk/aws_rolesanywhere/__init__.py +206 -3
  53. aws_cdk/aws_sagemaker/__init__.py +5 -2
  54. aws_cdk/aws_securityhub/__init__.py +163 -78
  55. aws_cdk/aws_securitylake/__init__.py +7 -5
  56. aws_cdk/aws_ses/__init__.py +117 -0
  57. aws_cdk/aws_simspaceweaver/__init__.py +2 -2
  58. aws_cdk/aws_sns/__init__.py +67 -13
  59. aws_cdk/aws_sqs/__init__.py +3 -3
  60. aws_cdk/aws_stepfunctions/__init__.py +51 -28
  61. aws_cdk/aws_stepfunctions_tasks/__init__.py +59 -5
  62. aws_cdk/aws_transfer/__init__.py +8 -2
  63. aws_cdk/aws_wafv2/__init__.py +10 -10
  64. aws_cdk/aws_workspacesweb/__init__.py +8 -8
  65. aws_cdk/region_info/__init__.py +6 -0
  66. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/METADATA +2 -2
  67. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/NOTICE +0 -35
  68. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/RECORD +71 -70
  69. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/LICENSE +0 -0
  70. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/WHEEL +0 -0
  71. {aws_cdk_lib-2.145.0.dist-info → aws_cdk_lib-2.147.0.dist-info}/top_level.txt +0 -0
@@ -77,7 +77,8 @@ git_hub_source = codebuild.Source.git_hub(
77
77
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
78
78
  webhook_triggers_batch_build=True, # optional, default is false
79
79
  webhook_filters=[
80
- codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message")
80
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message"),
81
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.RELEASED).and_branch_is("main")
81
82
  ]
82
83
  )
83
84
  ```
@@ -2140,10 +2141,10 @@ class CfnFleet(
2140
2141
  :param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
2141
2142
  :param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `Build environment compute types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild User Guide.*
2142
2143
  :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
2143
- :param fleet_service_role:
2144
- :param fleet_vpc_config:
2144
+ :param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
2145
+ :param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
2145
2146
  :param name: The name of the compute fleet.
2146
- :param overflow_behavior:
2147
+ :param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
2147
2148
  :param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
2148
2149
  '''
2149
2150
  if __debug__:
@@ -2258,6 +2259,7 @@ class CfnFleet(
2258
2259
  @builtins.property
2259
2260
  @jsii.member(jsii_name="fleetServiceRole")
2260
2261
  def fleet_service_role(self) -> typing.Optional[builtins.str]:
2262
+ '''The service role associated with the compute fleet.'''
2261
2263
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "fleetServiceRole"))
2262
2264
 
2263
2265
  @fleet_service_role.setter
@@ -2272,6 +2274,7 @@ class CfnFleet(
2272
2274
  def fleet_vpc_config(
2273
2275
  self,
2274
2276
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]]:
2277
+ '''Information about the VPC configuration that AWS CodeBuild accesses.'''
2275
2278
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnFleet.VpcConfigProperty"]], jsii.get(self, "fleetVpcConfig"))
2276
2279
 
2277
2280
  @fleet_vpc_config.setter
@@ -2300,6 +2303,7 @@ class CfnFleet(
2300
2303
  @builtins.property
2301
2304
  @jsii.member(jsii_name="overflowBehavior")
2302
2305
  def overflow_behavior(self) -> typing.Optional[builtins.str]:
2306
+ '''The compute fleet overflow behavior.'''
2303
2307
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "overflowBehavior"))
2304
2308
 
2305
2309
  @overflow_behavior.setter
@@ -2339,10 +2343,11 @@ class CfnFleet(
2339
2343
  subnets: typing.Optional[typing.Sequence[builtins.str]] = None,
2340
2344
  vpc_id: typing.Optional[builtins.str] = None,
2341
2345
  ) -> None:
2342
- '''
2343
- :param security_group_ids:
2344
- :param subnets:
2345
- :param vpc_id:
2346
+ '''Information about the VPC configuration that AWS CodeBuild accesses.
2347
+
2348
+ :param security_group_ids: A list of one or more security groups IDs in your Amazon VPC.
2349
+ :param subnets: A list of one or more subnet IDs in your Amazon VPC.
2350
+ :param vpc_id: The ID of the Amazon VPC.
2346
2351
 
2347
2352
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html
2348
2353
  :exampleMetadata: fixture=_generated
@@ -2374,7 +2379,8 @@ class CfnFleet(
2374
2379
 
2375
2380
  @builtins.property
2376
2381
  def security_group_ids(self) -> typing.Optional[typing.List[builtins.str]]:
2377
- '''
2382
+ '''A list of one or more security groups IDs in your Amazon VPC.
2383
+
2378
2384
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-securitygroupids
2379
2385
  '''
2380
2386
  result = self._values.get("security_group_ids")
@@ -2382,7 +2388,8 @@ class CfnFleet(
2382
2388
 
2383
2389
  @builtins.property
2384
2390
  def subnets(self) -> typing.Optional[typing.List[builtins.str]]:
2385
- '''
2391
+ '''A list of one or more subnet IDs in your Amazon VPC.
2392
+
2386
2393
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-subnets
2387
2394
  '''
2388
2395
  result = self._values.get("subnets")
@@ -2390,7 +2397,8 @@ class CfnFleet(
2390
2397
 
2391
2398
  @builtins.property
2392
2399
  def vpc_id(self) -> typing.Optional[builtins.str]:
2393
- '''
2400
+ '''The ID of the Amazon VPC.
2401
+
2394
2402
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-vpcconfig.html#cfn-codebuild-fleet-vpcconfig-vpcid
2395
2403
  '''
2396
2404
  result = self._values.get("vpc_id")
@@ -2440,10 +2448,10 @@ class CfnFleetProps:
2440
2448
  :param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
2441
2449
  :param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``BUILD_GENERAL1_SMALL`` : Use up to 3 GB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 7 GB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 3 GB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 15 GB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `Build environment compute types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild User Guide.*
2442
2450
  :param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
2443
- :param fleet_service_role:
2444
- :param fleet_vpc_config:
2451
+ :param fleet_service_role: The service role associated with the compute fleet. For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
2452
+ :param fleet_vpc_config: Information about the VPC configuration that AWS CodeBuild accesses.
2445
2453
  :param name: The name of the compute fleet.
2446
- :param overflow_behavior:
2454
+ :param overflow_behavior: The compute fleet overflow behavior. - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available. - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand. .. epigraph:: If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
2447
2455
  :param tags: A list of tag key and value pairs associated with this compute fleet. These tags are available for use by AWS services that support AWS CodeBuild compute fleet tags.
2448
2456
 
2449
2457
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html
@@ -2558,7 +2566,10 @@ class CfnFleetProps:
2558
2566
 
2559
2567
  @builtins.property
2560
2568
  def fleet_service_role(self) -> typing.Optional[builtins.str]:
2561
- '''
2569
+ '''The service role associated with the compute fleet.
2570
+
2571
+ For more information, see `Allow a user to add a permission policy for a fleet service role <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html>`_ in the *AWS CodeBuild User Guide* .
2572
+
2562
2573
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetservicerole
2563
2574
  '''
2564
2575
  result = self._values.get("fleet_service_role")
@@ -2568,7 +2579,8 @@ class CfnFleetProps:
2568
2579
  def fleet_vpc_config(
2569
2580
  self,
2570
2581
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.VpcConfigProperty]]:
2571
- '''
2582
+ '''Information about the VPC configuration that AWS CodeBuild accesses.
2583
+
2572
2584
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-fleetvpcconfig
2573
2585
  '''
2574
2586
  result = self._values.get("fleet_vpc_config")
@@ -2585,7 +2597,15 @@ class CfnFleetProps:
2585
2597
 
2586
2598
  @builtins.property
2587
2599
  def overflow_behavior(self) -> typing.Optional[builtins.str]:
2588
- '''
2600
+ '''The compute fleet overflow behavior.
2601
+
2602
+ - For overflow behavior ``QUEUE`` , your overflow builds need to wait on the existing fleet instance to become available.
2603
+ - For overflow behavior ``ON_DEMAND`` , your overflow builds run on CodeBuild on-demand.
2604
+
2605
+ .. epigraph::
2606
+
2607
+ If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see `Example policy statement to allow CodeBuild access to AWS services required to create a VPC network interface <https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface>`_ .
2608
+
2589
2609
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-overflowbehavior
2590
2610
  '''
2591
2611
  result = self._values.get("overflow_behavior")
@@ -2871,9 +2891,9 @@ class CfnProject(
2871
2891
  :param secondary_artifacts: A list of ``Artifacts`` objects. Each artifacts object specifies output settings that the project generates during a build.
2872
2892
  :param secondary_sources: An array of ``ProjectSource`` objects.
2873
2893
  :param secondary_source_versions: An array of ``ProjectSourceVersion`` objects. If ``secondarySourceVersions`` is specified at the build level, then they take over these ``secondarySourceVersions`` (at the project level).
2874
- :param source_version: A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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. If ``sourceVersion`` is specified at the build level, then that version takes precedence over this ``sourceVersion`` (at the project level). 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* .
2894
+ :param source_version: A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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 GitLab: the commit ID, branch, or Git tag to use. - 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. If ``sourceVersion`` is specified at the build level, then that version takes precedence over this ``sourceVersion`` (at the project level). 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* .
2875
2895
  :param tags: An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
2876
- :param timeout_in_minutes: How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
2896
+ :param timeout_in_minutes: How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
2877
2897
  :param triggers: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
2878
2898
  :param visibility: Specifies the visibility of the project's builds. Possible values are:. - **PUBLIC_READ** - The project builds are visible to the public. - **PRIVATE** - The project builds are not visible to the public.
2879
2899
  :param vpc_config: ``VpcConfig`` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see `Use AWS CodeBuild with Amazon Virtual Private Cloud <https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html>`_ in the *AWS CodeBuild User Guide* .
@@ -3287,7 +3307,7 @@ class CfnProject(
3287
3307
  @builtins.property
3288
3308
  @jsii.member(jsii_name="timeoutInMinutes")
3289
3309
  def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
3290
- '''How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.'''
3310
+ '''How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.'''
3291
3311
  return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "timeoutInMinutes"))
3292
3312
 
3293
3313
  @timeout_in_minutes.setter
@@ -4812,7 +4832,7 @@ class CfnProject(
4812
4832
  '''A source identifier and its corresponding version.
4813
4833
 
4814
4834
  :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.
4815
- :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* .
4835
+ :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 GitLab: the commit ID, branch, or Git tag to use. - 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* .
4816
4836
 
4817
4837
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectsourceversion.html
4818
4838
  :exampleMetadata: fixture=_generated
@@ -4857,7 +4877,8 @@ class CfnProject(
4857
4877
  '''The source version for the corresponding source identifier. If specified, must be one of:.
4858
4878
 
4859
4879
  - For CodeCommit: the commit ID, branch, or Git tag to use.
4860
- - 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.
4880
+ - 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.
4881
+ - For GitLab: the commit ID, branch, or Git tag to use.
4861
4882
  - 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.
4862
4883
  - For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
4863
4884
 
@@ -5632,7 +5653,7 @@ class CfnProject(
5632
5653
  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.
5633
5654
 
5634
5655
  :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`` .
5635
- :param type: The type of webhook filter. There are nine webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , ``RELEASE_NAME`` , and ``WORKFLOW_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of nine event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` . 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`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` 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. - WORKFLOW_NAME - A webhook triggers a build when the workflow name matches the regular expression ``pattern`` . .. epigraph:: Works with ``WORKFLOW_JOB_QUEUED`` events only.
5656
+ :param type: The type of webhook filter. There are nine webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , ``RELEASE_NAME`` , and ``WORKFLOW_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of nine event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` . 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:: Types ``PULL_REQUEST_REOPENED`` and ``WORKFLOW_JOB_QUEUED`` work with GitHub and GitHub Enterprise only. Types ``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. - WORKFLOW_NAME - A webhook triggers a build when the workflow name matches the regular expression ``pattern`` . .. epigraph:: Works with ``WORKFLOW_JOB_QUEUED`` events only.
5636
5657
  :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.
5637
5658
 
5638
5659
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html
@@ -5689,7 +5710,7 @@ class CfnProject(
5689
5710
 
5690
5711
  .. epigraph::
5691
5712
 
5692
- The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. The ``RELEASED`` , ``PRERELEASED`` , and ``WORKFLOW_JOB_QUEUED`` work with GitHub only.
5713
+ Types ``PULL_REQUEST_REOPENED`` and ``WORKFLOW_JOB_QUEUED`` work with GitHub and GitHub Enterprise only. Types ``RELEASED`` and ``PRERELEASED`` work with GitHub only.
5693
5714
 
5694
5715
  - ACTOR_ACCOUNT_ID
5695
5716
  - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` .
@@ -5852,9 +5873,9 @@ class CfnProjectProps:
5852
5873
  :param secondary_artifacts: A list of ``Artifacts`` objects. Each artifacts object specifies output settings that the project generates during a build.
5853
5874
  :param secondary_sources: An array of ``ProjectSource`` objects.
5854
5875
  :param secondary_source_versions: An array of ``ProjectSourceVersion`` objects. If ``secondarySourceVersions`` is specified at the build level, then they take over these ``secondarySourceVersions`` (at the project level).
5855
- :param source_version: A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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. If ``sourceVersion`` is specified at the build level, then that version takes precedence over this ``sourceVersion`` (at the project level). 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* .
5876
+ :param source_version: A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it 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 GitLab: the commit ID, branch, or Git tag to use. - 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. If ``sourceVersion`` is specified at the build level, then that version takes precedence over this ``sourceVersion`` (at the project level). 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* .
5856
5877
  :param tags: An arbitrary set of tags (key-value pairs) for the AWS CodeBuild project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
5857
- :param timeout_in_minutes: How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
5878
+ :param timeout_in_minutes: How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes.
5858
5879
  :param triggers: For an existing AWS CodeBuild build project that has its source code stored in a GitHub repository, enables AWS CodeBuild to begin automatically rebuilding the source code every time a code change is pushed to the repository.
5859
5880
  :param visibility: Specifies the visibility of the project's builds. Possible values are:. - **PUBLIC_READ** - The project builds are visible to the public. - **PRIVATE** - The project builds are not visible to the public.
5860
5881
  :param vpc_config: ``VpcConfig`` specifies settings that enable AWS CodeBuild to access resources in an Amazon VPC. For more information, see `Use AWS CodeBuild with Amazon Virtual Private Cloud <https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html>`_ in the *AWS CodeBuild User Guide* .
@@ -6340,6 +6361,7 @@ class CfnProjectProps:
6340
6361
 
6341
6362
  - For CodeCommit: the commit ID, branch, or Git tag to use.
6342
6363
  - 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.
6364
+ - For GitLab: the commit ID, branch, or Git tag to use.
6343
6365
  - 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.
6344
6366
  - For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
6345
6367
 
@@ -6365,7 +6387,7 @@ class CfnProjectProps:
6365
6387
 
6366
6388
  @builtins.property
6367
6389
  def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
6368
- '''How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
6390
+ '''How long, in minutes, from 5 to 2160 (36 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
6369
6391
 
6370
6392
  The default is 60 minutes.
6371
6393
 
@@ -7080,7 +7102,7 @@ class CfnSourceCredential(
7080
7102
  :param id: Construct identifier for this resource (unique in its scope).
7081
7103
  :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
7082
7104
  :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
7083
- :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password.
7105
+ :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the ``authType`` CODECONNECTIONS, this is the ``connectionArn`` .
7084
7106
  :param username: The Bitbucket username when the ``authType`` is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
7085
7107
  '''
7086
7108
  if __debug__:
@@ -7215,7 +7237,7 @@ class CfnSourceCredentialProps:
7215
7237
 
7216
7238
  :param auth_type: The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.
7217
7239
  :param server_type: The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.
7218
- :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password.
7240
+ :param token: For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the ``authType`` CODECONNECTIONS, this is the ``connectionArn`` .
7219
7241
  :param username: The Bitbucket username when the ``authType`` is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.
7220
7242
 
7221
7243
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html
@@ -7278,7 +7300,7 @@ class CfnSourceCredentialProps:
7278
7300
  def token(self) -> builtins.str:
7279
7301
  '''For GitHub or GitHub Enterprise, this is the personal access token.
7280
7302
 
7281
- For Bitbucket, this is either the access token or the app password.
7303
+ For Bitbucket, this is either the access token or the app password. For the ``authType`` CODECONNECTIONS, this is the ``connectionArn`` .
7282
7304
 
7283
7305
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-sourcecredential.html#cfn-codebuild-sourcecredential-token
7284
7306
  '''
@@ -8185,7 +8207,8 @@ class EventAction(enum.Enum):
8185
8207
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
8186
8208
  webhook_triggers_batch_build=True, # optional, default is false
8187
8209
  webhook_filters=[
8188
- codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message")
8210
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message"),
8211
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.RELEASED).and_branch_is("main")
8189
8212
  ]
8190
8213
  )
8191
8214
  '''
@@ -8196,6 +8219,8 @@ class EventAction(enum.Enum):
8196
8219
  '''Creating a Pull Request.'''
8197
8220
  PULL_REQUEST_UPDATED = "PULL_REQUEST_UPDATED"
8198
8221
  '''Updating a Pull Request.'''
8222
+ PULL_REQUEST_CLOSED = "PULL_REQUEST_CLOSED"
8223
+ '''Closing a Pull Request.'''
8199
8224
  PULL_REQUEST_MERGED = "PULL_REQUEST_MERGED"
8200
8225
  '''Merging a Pull Request.'''
8201
8226
  PULL_REQUEST_REOPENED = "PULL_REQUEST_REOPENED"
@@ -8203,6 +8228,21 @@ class EventAction(enum.Enum):
8203
8228
 
8204
8229
  Note that this event is only supported for GitHub and GitHubEnterprise sources.
8205
8230
  '''
8231
+ RELEASED = "RELEASED"
8232
+ '''A release is created in the repository.
8233
+
8234
+ Works with GitHub only.
8235
+ '''
8236
+ PRERELEASED = "PRERELEASED"
8237
+ '''A prerelease is created in the repository.
8238
+
8239
+ Works with GitHub only.
8240
+ '''
8241
+ WORKFLOW_JOB_QUEUED = "WORKFLOW_JOB_QUEUED"
8242
+ '''A workflow job is queued in the repository.
8243
+
8244
+ Works with GitHub only.
8245
+ '''
8206
8246
 
8207
8247
 
8208
8248
  @jsii.data_type(
@@ -8349,7 +8389,8 @@ class FilterGroup(
8349
8389
  webhook=True, # optional, default: true if `webhookFilters` were provided, false otherwise
8350
8390
  webhook_triggers_batch_build=True, # optional, default is false
8351
8391
  webhook_filters=[
8352
- codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message")
8392
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.PUSH).and_branch_is("main").and_commit_message_is("the commit message"),
8393
+ codebuild.FilterGroup.in_event_of(codebuild.EventAction.RELEASED).and_branch_is("main")
8353
8394
  ]
8354
8395
  )
8355
8396
  '''
@@ -10816,6 +10857,12 @@ class LinuxArmLambdaBuildImage(
10816
10857
  '''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:corretto21`` build image.'''
10817
10858
  return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_CORRETTO_21"))
10818
10859
 
10860
+ @jsii.python.classproperty
10861
+ @jsii.member(jsii_name="AMAZON_LINUX_2023_DOTNET_8")
10862
+ def AMAZON_LINUX_2023_DOTNET_8(cls) -> IBuildImage:
10863
+ '''The ``aws/codebuild/amazonlinux-aarch64-lambda-standard:dotnet8`` build image.'''
10864
+ return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_DOTNET_8"))
10865
+
10819
10866
  @jsii.python.classproperty
10820
10867
  @jsii.member(jsii_name="AMAZON_LINUX_2023_NODE_20")
10821
10868
  def AMAZON_LINUX_2023_NODE_20(cls) -> IBuildImage:
@@ -11374,6 +11421,12 @@ class LinuxLambdaBuildImage(
11374
11421
  '''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:corretto21`` build image.'''
11375
11422
  return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_CORRETTO_21"))
11376
11423
 
11424
+ @jsii.python.classproperty
11425
+ @jsii.member(jsii_name="AMAZON_LINUX_2023_DOTNET_8")
11426
+ def AMAZON_LINUX_2023_DOTNET_8(cls) -> IBuildImage:
11427
+ '''The ``aws/codebuild/amazonlinux-x86_64-lambda-standard:dotnet8`` build image.'''
11428
+ return typing.cast(IBuildImage, jsii.sget(cls, "AMAZON_LINUX_2023_DOTNET_8"))
11429
+
11377
11430
  @jsii.python.classproperty
11378
11431
  @jsii.member(jsii_name="AMAZON_LINUX_2023_NODE_20")
11379
11432
  def AMAZON_LINUX_2023_NODE_20(cls) -> IBuildImage:
@@ -3576,8 +3576,9 @@ class CfnPipeline(
3576
3576
  )
3577
3577
  class FailureConditionsProperty:
3578
3578
  def __init__(self, *, result: builtins.str) -> None:
3579
- '''
3580
- :param result:
3579
+ '''The configuration that specifies the result, such as rollback, to occur upon stage failure.
3580
+
3581
+ :param result: The specified result for when the failure conditions are met, such as rolling back the stage.
3581
3582
 
3582
3583
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html
3583
3584
  :exampleMetadata: fixture=_generated
@@ -3601,7 +3602,8 @@ class CfnPipeline(
3601
3602
 
3602
3603
  @builtins.property
3603
3604
  def result(self) -> builtins.str:
3604
- '''
3605
+ '''The specified result for when the failure conditions are met, such as rolling back the stage.
3606
+
3605
3607
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-failureconditions.html#cfn-codepipeline-pipeline-failureconditions-result
3606
3608
  '''
3607
3609
  result = self._values.get("result")
@@ -4407,7 +4409,7 @@ class CfnPipeline(
4407
4409
  :param actions: The actions included in a stage.
4408
4410
  :param name: The name of the stage.
4409
4411
  :param blockers: Reserved for future use.
4410
- :param on_failure:
4412
+ :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.
4411
4413
 
4412
4414
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html
4413
4415
  :exampleMetadata: fixture=_generated
@@ -4508,7 +4510,10 @@ class CfnPipeline(
4508
4510
  def on_failure(
4509
4511
  self,
4510
4512
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnPipeline.FailureConditionsProperty"]]:
4511
- '''
4513
+ '''The method to use when a stage has not completed successfully.
4514
+
4515
+ For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
4516
+
4512
4517
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-stagedeclaration.html#cfn-codepipeline-pipeline-stagedeclaration-onfailure
4513
4518
  '''
4514
4519
  result = self._values.get("on_failure")
@@ -8471,6 +8471,9 @@ class CfnRule(
8471
8471
  # the properties below are optional
8472
8472
  subject="subject"
8473
8473
  )],
8474
+ submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
8475
+ evaluation_form_arn="evaluationFormArn"
8476
+ )],
8474
8477
  task_actions=[connect.CfnRule.TaskActionProperty(
8475
8478
  contact_flow_arn="contactFlowArn",
8476
8479
  name="name",
@@ -8713,6 +8716,7 @@ class CfnRule(
8713
8716
  "end_associated_tasks_actions": "endAssociatedTasksActions",
8714
8717
  "event_bridge_actions": "eventBridgeActions",
8715
8718
  "send_notification_actions": "sendNotificationActions",
8719
+ "submit_auto_evaluation_actions": "submitAutoEvaluationActions",
8716
8720
  "task_actions": "taskActions",
8717
8721
  "update_case_actions": "updateCaseActions",
8718
8722
  },
@@ -8726,6 +8730,7 @@ class CfnRule(
8726
8730
  end_associated_tasks_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
8727
8731
  event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.EventBridgeActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
8728
8732
  send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.SendNotificationActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
8733
+ submit_auto_evaluation_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.SubmitAutoEvaluationActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
8729
8734
  task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.TaskActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
8730
8735
  update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnRule.UpdateCaseActionProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
8731
8736
  ) -> None:
@@ -8736,6 +8741,7 @@ class CfnRule(
8736
8741
  :param end_associated_tasks_actions: This action will end associated tasks when a rule is triggered.
8737
8742
  :param event_bridge_actions: Information about the EventBridge action.
8738
8743
  :param send_notification_actions: Information about the send notification action.
8744
+ :param submit_auto_evaluation_actions: This action will submit an auto contact evaluation when a rule is triggered.
8739
8745
  :param task_actions: Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
8740
8746
  :param update_case_actions: This action will update a case when a rule is triggered.
8741
8747
 
@@ -8784,6 +8790,9 @@ class CfnRule(
8784
8790
  # the properties below are optional
8785
8791
  subject="subject"
8786
8792
  )],
8793
+ submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
8794
+ evaluation_form_arn="evaluationFormArn"
8795
+ )],
8787
8796
  task_actions=[connect.CfnRule.TaskActionProperty(
8788
8797
  contact_flow_arn="contactFlowArn",
8789
8798
  name="name",
@@ -8817,6 +8826,7 @@ class CfnRule(
8817
8826
  check_type(argname="argument end_associated_tasks_actions", value=end_associated_tasks_actions, expected_type=type_hints["end_associated_tasks_actions"])
8818
8827
  check_type(argname="argument event_bridge_actions", value=event_bridge_actions, expected_type=type_hints["event_bridge_actions"])
8819
8828
  check_type(argname="argument send_notification_actions", value=send_notification_actions, expected_type=type_hints["send_notification_actions"])
8829
+ check_type(argname="argument submit_auto_evaluation_actions", value=submit_auto_evaluation_actions, expected_type=type_hints["submit_auto_evaluation_actions"])
8820
8830
  check_type(argname="argument task_actions", value=task_actions, expected_type=type_hints["task_actions"])
8821
8831
  check_type(argname="argument update_case_actions", value=update_case_actions, expected_type=type_hints["update_case_actions"])
8822
8832
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -8830,6 +8840,8 @@ class CfnRule(
8830
8840
  self._values["event_bridge_actions"] = event_bridge_actions
8831
8841
  if send_notification_actions is not None:
8832
8842
  self._values["send_notification_actions"] = send_notification_actions
8843
+ if submit_auto_evaluation_actions is not None:
8844
+ self._values["submit_auto_evaluation_actions"] = submit_auto_evaluation_actions
8833
8845
  if task_actions is not None:
8834
8846
  self._values["task_actions"] = task_actions
8835
8847
  if update_case_actions is not None:
@@ -8892,6 +8904,17 @@ class CfnRule(
8892
8904
  result = self._values.get("send_notification_actions")
8893
8905
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SendNotificationActionProperty"]]]], result)
8894
8906
 
8907
+ @builtins.property
8908
+ def submit_auto_evaluation_actions(
8909
+ self,
8910
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SubmitAutoEvaluationActionProperty"]]]]:
8911
+ '''This action will submit an auto contact evaluation when a rule is triggered.
8912
+
8913
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html#cfn-connect-rule-actions-submitautoevaluationactions
8914
+ '''
8915
+ result = self._values.get("submit_auto_evaluation_actions")
8916
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnRule.SubmitAutoEvaluationActionProperty"]]]], result)
8917
+
8895
8918
  @builtins.property
8896
8919
  def task_actions(
8897
8920
  self,
@@ -9612,6 +9635,58 @@ class CfnRule(
9612
9635
  k + "=" + repr(v) for k, v in self._values.items()
9613
9636
  )
9614
9637
 
9638
+ @jsii.data_type(
9639
+ jsii_type="aws-cdk-lib.aws_connect.CfnRule.SubmitAutoEvaluationActionProperty",
9640
+ jsii_struct_bases=[],
9641
+ name_mapping={"evaluation_form_arn": "evaluationFormArn"},
9642
+ )
9643
+ class SubmitAutoEvaluationActionProperty:
9644
+ def __init__(self, *, evaluation_form_arn: builtins.str) -> None:
9645
+ '''The definition of submit auto evaluation action.
9646
+
9647
+ :param evaluation_form_arn: The Amazon Resource Name (ARN) of the evaluation form.
9648
+
9649
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html
9650
+ :exampleMetadata: fixture=_generated
9651
+
9652
+ Example::
9653
+
9654
+ # The code below shows an example of how to instantiate this type.
9655
+ # The values are placeholders you should change.
9656
+ from aws_cdk import aws_connect as connect
9657
+
9658
+ submit_auto_evaluation_action_property = connect.CfnRule.SubmitAutoEvaluationActionProperty(
9659
+ evaluation_form_arn="evaluationFormArn"
9660
+ )
9661
+ '''
9662
+ if __debug__:
9663
+ type_hints = typing.get_type_hints(_typecheckingstub__f3e56259b05aa0c43c1aac078fe6881856181990ac4fc6bdef4e3eeeff921cca)
9664
+ check_type(argname="argument evaluation_form_arn", value=evaluation_form_arn, expected_type=type_hints["evaluation_form_arn"])
9665
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9666
+ "evaluation_form_arn": evaluation_form_arn,
9667
+ }
9668
+
9669
+ @builtins.property
9670
+ def evaluation_form_arn(self) -> builtins.str:
9671
+ '''The Amazon Resource Name (ARN) of the evaluation form.
9672
+
9673
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html#cfn-connect-rule-submitautoevaluationaction-evaluationformarn
9674
+ '''
9675
+ result = self._values.get("evaluation_form_arn")
9676
+ assert result is not None, "Required property 'evaluation_form_arn' is missing"
9677
+ return typing.cast(builtins.str, result)
9678
+
9679
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9680
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9681
+
9682
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9683
+ return not (rhs == self)
9684
+
9685
+ def __repr__(self) -> str:
9686
+ return "SubmitAutoEvaluationActionProperty(%s)" % ", ".join(
9687
+ k + "=" + repr(v) for k, v in self._values.items()
9688
+ )
9689
+
9615
9690
  @jsii.data_type(
9616
9691
  jsii_type="aws-cdk-lib.aws_connect.CfnRule.TaskActionProperty",
9617
9692
  jsii_struct_bases=[],
@@ -9885,6 +9960,9 @@ class CfnRuleProps:
9885
9960
  # the properties below are optional
9886
9961
  subject="subject"
9887
9962
  )],
9963
+ submit_auto_evaluation_actions=[connect.CfnRule.SubmitAutoEvaluationActionProperty(
9964
+ evaluation_form_arn="evaluationFormArn"
9965
+ )],
9888
9966
  task_actions=[connect.CfnRule.TaskActionProperty(
9889
9967
  contact_flow_arn="contactFlowArn",
9890
9968
  name="name",
@@ -15428,6 +15506,7 @@ def _typecheckingstub__0ef20a75dbfc13161d3fff13ec1c4969adde44c34f62addd27e480514
15428
15506
  end_associated_tasks_actions: typing.Optional[typing.Union[typing.Sequence[typing.Any], _IResolvable_da3f097b]] = None,
15429
15507
  event_bridge_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.EventBridgeActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15430
15508
  send_notification_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.SendNotificationActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15509
+ submit_auto_evaluation_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.SubmitAutoEvaluationActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15431
15510
  task_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.TaskActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15432
15511
  update_case_actions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnRule.UpdateCaseActionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
15433
15512
  ) -> None:
@@ -15502,6 +15581,13 @@ def _typecheckingstub__199075d61da7aee6c24aad33a7023d6a679853ff216c051fe32241849
15502
15581
  """Type checking stubs"""
15503
15582
  pass
15504
15583
 
15584
+ def _typecheckingstub__f3e56259b05aa0c43c1aac078fe6881856181990ac4fc6bdef4e3eeeff921cca(
15585
+ *,
15586
+ evaluation_form_arn: builtins.str,
15587
+ ) -> None:
15588
+ """Type checking stubs"""
15589
+ pass
15590
+
15505
15591
  def _typecheckingstub__36d4ac91ef6fb71bdda5474ed1cbe12228c8f5caa3aec2778c4c6642b1ab6b3b(
15506
15592
  *,
15507
15593
  contact_flow_arn: builtins.str,