Interface CfnFleet.ComputeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.ComputeConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.ComputeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains compute attributes.
These attributes only need be specified when your project's or fleet's computeType
is set to ATTRIBUTE_BASED_COMPUTE
.
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.*; ComputeConfigurationProperty computeConfigurationProperty = ComputeConfigurationProperty.builder() .disk(123) .machineType("machineType") .memory(123) .vCpu(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFleet.ComputeConfigurationProperty
static final class
An implementation forCfnFleet.ComputeConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
getDisk()
The amount of disk space of the instance type included in your fleet.default String
The machine type of the instance type included in your fleet.default Number
The amount of memory of the instance type included in your fleet.default Number
getVCpu()
The number of vCPUs of the instance type included in your fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDisk
The amount of disk space of the instance type included in your fleet.- See Also:
-
getMachineType
The machine type of the instance type included in your fleet.- See Also:
-
getMemory
The amount of memory of the instance type included in your fleet.- See Also:
-
getVCpu
The number of vCPUs of the instance type included in your fleet.- See Also:
-
builder
-