Interface CfnFleet.FleetConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFleet.FleetConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFleet
@Stability(Stable)
public static interface CfnFleet.FleetConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Fleet configuration details.
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.*; FleetConfigurationProperty fleetConfigurationProperty = FleetConfigurationProperty.builder() .customerManaged(CustomerManagedFleetConfigurationProperty.builder() .mode("mode") .workerCapabilities(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()) // the properties below are optional .storageProfileId("storageProfileId") .build()) .serviceManagedEc2(ServiceManagedEc2FleetConfigurationProperty.builder() .instanceCapabilities(ServiceManagedEc2InstanceCapabilitiesProperty.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 .acceleratorCapabilities(AcceleratorCapabilitiesProperty.builder() .selections(List.of(AcceleratorSelectionProperty.builder() .name("name") // the properties below are optional .runtime("runtime") .build())) // the properties below are optional .count(AcceleratorCountRangeProperty.builder() .min(123) // the properties below are optional .max(123) .build()) .build()) .allowedInstanceTypes(List.of("allowedInstanceTypes")) .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())) .excludedInstanceTypes(List.of("excludedInstanceTypes")) .rootEbsVolume(Ec2EbsVolumeProperty.builder() .iops(123) .sizeGiB(123) .throughputMiB(123) .build()) .build()) .instanceMarketOptions(ServiceManagedEc2InstanceMarketOptionsProperty.builder() .type("type") .build()) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFleet.FleetConfigurationProperty
static final class
An implementation forCfnFleet.FleetConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomerManaged
The customer managed fleets within a fleet configuration.- See Also:
-
getServiceManagedEc2
The service managed Amazon EC2 instances for a fleet configuration.- See Also:
-
builder
-