Interface CfnFleet.IFleetConfigurationProperty
Fleet configuration details.
Namespace: Amazon.CDK.AwsDeadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFleetConfigurationProperty
Syntax (vb)
Public Interface 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"
},
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"
}
}
};
Synopsis
Properties
Customer |
The customer managed fleets within a fleet configuration. |
Service |
The service managed Amazon EC2 instances for a fleet configuration. |
Properties
CustomerManaged
The customer managed fleets within a fleet configuration.
virtual object CustomerManaged { get; }
Property Value
System.
Remarks
ServiceManagedEc2
The service managed Amazon EC2 instances for a fleet configuration.
virtual object ServiceManagedEc2 { get; }
Property Value
System.