Interface FleetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FleetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:16.165Z")
@Stability(Stable)
public interface FleetProps
extends software.amazon.jsii.JsiiSerializable
Construction properties of a CodeBuild
Fleet
.
Example:
Fleet fleet = Fleet.Builder.create(this, "Fleet") .computeType(FleetComputeType.MEDIUM) .environmentType(EnvironmentType.LINUX_CONTAINER) .baseCapacity(1) .build(); Project.Builder.create(this, "Project") .environment(BuildEnvironment.builder() .fleet(fleet) .buildImage(LinuxBuildImage.STANDARD_7_0) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFleetProps
static final class
An implementation forFleetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic FleetProps.Builder
builder()
The number of machines allocated to the compute fleet.The instance type of the compute fleet.The build environment (operating system/architecture/accelerator) type made available to projects using this fleet.default String
The name of the Fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBaseCapacity
The number of machines allocated to the compute fleet. Defines the number of builds that can run in parallel.Minimum value of 1.
-
getComputeType
The instance type of the compute fleet.- See Also:
-
getEnvironmentType
The build environment (operating system/architecture/accelerator) type made available to projects using this fleet. -
getFleetName
The name of the Fleet.Default: - CloudFormation generated name
-
builder
- Returns:
- a
FleetProps.Builder
ofFleetProps
-