Skip to content

NodeRangeProperty

Source code in docs_src/capo_batch/types/node_range_property.py
class NodeRangeProperty(TypedDict, closed=True):
    target_nodes: NotRequired["capo_batch.types.string.String"]
    """<p>The range of nodes, using node index values. A range of <code>0:3</code> indicates nodes with index values of <code>0</code> through <code>3</code>. If the starting range value is omitted (<code>:n</code>), then <code>0</code> is used to start the range. If the ending range value is omitted (<code>n:</code>), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (<code>0:n</code>). You can nest node ranges (for example, <code>0:10</code> and <code>4:5</code>). In this case, the <code>4:5</code> range properties override the <code>0:10</code> properties.</p>"""
    container: NotRequired["capo_batch.types.container_properties.ContainerProperties"]
    """<p>The container details for the node range.</p>"""
    instance_types: NotRequired["capo_batch.types.string_list.StringList"]
    """<p>The instance types of the underlying host infrastructure of a multi-node parallel job.</p> <note> <p>This parameter isn't applicable to jobs that are running on Fargate resources.</p> <p>In addition, this list object is currently limited to one element.</p> </note>"""
    ecs_properties: NotRequired["capo_batch.types.ecs_properties.EcsProperties"]
    """<p>This is an object that represents the properties of the node range for a multi-node parallel job.</p>"""
    eks_properties: NotRequired["capo_batch.types.eks_properties.EksProperties"]
    """<p>This is an object that represents the properties of the node range for a multi-node parallel job.</p>"""
    consumable_resource_properties: NotRequired[
        "capo_batch.types.consumable_resource_properties.ConsumableResourceProperties"
    ]
    """<p>Contains a list of consumable resources required by a job.</p>"""

consumable_resource_properties instance-attribute

consumable_resource_properties: NotRequired[ConsumableResourceProperties]

Contains a list of consumable resources required by a job.

container instance-attribute

container: NotRequired[ContainerProperties]

The container details for the node range.

ecs_properties instance-attribute

ecs_properties: NotRequired[EcsProperties]

This is an object that represents the properties of the node range for a multi-node parallel job.

eks_properties instance-attribute

eks_properties: NotRequired[EksProperties]

This is an object that represents the properties of the node range for a multi-node parallel job.

instance_types instance-attribute

instance_types: NotRequired[StringList]

The instance types of the underlying host infrastructure of a multi-node parallel job.

This parameter isn't applicable to jobs that are running on Fargate resources.

In addition, this list object is currently limited to one element.

target_nodes instance-attribute

target_nodes: NotRequired[String]

The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of 0 through 3. If the starting range value is omitted (:n), then 0 is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example, 0:10 and 4:5). In this case, the 4:5 range properties override the 0:10 properties.