Interface CfnFleet.IServiceManagedEc2FleetConfigurationProperty
The configuration details for a service managed Amazon EC2 fleet.
Namespace: Amazon.CDK.AwsDeadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IServiceManagedEc2FleetConfigurationProperty
Syntax (vb)
Public Interface IServiceManagedEc2FleetConfigurationProperty
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 serviceManagedEc2FleetConfigurationProperty = 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
Instance |
The Amazon EC2 instance capabilities. |
Instance |
The Amazon EC2 market type. |
Properties
InstanceCapabilities
The Amazon EC2 instance capabilities.
object InstanceCapabilities { get; }
Property Value
System.
Remarks
InstanceMarketOptions
The Amazon EC2 market type.
object InstanceMarketOptions { get; }
Property Value
System.