Skip to contents

Creates an Batch consumable resource.

See https://www.paws-r-sdk.com/docs/batch_create_consumable_resource/ for full documentation.

Usage

batch_create_consumable_resource(
  consumableResourceName,
  totalQuantity = NULL,
  resourceType = NULL,
  tags = NULL
)

Arguments

consumableResourceName

[required] The name of the consumable resource. Must be unique.

totalQuantity

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

resourceType

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

  • REPLENISHABLE (default)

  • NON_REPLENISHABLE

tags

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.