AWS::Batch::ConsumableResourceThe `AWS::Batch::ConsumableResource` resource specifies the parameters for an AWS Batch consumable resource. For more information, see [Resource-aware scheduling](https://docs.aws.amazon.com/batch/latest/userguide/resource-aware-scheduling.html) in the ** .
import { CfnConsumableResource } from 'aws-cdk-lib/aws-batch';Or use the module namespace:
import * as batch from 'aws-cdk-lib/aws-batch';
// batch.CfnConsumableResourceConfiguration passed to the constructor as CfnConsumableResourceProps.
resourceTypeRequiredstringIndicates whether the resource is available to be re-used after a job completes. Can be one of:. - `REPLENISHABLE` - `NON_REPLENISHABLE`
totalQuantityRequirednumberThe total amount of the consumable resource that is available.
consumableResourceNameOptionalstringThe name of the consumable resource.
tagsOptional{ [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) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-batchAWS::Batch::ConsumableResource