java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.core.Mixin
software.amazon.awscdk.mixins.preview.services.deadline.mixins.CfnFleetPropsMixin
All Implemented Interfaces:
IMixin, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)", date="2025-12-18T18:20:24.732Z") @Stability(Stable) public class CfnFleetPropsMixin extends Mixin implements IMixin
Creates a fleet.

Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.

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.mixins.*;
 import software.amazon.awscdk.mixins.preview.services.deadline.mixins.*;
 CfnFleetPropsMixin cfnFleetPropsMixin = CfnFleetPropsMixin.Builder.create(CfnFleetMixinProps.builder()
         .configuration(FleetConfigurationProperty.builder()
                 .customerManaged(CustomerManagedFleetConfigurationProperty.builder()
                         .mode("mode")
                         .storageProfileId("storageProfileId")
                         .tagPropagationMode("tagPropagationMode")
                         .workerCapabilities(CustomerManagedWorkerCapabilitiesProperty.builder()
                                 .acceleratorCount(AcceleratorCountRangeProperty.builder()
                                         .max(123)
                                         .min(123)
                                         .build())
                                 .acceleratorTotalMemoryMiB(AcceleratorTotalMemoryMiBRangeProperty.builder()
                                         .max(123)
                                         .min(123)
                                         .build())
                                 .acceleratorTypes(List.of("acceleratorTypes"))
                                 .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()))
                                 .memoryMiB(MemoryMiBRangeProperty.builder()
                                         .max(123)
                                         .min(123)
                                         .build())
                                 .osFamily("osFamily")
                                 .vCpuCount(VCpuCountRangeProperty.builder()
                                         .max(123)
                                         .min(123)
                                         .build())
                                 .build())
                         .build())
                 .serviceManagedEc2(ServiceManagedEc2FleetConfigurationProperty.builder()
                         .instanceCapabilities(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())
                         .instanceMarketOptions(ServiceManagedEc2InstanceMarketOptionsProperty.builder()
                                 .type("type")
                                 .build())
                         .storageProfileId("storageProfileId")
                         .vpcConfiguration(VpcConfigurationProperty.builder()
                                 .resourceConfigurationArns(List.of("resourceConfigurationArns"))
                                 .build())
                         .build())
                 .build())
         .description("description")
         .displayName("displayName")
         .farmId("farmId")
         .hostConfiguration(HostConfigurationProperty.builder()
                 .scriptBody("scriptBody")
                 .scriptTimeoutSeconds(123)
                 .build())
         .maxWorkerCount(123)
         .minWorkerCount(123)
         .roleArn("roleArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(PropertyMergeStrategy.OVERRIDE)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnFleetPropsMixin

      protected CfnFleetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnFleetPropsMixin

      protected CfnFleetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnFleetPropsMixin

      @Stability(Stable) public CfnFleetPropsMixin(@NotNull CfnFleetMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Deadline::Fleet.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnFleetPropsMixin

      @Stability(Stable) public CfnFleetPropsMixin(@NotNull CfnFleetMixinProps props)
      Create a mixin to apply properties to AWS::Deadline::Fleet.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) @NotNull public software.constructs.IConstruct applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnFleetMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected PropertyMergeStrategy getStrategy()