Interface CfnFleetPropsMixin.IAcceleratorCapabilitiesProperty
Provides information about the GPU accelerators used for jobs processed by a fleet.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Deadline
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnFleetPropsMixin.IAcceleratorCapabilitiesProperty
Syntax (vb)
Public Interface CfnFleetPropsMixin.IAcceleratorCapabilitiesProperty
Remarks
Accelerator capabilities cannot be used with wait-and-save fleets. If you specify accelerator capabilities, you must use either spot or on-demand instance market options. > Each accelerator type maps to specific EC2 instance families:
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.CfnPropertyMixins.AWS.Deadline;
var acceleratorCapabilitiesProperty = new AcceleratorCapabilitiesProperty {
Count = new AcceleratorCountRangeProperty {
Max = 123,
Min = 123
},
Selections = new [] { new AcceleratorSelectionProperty {
Name = "name",
Runtime = "runtime"
} }
};
Synopsis
Properties
| Count | The number of GPU accelerators specified for worker hosts in this fleet. |
| Selections | A list of accelerator capabilities requested for this fleet. |
Properties
Count
The number of GPU accelerators specified for worker hosts in this fleet.
object? Count { get; }
Property Value
Remarks
You must specify either <code>acceleratorCapabilities.count.max</code> or <code>allowedInstanceTypes</code> when using accelerator capabilities. If you don't specify a maximum count, AWS Deadline Cloud uses the instance types you specify in <code>allowedInstanceTypes</code> to determine the maximum number of accelerators.
Type union: either IResolvable or CfnFleetPropsMixin.IAcceleratorCountRangeProperty
Selections
A list of accelerator capabilities requested for this fleet.
object? Selections { get; }
Property Value
Remarks
Only Amazon Elastic Compute Cloud instances that provide these capabilities will be used. For example, if you specify both L4 and T4 chips, AWS Deadline Cloud will use Amazon EC2 instances that have either the L4 or the T4 chip installed.
<ul></ul>
Type union: either IResolvable or (either IResolvable or CfnFleetPropsMixin.IAcceleratorSelectionProperty)[]