Show / Hide Table of Contents

Class CfnFleet.FleetConfigurationProperty

Fleet configuration details.

Inheritance
object
CfnFleet.FleetConfigurationProperty
Implements
CfnFleet.IFleetConfigurationProperty
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.FleetConfigurationProperty : CfnFleet.IFleetConfigurationProperty
Syntax (vb)
Public Class CfnFleet.FleetConfigurationProperty Implements CfnFleet.IFleetConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetconfiguration.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 fleetConfigurationProperty = new FleetConfigurationProperty {
                 CustomerManaged = new CustomerManagedFleetConfigurationProperty {
                     Mode = "mode",
                     WorkerCapabilities = new CustomerManagedWorkerCapabilitiesProperty {
                         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
                         AcceleratorCount = new AcceleratorCountRangeProperty {
                             Min = 123,

                             // the properties below are optional
                             Max = 123
                         },
                         AcceleratorTotalMemoryMiB = new AcceleratorTotalMemoryMiBRangeProperty {
                             Min = 123,

                             // the properties below are optional
                             Max = 123
                         },
                         AcceleratorTypes = new [] { "acceleratorTypes" },
                         CustomAmounts = new [] { new FleetAmountCapabilityProperty {
                             Min = 123,
                             Name = "name",

                             // the properties below are optional
                             Max = 123
                         } },
                         CustomAttributes = new [] { new FleetAttributeCapabilityProperty {
                             Name = "name",
                             Values = new [] { "values" }
                         } }
                     },

                     // the properties below are optional
                     StorageProfileId = "storageProfileId",
                     TagPropagationMode = "tagPropagationMode"
                 },
                 ServiceManagedEc2 = new ServiceManagedEc2FleetConfigurationProperty {
                     InstanceCapabilities = 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
                         }
                     },
                     InstanceMarketOptions = new ServiceManagedEc2InstanceMarketOptionsProperty {
                         Type = "type"
                     },

                     // the properties below are optional
                     StorageProfileId = "storageProfileId",
                     VpcConfiguration = new VpcConfigurationProperty {
                         ResourceConfigurationArns = new [] { "resourceConfigurationArns" }
                     }
                 }
             };

Synopsis

Constructors

FleetConfigurationProperty()

Fleet configuration details.

Properties

CustomerManaged

The customer managed fleets within a fleet configuration.

ServiceManagedEc2

The service managed Amazon EC2 instances for a fleet configuration.

Constructors

FleetConfigurationProperty()

Fleet configuration details.

public FleetConfigurationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-deadline-fleet-fleetconfiguration.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 fleetConfigurationProperty = new FleetConfigurationProperty {
                 CustomerManaged = new CustomerManagedFleetConfigurationProperty {
                     Mode = "mode",
                     WorkerCapabilities = new CustomerManagedWorkerCapabilitiesProperty {
                         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
                         AcceleratorCount = new AcceleratorCountRangeProperty {
                             Min = 123,

                             // the properties below are optional
                             Max = 123
                         },
                         AcceleratorTotalMemoryMiB = new AcceleratorTotalMemoryMiBRangeProperty {
                             Min = 123,

                             // the properties below are optional
                             Max = 123
                         },
                         AcceleratorTypes = new [] { "acceleratorTypes" },
                         CustomAmounts = new [] { new FleetAmountCapabilityProperty {
                             Min = 123,
                             Name = "name",

                             // the properties below are optional
                             Max = 123
                         } },
                         CustomAttributes = new [] { new FleetAttributeCapabilityProperty {
                             Name = "name",
                             Values = new [] { "values" }
                         } }
                     },

                     // the properties below are optional
                     StorageProfileId = "storageProfileId",
                     TagPropagationMode = "tagPropagationMode"
                 },
                 ServiceManagedEc2 = new ServiceManagedEc2FleetConfigurationProperty {
                     InstanceCapabilities = 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
                         }
                     },
                     InstanceMarketOptions = new ServiceManagedEc2InstanceMarketOptionsProperty {
                         Type = "type"
                     },

                     // the properties below are optional
                     StorageProfileId = "storageProfileId",
                     VpcConfiguration = new VpcConfigurationProperty {
                         ResourceConfigurationArns = new [] { "resourceConfigurationArns" }
                     }
                 }
             };

Properties

CustomerManaged

The customer managed fleets within a fleet configuration.

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

object

Remarks

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

Type union: either IResolvable or CfnFleet.ICustomerManagedFleetConfigurationProperty

ServiceManagedEc2

The service managed Amazon EC2 instances for a fleet configuration.

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

object

Remarks

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

Type union: either IResolvable or CfnFleet.IServiceManagedEc2FleetConfigurationProperty

Implements

CfnFleet.IFleetConfigurationProperty
Back to top Generated by DocFX