Class CfnFleet
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.deadline.CfnFleet
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-04T00:39:30.385Z")
@Stability(Stable)
public class CfnFleet
extends CfnResource
implements IInspectable, ITaggableV2
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.services.deadline.*; CfnFleet cfnFleet = CfnFleet.Builder.create(this, "MyCfnFleet") .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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The range for the GPU fleet acceleration.static interface
The range for memory, in MiB, to use for the accelerator.static final class
A fluent builder forCfnFleet
.static interface
The details of a customer managed fleet configuration.static interface
The worker capabilities for a customer managed workflow.static interface
Specifies the EBS volume.static interface
The fleet amount and attribute capabilities.static interface
Defines the fleet's capability name, minimum, and maximum.static interface
The amounts and attributes of fleets.static interface
Fleet configuration details.static interface
The range of memory in MiB.static interface
The configuration details for a service managed Amazon EC2 fleet.static interface
The Amazon EC2 instance capabilities.static interface
The details of the Amazon EC2 instance market options for a service managed fleet.static interface
The allowable range of vCPU processing power for the fleet.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnFleet
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFleet
(software.amazon.jsii.JsiiObjectRef objRef) CfnFleet
(software.constructs.Construct scope, String id, CfnFleetProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) assigned to the fleet.The fleet ID.The status of the fleet.The number of workers in the fleet summary.Tag Manager which manages the tags for this resource.The configuration details for the fleet.A description that helps identify what the fleet is used for.The display name of the fleet summary to update.The farm ID.The maximum number of workers specified in the fleet.The minimum number of workers in the fleet.The IAM role that workers in the fleet use when processing jobs.getTags()
The tags to add to your fleet.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setConfiguration
(IResolvable value) The configuration details for the fleet.void
The configuration details for the fleet.void
setDescription
(String value) A description that helps identify what the fleet is used for.void
setDisplayName
(String value) The display name of the fleet summary to update.void
The farm ID.void
setMaxWorkerCount
(Number value) The maximum number of workers specified in the fleet.void
setMinWorkerCount
(Number value) The minimum number of workers in the fleet.void
setRoleArn
(String value) The IAM role that workers in the fleet use when processing jobs.void
The tags to add to your fleet.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFleet
protected CfnFleet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFleet
@Stability(Stable) public CfnFleet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnFleetProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) assigned to the fleet. -
getAttrCapabilities
-
getAttrFleetId
The fleet ID. -
getAttrStatus
The status of the fleet. -
getAttrWorkerCount
The number of workers in the fleet summary. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getConfiguration
The configuration details for the fleet. -
setConfiguration
The configuration details for the fleet. -
setConfiguration
The configuration details for the fleet. -
getDisplayName
The display name of the fleet summary to update. -
setDisplayName
The display name of the fleet summary to update. -
getFarmId
The farm ID. -
setFarmId
The farm ID. -
getMaxWorkerCount
The maximum number of workers specified in the fleet. -
setMaxWorkerCount
The maximum number of workers specified in the fleet. -
getRoleArn
The IAM role that workers in the fleet use when processing jobs. -
setRoleArn
The IAM role that workers in the fleet use when processing jobs. -
getDescription
A description that helps identify what the fleet is used for. -
setDescription
A description that helps identify what the fleet is used for. -
getMinWorkerCount
The minimum number of workers in the fleet. -
setMinWorkerCount
The minimum number of workers in the fleet. -
getTags
The tags to add to your fleet. -
setTags
The tags to add to your fleet.
-