Interface CfnFleet.CustomerManagedWorkerCapabilitiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.CustomerManagedWorkerCapabilitiesProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.CustomerManagedWorkerCapabilitiesProperty
extends software.amazon.jsii.JsiiSerializable
The worker capabilities for a customer managed workflow.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.deadline.*;
CustomerManagedWorkerCapabilitiesProperty customerManagedWorkerCapabilitiesProperty = CustomerManagedWorkerCapabilitiesProperty.builder()
.cpuArchitectureType("cpuArchitectureType")
.memoryMiB(MemoryMiBRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
.osFamily("osFamily")
.vCpuCount(VCpuCountRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
// the properties below are optional
.acceleratorCount(AcceleratorCountRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
.acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRangeProperty.builder()
.min(123)
// the properties below are optional
.max(123)
.build())
.acceleratorTypes(List.of("acceleratorTypes"))
.customAmounts(List.of(FleetAmountCapabilityProperty.builder()
.min(123)
.name("name")
// the properties below are optional
.max(123)
.build()))
.customAttributes(List.of(FleetAttributeCapabilityProperty.builder()
.name("name")
.values(List.of("values"))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFleet.CustomerManagedWorkerCapabilitiesPropertystatic final classAn implementation forCfnFleet.CustomerManagedWorkerCapabilitiesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe range of the accelerator.default ObjectThe total memory (MiB) for the customer managed worker capabilities.The accelerator types for the customer managed worker capabilities.The CPU architecture type for the customer managed worker capabilities.default ObjectCustom requirement ranges for customer managed worker capabilities.default ObjectCustom attributes for the customer manged worker capabilities.The memory (MiB).The operating system (OS) family.The vCPU count for the customer manged worker capabilities.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCpuArchitectureType
The CPU architecture type for the customer managed worker capabilities.- See Also:
-
getMemoryMiB
The memory (MiB).Returns union: either
IResolvableorCfnFleet.MemoryMiBRangeProperty- See Also:
-
getOsFamily
The operating system (OS) family.- See Also:
-
getVCpuCount
The vCPU count for the customer manged worker capabilities.Returns union: either
IResolvableorCfnFleet.VCpuCountRangeProperty- See Also:
-
getAcceleratorCount
The range of the accelerator.Returns union: either
IResolvableorCfnFleet.AcceleratorCountRangeProperty- See Also:
-
getAcceleratorTotalMemoryMiB
The total memory (MiB) for the customer managed worker capabilities.Returns union: either
IResolvableorCfnFleet.AcceleratorTotalMemoryMiBRangeProperty- See Also:
-
getAcceleratorTypes
The accelerator types for the customer managed worker capabilities.- See Also:
-
getCustomAmounts
Custom requirement ranges for customer managed worker capabilities.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFleet.FleetAmountCapabilityProperty>- See Also:
-
getCustomAttributes
Custom attributes for the customer manged worker capabilities.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFleet.FleetAttributeCapabilityProperty>- See Also:
-
builder
-