Class CfnFleet.ComputeConfigurationProperty
Contains compute attributes.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ComputeConfigurationProperty : Object, CfnFleet.IComputeConfigurationProperty
Syntax (vb)
Public Class ComputeConfigurationProperty
Inherits Object
Implements CfnFleet.IComputeConfigurationProperty
Remarks
These attributes only need be specified when your project's or fleet's computeType
is set to ATTRIBUTE_BASED_COMPUTE
.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
var computeConfigurationProperty = new ComputeConfigurationProperty {
Disk = 123,
MachineType = "machineType",
Memory = 123,
VCpu = 123
};
Synopsis
Constructors
ComputeConfigurationProperty() |
Properties
Disk | The amount of disk space of the instance type included in your fleet. |
MachineType | The machine type of the instance type included in your fleet. |
Memory | The amount of memory of the instance type included in your fleet. |
VCpu | The number of vCPUs of the instance type included in your fleet. |
Constructors
ComputeConfigurationProperty()
public ComputeConfigurationProperty()
Properties
Disk
The amount of disk space of the instance type included in your fleet.
public Nullable<double> Disk { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
MachineType
The machine type of the instance type included in your fleet.
public string MachineType { get; set; }
Property Value
System.String
Remarks
Memory
The amount of memory of the instance type included in your fleet.
public Nullable<double> Memory { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
VCpu
The number of vCPUs of the instance type included in your fleet.
public Nullable<double> VCpu { get; set; }
Property Value
System.Nullable<System.Double>