Skip to content

CreateConsumableResourceRequest

Source code in docs_src/capo_batch/types/create_consumable_resource_request.py
class CreateConsumableResourceRequest(TypedDict, closed=True):
    consumable_resource_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the consumable resource. Must be unique.</p>"""
    total_quantity: NotRequired["capo_batch.types.long.Long"]
    """<p>The total amount of the consumable resource that is available. Must be non-negative.</p>"""
    resource_type: NotRequired["capo_batch.types.string.String"]
    """<p>Indicates whether the resource is available to be re-used after a job completes. Can be one of: </p> <ul> <li> <p> <code>REPLENISHABLE</code> (default)</p> </li> <li> <p> <code>NON_REPLENISHABLE</code> </p> </li> </ul>"""
    tags: NotRequired["capo_batch.types.tagris_tags_map.TagrisTagsMap"]
    """<p>The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html">Tagging your Batch resources</a>.</p>"""

consumable_resource_name instance-attribute

consumable_resource_name: NotRequired[String]

The name of the consumable resource. Must be unique.

resource_type instance-attribute

resource_type: NotRequired[String]

Indicates whether the resource is available to be re-used after a job completes. Can be one of:

  • REPLENISHABLE (default)

  • NON_REPLENISHABLE

tags instance-attribute

tags: NotRequired[TagrisTagsMap]

The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.

total_quantity instance-attribute

total_quantity: NotRequired[Long]

The total amount of the consumable resource that is available. Must be non-negative.