Show / Hide Table of Contents

Class CfnFleet.AcceleratorCapabilitiesProperty

Provides information about the GPU accelerators used for jobs processed by a fleet.

Inheritance
object
CfnFleet.AcceleratorCapabilitiesProperty
Implements
CfnFleet.IAcceleratorCapabilitiesProperty
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.Deadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet.AcceleratorCapabilitiesProperty : CfnFleet.IAcceleratorCapabilitiesProperty
Syntax (vb)
Public Class CfnFleet.AcceleratorCapabilitiesProperty Implements CfnFleet.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:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.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.Deadline;
    
                 var acceleratorCapabilitiesProperty = 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
                     }
                 };

    Synopsis

    Constructors

    AcceleratorCapabilitiesProperty()

    Provides information about the GPU accelerators used for jobs processed by a fleet.

    Properties

    Count

    The number of GPU accelerators specified for worker hosts in this fleet.

    Selections

    A list of accelerator capabilities requested for this fleet.

    Constructors

    AcceleratorCapabilitiesProperty()

    Provides information about the GPU accelerators used for jobs processed by a fleet.

    public AcceleratorCapabilitiesProperty()
    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:
    

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.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.Deadline;
      
                   var acceleratorCapabilitiesProperty = 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
                       }
                   };

      Properties

      Count

      The number of GPU accelerators specified for worker hosts in this fleet.

      public object? Count { get; set; }
      Property Value

      object

      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.
      

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-count

      Type union: either IResolvable or CfnFleet.IAcceleratorCountRangeProperty

      Selections

      A list of accelerator capabilities requested for this fleet.

      public object Selections { get; set; }
      Property Value

      object

      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>
      

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-acceleratorcapabilities.html#cfn-deadline-fleet-acceleratorcapabilities-selections

      Type union: either IResolvable or (either IResolvable or CfnFleet.IAcceleratorSelectionProperty)[]

      Implements

      CfnFleet.IAcceleratorCapabilitiesProperty
      Back to top Generated by DocFX