# CfnConsumableResourceProps

Properties for defining a `CfnConsumableResource`.

Extends: CfnConsumableResourceProps
Used as props by: CfnConsumableResource

- Source: Generated code
- Type last changed: v2.182.0 · 5 Mar 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const cfnConsumableResourceProps: batch.CfnConsumableResourceProps = {
  resourceType: 'resourceType',
  totalQuantity: 123,

  // the properties below are optional
  consumableResourceName: 'consumableResourceName',
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `consumableResourceName`: string — The name of the consumable resource.

- `resourceType`: string (required) — Indicates whether the resource is available to be re-used after a job completes. Can be one of:.

  - `REPLENISHABLE`
  - `NON_REPLENISHABLE`

- `tags`: { [key: string]: string } — 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 AWS Batch resources](https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html) .

- `totalQuantity`: number (required) — The total amount of the consumable resource that is available.
