CfnConsumableResourceMixinProps

class aws_cdk.mixins_preview.aws_batch.mixins.CfnConsumableResourceMixinProps(*, consumable_resource_name=None, resource_type=None, tags=None, total_quantity=None)

Bases: object

Properties 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_REPLENISHABLE

  • tags (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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html#cfn-batch-consumableresource-consumableresourcename

resource_type

.

  • REPLENISHABLE

  • NON_REPLENISHABLE

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html#cfn-batch-consumableresource-resourcetype

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html#cfn-batch-consumableresource-tags

total_quantity

The total amount of the consumable resource that is available.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-consumableresource.html#cfn-batch-consumableresource-totalquantity