CfnConsumableResourceMixinProps
- class aws_cdk.mixins_preview.aws_batch.mixins.CfnConsumableResourceMixinProps(*, consumable_resource_name=None, resource_type=None, tags=None, total_quantity=None)
Bases:
objectProperties for CfnConsumableResourcePropsMixin.
- Parameters:
consumable_resource_name (
Optional[str]) – The name of the consumable resource.resource_type (
Optional[str]) – Indicates whether the resource is available to be re-used after a job completes. Can be one of:. -REPLENISHABLE-NON_REPLENISHABLEtags (
Optional[Mapping[str,str]]) – 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 .total_quantity (
Union[int,float,None]) – The total amount of the consumable resource that is available.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_batch import mixins as batch_mixins cfn_consumable_resource_mixin_props = batch_mixins.CfnConsumableResourceMixinProps( consumable_resource_name="consumableResourceName", resource_type="resourceType", tags={ "tags_key": "tags" }, total_quantity=123 )
Attributes
- consumable_resource_name
The name of the consumable resource.
- resource_type
.
REPLENISHABLENON_REPLENISHABLE
- See:
- Type:
Indicates whether the resource is available to be re-used after a job completes. Can be one of
- 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 AWS Batch resources .
- total_quantity
The total amount of the consumable resource that is available.