@Stability(value=Stable)
public static interface CfnProject.BatchRestrictionsProperty
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.*;
BatchRestrictionsProperty batchRestrictionsProperty = BatchRestrictionsProperty.builder()
.computeTypesAllowed(List.of("computeTypesAllowed"))
.maximumBuildsAllowed(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.BatchRestrictionsProperty.Builder
A builder for
CfnProject.BatchRestrictionsProperty |
static class |
CfnProject.BatchRestrictionsProperty.Jsii$Proxy
An implementation for
CfnProject.BatchRestrictionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.BatchRestrictionsProperty.Builder |
builder() |
default List<String> |
getComputeTypesAllowed()
An array of strings that specify the compute types that are allowed for the batch build.
|
default Number |
getMaximumBuildsAllowed()
Specifies the maximum number of builds allowed.
|
@Stability(value=Stable) @Nullable default List<String> getComputeTypesAllowed()
See Build environment compute types in the AWS CodeBuild User Guide for these values.
@Stability(value=Stable) @Nullable default Number getMaximumBuildsAllowed()
@Stability(value=Stable) static CfnProject.BatchRestrictionsProperty.Builder builder()
Copyright © 2022. All rights reserved.