Class CfnFleet.ServiceManagedEc2InstanceCapabilitiesProperty
The Amazon EC2 instance capabilities.
Inheritance
Namespace: Amazon.CDK.AwsDeadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServiceManagedEc2InstanceCapabilitiesProperty : Object, CfnFleet.IServiceManagedEc2InstanceCapabilitiesProperty
Syntax (vb)
Public Class ServiceManagedEc2InstanceCapabilitiesProperty
Inherits Object
Implements CfnFleet.IServiceManagedEc2InstanceCapabilitiesProperty
Remarks
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_deadline;
var serviceManagedEc2InstanceCapabilitiesProperty = new ServiceManagedEc2InstanceCapabilitiesProperty {
CpuArchitectureType = "cpuArchitectureType",
MemoryMiB = new MemoryMiBRangeProperty {
Min = 123,
// the properties below are optional
Max = 123
},
OsFamily = "osFamily",
VCpuCount = new VCpuCountRangeProperty {
Min = 123,
// the properties below are optional
Max = 123
},
// the properties below are optional
AcceleratorCapabilities = new AcceleratorCapabilitiesProperty {
Selections = new [] { new AcceleratorSelectionProperty {
Name = "name",
// the properties below are optional
Runtime = "runtime"
} },
// the properties below are optional
Count = new AcceleratorCountRangeProperty {
Min = 123,
// the properties below are optional
Max = 123
}
},
AllowedInstanceTypes = new [] { "allowedInstanceTypes" },
CustomAmounts = new [] { new FleetAmountCapabilityProperty {
Min = 123,
Name = "name",
// the properties below are optional
Max = 123
} },
CustomAttributes = new [] { new FleetAttributeCapabilityProperty {
Name = "name",
Values = new [] { "values" }
} },
ExcludedInstanceTypes = new [] { "excludedInstanceTypes" },
RootEbsVolume = new Ec2EbsVolumeProperty {
Iops = 123,
SizeGiB = 123,
ThroughputMiB = 123
}
};
Synopsis
Constructors
ServiceManagedEc2InstanceCapabilitiesProperty() |
Properties
AcceleratorCapabilities | Describes the GPU accelerator capabilities required for worker host instances in this fleet. |
AllowedInstanceTypes | The allowable Amazon EC2 instance types. |
CpuArchitectureType | The CPU architecture type. |
CustomAmounts | The custom capability amounts to require for instances in this fleet. |
CustomAttributes | The custom capability attributes to require for instances in this fleet. |
ExcludedInstanceTypes | The instance types to exclude from the fleet. |
MemoryMiB | The memory, as MiB, for the Amazon EC2 instance type. |
OsFamily | The operating system (OS) family. |
RootEbsVolume | The root EBS volume. |
VCpuCount | The amount of vCPU to require for instances in this fleet. |
Constructors
ServiceManagedEc2InstanceCapabilitiesProperty()
public ServiceManagedEc2InstanceCapabilitiesProperty()
Properties
AcceleratorCapabilities
Describes the GPU accelerator capabilities required for worker host instances in this fleet.
public object AcceleratorCapabilities { get; set; }
Property Value
System.Object
Remarks
AllowedInstanceTypes
The allowable Amazon EC2 instance types.
public string[] AllowedInstanceTypes { get; set; }
Property Value
System.String[]
Remarks
CpuArchitectureType
The CPU architecture type.
public string CpuArchitectureType { get; set; }
Property Value
System.String
Remarks
CustomAmounts
The custom capability amounts to require for instances in this fleet.
public object CustomAmounts { get; set; }
Property Value
System.Object
Remarks
CustomAttributes
The custom capability attributes to require for instances in this fleet.
public object CustomAttributes { get; set; }
Property Value
System.Object
Remarks
ExcludedInstanceTypes
The instance types to exclude from the fleet.
public string[] ExcludedInstanceTypes { get; set; }
Property Value
System.String[]
Remarks
MemoryMiB
The memory, as MiB, for the Amazon EC2 instance type.
public object MemoryMiB { get; set; }
Property Value
System.Object
Remarks
OsFamily
The operating system (OS) family.
public string OsFamily { get; set; }
Property Value
System.String
Remarks
RootEbsVolume
The root EBS volume.
public object RootEbsVolume { get; set; }
Property Value
System.Object
Remarks
VCpuCount
The amount of vCPU to require for instances in this fleet.
public object VCpuCount { get; set; }
Property Value
System.Object