interface CfnConsumableResourceMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins.CfnConsumableResourceMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbatch/mixins#CfnConsumableResourceMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.batch.mixins.CfnConsumableResourceMixinProps |
Python | aws_cdk.mixins_preview.aws_batch.mixins.CfnConsumableResourceMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_batch » mixins » CfnConsumableResourceMixinProps |
Properties for CfnConsumableResourcePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as batch_mixins } from '@aws-cdk/mixins-preview/aws-batch';
const cfnConsumableResourceMixinProps: batch_mixins.CfnConsumableResourceMixinProps = {
consumableResourceName: 'consumableResourceName',
resourceType: 'resourceType',
tags: {
tagsKey: 'tags',
},
totalQuantity: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| consumable | string | The name of the consumable resource. |
| resource | string | Indicates whether the resource is available to be re-used after a job completes. Can be one of:. |
| tags? | { [string]: string } | The tags that you apply to the consumable resource to help you categorize and organize your resources. |
| total | number | The total amount of the consumable resource that is available. |
consumableResourceName?
Type:
string
(optional)
The name of the consumable resource.
resourceType?
Type:
string
(optional)
Indicates whether the resource is available to be re-used after a job completes. Can be one of:.
REPLENISHABLENON_REPLENISHABLE
tags?
Type:
{ [string]: string }
(optional)
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 .
totalQuantity?
Type:
number
(optional)
The total amount of the consumable resource that is available.

.NET
Go
Java
Python
TypeScript