interface ConsumableResourceRequirementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Batch.CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbatch#CfnJobDefinitionPropsMixin_ConsumableResourceRequirementProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.batch.CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty |
Python | aws_cdk.cfn_property_mixins.aws_batch.CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_batch » CfnJobDefinitionPropsMixin » ConsumableResourceRequirementProperty |
Information about a consumable resource required to run a job.
Example
// 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/cfn-property-mixins';
const consumableResourceRequirementProperty: batch.CfnJobDefinitionPropsMixin.ConsumableResourceRequirementProperty = {
consumableResource: 'consumableResource',
quantity: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| consumable | string | The name or ARN of the consumable resource. |
| quantity? | number | The quantity of the consumable resource that is needed. |
consumableResource?
Type:
string
(optional)
The name or ARN of the consumable resource.
quantity?
Type:
number
(optional)
The quantity of the consumable resource that is needed.

.NET
Go
Java
Python
TypeScript