Interface CfnProject.ProjectBuildBatchConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.ProjectBuildBatchConfigProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.ProjectBuildBatchConfigProperty extends software.amazon.jsii.JsiiSerializable
Contains configuration information about a batch build project.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.codebuild.*;
 ProjectBuildBatchConfigProperty projectBuildBatchConfigProperty = ProjectBuildBatchConfigProperty.builder()
         .batchReportMode("batchReportMode")
         .combineArtifacts(false)
         .restrictions(BatchRestrictionsProperty.builder()
                 .computeTypesAllowed(List.of("computeTypesAllowed"))
                 .maximumBuildsAllowed(123)
                 .build())
         .serviceRole("serviceRole")
         .timeoutInMins(123)
         .build();
 
  • Method Details

    • getBatchReportMode

      @Stability(Stable) @Nullable default String getBatchReportMode()
      Specifies how build status reports are sent to the source provider for the batch build.

      This property is only used when the source provider for your project is Bitbucket, GitHub, or GitHub Enterprise, and your project is configured to report build statuses to the source provider.

      • REPORT_AGGREGATED_BATCH - (Default) Aggregate all of the build statuses into a single status report.
      • REPORT_INDIVIDUAL_BUILDS - Send a separate status report for each individual build.
    • getCombineArtifacts

      @Stability(Stable) @Nullable default Object getCombineArtifacts()
      Specifies if the build artifacts for the batch build should be combined into a single artifact location.
    • getRestrictions

      @Stability(Stable) @Nullable default Object getRestrictions()
      A BatchRestrictions object that specifies the restrictions for the batch build.
    • getServiceRole

      @Stability(Stable) @Nullable default String getServiceRole()
      Specifies the service role ARN for the batch build project.
    • getTimeoutInMins

      @Stability(Stable) @Nullable default Number getTimeoutInMins()
      Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
    • builder

      @Stability(Stable) static CfnProject.ProjectBuildBatchConfigProperty.Builder builder()
      Returns:
      a CfnProject.ProjectBuildBatchConfigProperty.Builder of CfnProject.ProjectBuildBatchConfigProperty