Class CfnFleet.FleetConfigurationProperty
Fleet configuration details.
Implements
Inherited Members
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
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
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
Remarks
ServiceManagedEc2
The service managed Amazon EC2 instances for a fleet configuration.
public object? ServiceManagedEc2 { get; set; }