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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProject.ProjectBuildBatchConfigProperty
static final class
An implementation forCfnProject.ProjectBuildBatchConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Specifies how build status reports are sent to the source provider for the batch build.default Object
Specifies if the build artifacts for the batch build should be combined into a single artifact location.default Object
ABatchRestrictions
object that specifies the restrictions for the batch build.default String
Specifies the service role ARN for the batch build project.default Number
Specifies 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.
- See Also:
-
getCombineArtifacts
Specifies if the build artifacts for the batch build should be combined into a single artifact location.- See Also:
-
getRestrictions
ABatchRestrictions
object that specifies the restrictions for the batch build.- See Also:
-
getServiceRole
Specifies the service role ARN for the batch build project.- See Also:
-
getTimeoutInMins
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.- See Also:
-
builder
-