Interface ICfnConsumableResourceProps
Properties for defining a CfnConsumableResource.
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnConsumableResourceProps
Syntax (vb)
Public Interface ICfnConsumableResourceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var cfnConsumableResourceProps = new CfnConsumableResourceProps {
ResourceType = "resourceType",
TotalQuantity = 123,
// the properties below are optional
ConsumableResourceName = "consumableResourceName",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Properties
| ConsumableResourceName | The name of the consumable resource. |
| ResourceType | 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. |
| TotalQuantity | The total amount of the consumable resource that is available. |
Properties
ConsumableResourceName
The name of the consumable resource.
string? ConsumableResourceName { get; }
Property Value
Remarks
ResourceType
Indicates whether the resource is available to be re-used after a job completes. Can be one of:.
string ResourceType { get; }
Property Value
Remarks
Tags
The tags that you apply to the consumable resource to help you categorize and organize your resources.
IDictionary<string, string>? Tags { get; }
Property Value
Remarks
Each tag consists of a key and an optional value. For more information, see Tagging your AWS Batch resources .
TotalQuantity
The total amount of the consumable resource that is available.
double TotalQuantity { get; }