Interface CfnFleetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFleetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:14.587Z") @Stability(Stable) public interface CfnFleetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnFleet.

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.*;
 CfnFleetProps cfnFleetProps = CfnFleetProps.builder()
         .configuration(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
                                 .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())
         .displayName("displayName")
         .farmId("farmId")
         .maxWorkerCount(123)
         .roleArn("roleArn")
         // the properties below are optional
         .description("description")
         .minWorkerCount(123)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: