Class CfnFleet.ComputeConfigurationProperty
Contains compute attributes.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet.ComputeConfigurationProperty : CfnFleet.IComputeConfigurationProperty
Syntax (vb)
Public Class CfnFleet.ComputeConfigurationProperty Implements CfnFleet.IComputeConfigurationProperty
Remarks
These attributes only need be specified when your project's or fleet's computeType
is set to ATTRIBUTE_BASED_COMPUTE
or CUSTOM_INSTANCE_TYPE
.
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,
InstanceType = "instanceType",
MachineType = "machineType",
Memory = 123,
VCpu = 123
};
Synopsis
Constructors
ComputeConfigurationProperty() | Contains compute attributes. |
Properties
Disk | The amount of disk space of the instance type included in your fleet. |
InstanceType | The EC2 instance type to be launched 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()
Contains compute attributes.
public ComputeConfigurationProperty()
Remarks
These attributes only need be specified when your project's or fleet's computeType
is set to ATTRIBUTE_BASED_COMPUTE
or CUSTOM_INSTANCE_TYPE
.
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,
InstanceType = "instanceType",
MachineType = "machineType",
Memory = 123,
VCpu = 123
};
Properties
Disk
The amount of disk space of the instance type included in your fleet.
public double? Disk { get; set; }
Property Value
Remarks
InstanceType
The EC2 instance type to be launched in your fleet.
public string? InstanceType { get; set; }
Property Value
Remarks
MachineType
The machine type of the instance type included in your fleet.
public string? MachineType { get; set; }
Property Value
Remarks
Memory
The amount of memory of the instance type included in your fleet.
public double? Memory { get; set; }
Property Value
Remarks
VCpu
The number of vCPUs of the instance type included in your fleet.
public double? VCpu { get; set; }