@Stability(value=Stable)
public static interface CfnProject.ProjectBuildBatchConfigProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.ProjectBuildBatchConfigProperty.Builder
A builder for
CfnProject.ProjectBuildBatchConfigProperty |
static class |
CfnProject.ProjectBuildBatchConfigProperty.Jsii$Proxy
An implementation for
CfnProject.ProjectBuildBatchConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.ProjectBuildBatchConfigProperty.Builder |
builder() |
default String |
getBatchReportMode()
Specifies how build status reports are sent to the source provider for the batch build.
|
default Object |
getCombineArtifacts()
Specifies if the build artifacts for the batch build should be combined into a single artifact location.
|
default Object |
getRestrictions()
A `BatchRestrictions` object that specifies the restrictions for the batch build.
|
default String |
getServiceRole()
Specifies the service role ARN for the batch build project.
|
default Number |
getTimeoutInMins()
Specifies the maximum amount of time, in minutes, that the batch build must be completed in.
|
@Stability(value=Stable) @Nullable default String getBatchReportMode()
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.
@Stability(value=Stable) @Nullable default Object getCombineArtifacts()
@Stability(value=Stable) @Nullable default Object getRestrictions()
@Stability(value=Stable) @Nullable default String getServiceRole()
@Stability(value=Stable) @Nullable default Number getTimeoutInMins()
@Stability(value=Stable) static CfnProject.ProjectBuildBatchConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.