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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProject.ProjectBuildBatchConfigPropertystatic final classAn implementation forCfnProject.ProjectBuildBatchConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies how build status reports are sent to the source provider for the batch build.default ObjectSpecifies if the build artifacts for the batch build should be combined into a single artifact location.default ObjectABatchRestrictionsobject that specifies the restrictions for the batch build.default StringSpecifies the service role ARN for the batch build project.default NumberSpecifies the maximum amount of time, in minutes, that the batch build must be completed in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
Specifies if the build artifacts for the batch build should be combined into a single artifact location. -
getRestrictions
ABatchRestrictionsobject that specifies the restrictions for the batch build. -
getServiceRole
Specifies the service role ARN for the batch build project. -
getTimeoutInMins
Specifies the maximum amount of time, in minutes, that the batch build must be completed in. -
builder
-