interface ComputeConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.CfnFleet.ComputeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnFleet_ComputeConfigurationProperty |
Java | software.amazon.awscdk.services.codebuild.CfnFleet.ComputeConfigurationProperty |
Python | aws_cdk.aws_codebuild.CfnFleet.ComputeConfigurationProperty |
TypeScript | aws-cdk-lib » aws_codebuild » CfnFleet » ComputeConfigurationProperty |
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 { aws_codebuild as codebuild } from 'aws-cdk-lib';
const computeConfigurationProperty: codebuild.CfnFleet.ComputeConfigurationProperty = {
disk: 123,
machineType: 'machineType',
memory: 123,
vCpu: 123,
};
Properties
Name | Type | Description |
---|---|---|
disk? | number | The amount of disk space of the instance type included in your fleet. |
machine | string | The machine type of the instance type included in your fleet. |
memory? | number | The amount of memory of the instance type included in your fleet. |
v | number | The number of vCPUs of the instance type included in your fleet. |
disk?
Type:
number
(optional)
The amount of disk space of the instance type included in your fleet.
machineType?
Type:
string
(optional)
The machine type of the instance type included in your fleet.
memory?
Type:
number
(optional)
The amount of memory of the instance type included in your fleet.
vCpu?
Type:
number
(optional)
The number of vCPUs of the instance type included in your fleet.