Interface CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty.Jsii$Proxy
- Enclosing class:
CfnFleetPropsMixin
@Stability(Stable)
public static interface CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty
extends software.amazon.jsii.JsiiSerializable
The Amazon EC2 instance capabilities.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.deadline.mixins.*;
ServiceManagedEc2InstanceCapabilitiesProperty serviceManagedEc2InstanceCapabilitiesProperty = ServiceManagedEc2InstanceCapabilitiesProperty.builder()
.acceleratorCapabilities(AcceleratorCapabilitiesProperty.builder()
.count(AcceleratorCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.selections(List.of(AcceleratorSelectionProperty.builder()
.name("name")
.runtime("runtime")
.build()))
.build())
.allowedInstanceTypes(List.of("allowedInstanceTypes"))
.cpuArchitectureType("cpuArchitectureType")
.customAmounts(List.of(FleetAmountCapabilityProperty.builder()
.max(123)
.min(123)
.name("name")
.build()))
.customAttributes(List.of(FleetAttributeCapabilityProperty.builder()
.name("name")
.values(List.of("values"))
.build()))
.excludedInstanceTypes(List.of("excludedInstanceTypes"))
.memoryMiB(MemoryMiBRangeProperty.builder()
.max(123)
.min(123)
.build())
.osFamily("osFamily")
.rootEbsVolume(Ec2EbsVolumeProperty.builder()
.iops(123)
.sizeGiB(123)
.throughputMiB(123)
.build())
.vCpuCount(VCpuCountRangeProperty.builder()
.max(123)
.min(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDescribes the GPU accelerator capabilities required for worker host instances in this fleet.The allowable Amazon EC2 instance types.default StringThe CPU architecture type.default ObjectThe custom capability amounts to require for instances in this fleet.default ObjectThe custom capability attributes to require for instances in this fleet.The instance types to exclude from the fleet.default ObjectThe memory, as MiB, for the Amazon EC2 instance type.default StringThe operating system (OS) family.default ObjectThe root EBS volume.default ObjectThe amount of vCPU to require for instances in this fleet.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAcceleratorCapabilities
Describes the GPU accelerator capabilities required for worker host instances in this fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.AcceleratorCapabilitiesProperty- See Also:
-
getAllowedInstanceTypes
The allowable Amazon EC2 instance types.- See Also:
-
getCpuArchitectureType
The CPU architecture type.- See Also:
-
getCustomAmounts
The custom capability amounts to require for instances in this fleet.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFleetPropsMixin.FleetAmountCapabilityProperty>- See Also:
-
getCustomAttributes
The custom capability attributes to require for instances in this fleet.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFleetPropsMixin.FleetAttributeCapabilityProperty>- See Also:
-
getExcludedInstanceTypes
The instance types to exclude from the fleet.- See Also:
-
getMemoryMiB
The memory, as MiB, for the Amazon EC2 instance type.Returns union: either
IResolvableorCfnFleetPropsMixin.MemoryMiBRangeProperty- See Also:
-
getOsFamily
The operating system (OS) family.- See Also:
-
getRootEbsVolume
The root EBS volume.Returns union: either
IResolvableorCfnFleetPropsMixin.Ec2EbsVolumeProperty- See Also:
-
getVCpuCount
The amount of vCPU to require for instances in this fleet.Returns union: either
IResolvableorCfnFleetPropsMixin.VCpuCountRangeProperty- See Also:
-
builder
@Stability(Stable) static CfnFleetPropsMixin.ServiceManagedEc2InstanceCapabilitiesProperty.Builder builder()
-