interface ComputeConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnFleetPropsMixin.ComputeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnFleetPropsMixin_ComputeConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnFleetPropsMixin.ComputeConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnFleetPropsMixin.ComputeConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnFleetPropsMixin » ComputeConfigurationProperty |
Contains compute attributes.
These attributes only need be specified when your project's or fleet's computeType is set to ATTRIBUTE_BASED_COMPUTE or CUSTOM_INSTANCE_TYPE .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const computeConfigurationProperty: codebuild_mixins.CfnFleetPropsMixin.ComputeConfigurationProperty = {
disk: 123,
instanceType: 'instanceType',
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. |
| instance | string | The EC2 instance type to be launched 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.
instanceType?
Type:
string
(optional)
The EC2 instance type to be launched 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.

.NET
Go
Java
Python
TypeScript