Interface CfnFleetPropsMixin.IComputeConfigurationProperty
Contains compute attributes.
Namespace: Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnFleetPropsMixin.IComputeConfigurationProperty
Syntax (vb)
Public Interface CfnFleetPropsMixin.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.Mixins.Preview.AWS.CodeBuild.Mixins;
var computeConfigurationProperty = new ComputeConfigurationProperty {
Disk = 123,
InstanceType = "instanceType",
MachineType = "machineType",
Memory = 123,
VCpu = 123
};
Synopsis
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. |
Properties
Disk
The amount of disk space of the instance type included in your fleet.
double? Disk { get; }
Property Value
Remarks
InstanceType
The EC2 instance type to be launched in your fleet.
string? InstanceType { get; }
Property Value
Remarks
MachineType
The machine type of the instance type included in your fleet.
string? MachineType { get; }
Property Value
Remarks
Memory
The amount of memory of the instance type included in your fleet.
double? Memory { get; }
Property Value
Remarks
VCpu
The number of vCPUs of the instance type included in your fleet.
double? VCpu { get; }