We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.batch.getConsumableResource
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Resource Type schema for AWS::Batch::ConsumableResource
Using getConsumableResource
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConsumableResource(args: GetConsumableResourceArgs, opts?: InvokeOptions): Promise<GetConsumableResourceResult>
function getConsumableResourceOutput(args: GetConsumableResourceOutputArgs, opts?: InvokeOptions): Output<GetConsumableResourceResult>def get_consumable_resource(consumable_resource_arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetConsumableResourceResult
def get_consumable_resource_output(consumable_resource_arn: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetConsumableResourceResult]func LookupConsumableResource(ctx *Context, args *LookupConsumableResourceArgs, opts ...InvokeOption) (*LookupConsumableResourceResult, error)
func LookupConsumableResourceOutput(ctx *Context, args *LookupConsumableResourceOutputArgs, opts ...InvokeOption) LookupConsumableResourceResultOutput> Note: This function is named LookupConsumableResource in the Go SDK.
public static class GetConsumableResource 
{
    public static Task<GetConsumableResourceResult> InvokeAsync(GetConsumableResourceArgs args, InvokeOptions? opts = null)
    public static Output<GetConsumableResourceResult> Invoke(GetConsumableResourceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConsumableResourceResult> getConsumableResource(GetConsumableResourceArgs args, InvokeOptions options)
public static Output<GetConsumableResourceResult> getConsumableResource(GetConsumableResourceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:batch:getConsumableResource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConsumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- ConsumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- consumableResource StringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- consumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- consumable_resource_ strarn 
- The Amazon Resource Name (ARN) of the consumable resource.
- consumableResource StringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
getConsumableResource Result
The following output properties are available:
- AvailableQuantity int
- Available Quantity of ConsumableResource.
- ConsumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- CreatedAt int
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- InUse intQuantity 
- In-use Quantity of ConsumableResource.
- TotalQuantity int
- Total Quantity of ConsumableResource.
- AvailableQuantity int
- Available Quantity of ConsumableResource.
- ConsumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- CreatedAt int
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- InUse intQuantity 
- In-use Quantity of ConsumableResource.
- TotalQuantity int
- Total Quantity of ConsumableResource.
- availableQuantity Integer
- Available Quantity of ConsumableResource.
- consumableResource StringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- createdAt Integer
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- inUse IntegerQuantity 
- In-use Quantity of ConsumableResource.
- totalQuantity Integer
- Total Quantity of ConsumableResource.
- availableQuantity number
- Available Quantity of ConsumableResource.
- consumableResource stringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- createdAt number
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- inUse numberQuantity 
- In-use Quantity of ConsumableResource.
- totalQuantity number
- Total Quantity of ConsumableResource.
- available_quantity int
- Available Quantity of ConsumableResource.
- consumable_resource_ strarn 
- The Amazon Resource Name (ARN) of the consumable resource.
- created_at int
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- in_use_ intquantity 
- In-use Quantity of ConsumableResource.
- total_quantity int
- Total Quantity of ConsumableResource.
- availableQuantity Number
- Available Quantity of ConsumableResource.
- consumableResource StringArn 
- The Amazon Resource Name (ARN) of the consumable resource.
- createdAt Number
- The Unix timestamp (in milliseconds) for when the consumable resource was created.
- inUse NumberQuantity 
- In-use Quantity of ConsumableResource.
- totalQuantity Number
- Total Quantity of ConsumableResource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi