CreateFleetRequest
¶
Source code in docs_src/capo_deadline/types/create_fleet_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
The unique token which the server uses to recognize retries of the same request.
configuration
instance-attribute
¶
configuration: FleetConfiguration
The configuration settings for the fleet. Customer managed fleets are self-managed. Service managed Amazon EC2 fleets are managed by Deadline Cloud.
description
instance-attribute
¶
description: Description
The description of the fleet.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
display_name
instance-attribute
¶
display_name: ResourceName
The display name of the fleet.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
host_configuration
instance-attribute
¶
host_configuration: NotRequired[HostConfiguration]
Provides a script that runs as a worker is starting up that you can use to provide additional configuration for workers in your fleet.
max_worker_count
instance-attribute
¶
max_worker_count: MinZeroMaxInteger
The maximum number of workers for the fleet.
Deadline Cloud limits the number of workers to less than or equal to the fleet's maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to CreateWorker before the field updates, you might exceed your fleet's maximum worker count. For example, if your maxWorkerCount is 10 and you currently have 9 workers, making two quick CreateWorker calls might successfully create 2 workers instead of 1, resulting in 11 total workers.
min_worker_count
instance-attribute
¶
min_worker_count: MinZeroMaxInteger
The minimum number of workers for the fleet.
role_arn
instance-attribute
¶
role_arn: IamRoleArn
The IAM role ARN for the role that the fleet's workers will use.