Show / Hide Table of Contents

Class CfnFleet.ComputeConfigurationProperty

Contains compute attributes.

Inheritance
object
CfnFleet.ComputeConfigurationProperty
Implements
CfnFleet.IComputeConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-disk

InstanceType

The EC2 instance type to be launched in your fleet.

public string? InstanceType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-instancetype

MachineType

The machine type of the instance type included in your fleet.

public string? MachineType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-machinetype

Memory

The amount of memory of the instance type included in your fleet.

public double? Memory { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-memory

VCpu

The number of vCPUs of the instance type included in your fleet.

public double? VCpu { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-fleet-computeconfiguration.html#cfn-codebuild-fleet-computeconfiguration-vcpu

Implements

CfnFleet.IComputeConfigurationProperty
Back to top Generated by DocFX