Class CfnFleetPropsMixin
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides information about the GPU accelerators used for jobs processed by a fleet.static interfaceDefines the maximum and minimum number of GPU accelerators required for a worker instance..static interfaceDescribes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.static interfaceDefines the maximum and minimum amount of memory, in MiB, to use for the accelerator.static final classA fluent builder forCfnFleetPropsMixin.static interfaceThe configuration details for a customer managed fleet.static interfaceThe worker capabilities for a customer managed workflow.static interfaceSpecifies the EBS volume.static interfaceThe fleet amount and attribute capabilities.static interfaceDefines the fleet's capability name, minimum, and maximum.static interfaceThe amounts and attributes of fleets.static interfaceFleet configuration details.static interfaceProvides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.static interfaceThe range of memory in MiB.static interfaceThe configuration details for a service managed EC2 fleet.static interfaceThe Amazon EC2 instance capabilities.static interfaceThe details of the Amazon EC2 instance market options for a service managed fleet.static interfaceThe allowable range of vCPU processing power for the fleet.static interfaceThe configuration options for a service managed fleet's VPC.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.mixins.preview.core.IMixin
IMixin.Jsii$Default, IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Deadline::Fleet.CfnFleetPropsMixin(CfnFleetMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Deadline::Fleet.protectedCfnFleetPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnFleetPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.constructs.IConstructapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnFleetMixinPropsgetProps()protected PropertyMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::Deadline::Fleet.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnFleetPropsMixin
Create a mixin to apply properties toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-