We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
aws-native.batch.getConsumableResource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.37.0 published on Wednesday, Oct 15, 2025 by Pulumi
Resource Type definition 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 dictionary
The following arguments are supported:
- Consumable
Resource stringArn - The Amazon Resource Name (ARN) of the consumable resource.
- Consumable
Resource stringArn - The Amazon Resource Name (ARN) of the consumable resource.
- consumable
Resource StringArn - The Amazon Resource Name (ARN) of the consumable resource.
- consumable
Resource stringArn - The Amazon Resource Name (ARN) of the consumable resource.
- consumable_
resource_ strarn - The Amazon Resource Name (ARN) of the consumable resource.
- consumable
Resource StringArn - The Amazon Resource Name (ARN) of the consumable resource.
getConsumableResource Result
The following output properties are available:
- Available
Quantity int - Available Quantity of ConsumableResource.
- Consumable
Resource stringArn - 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.
- Available
Quantity int - Available Quantity of ConsumableResource.
- Consumable
Resource stringArn - 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.
- available
Quantity Integer - Available Quantity of ConsumableResource.
- consumable
Resource StringArn - The Amazon Resource Name (ARN) of the consumable resource.
- created
At Integer - The Unix timestamp (in milliseconds) for when the consumable resource was created.
- in
Use IntegerQuantity - In-use Quantity of ConsumableResource.
- total
Quantity Integer - Total Quantity of ConsumableResource.
- available
Quantity number - Available Quantity of ConsumableResource.
- consumable
Resource stringArn - The Amazon Resource Name (ARN) of the consumable resource.
- created
At number - The Unix timestamp (in milliseconds) for when the consumable resource was created.
- in
Use numberQuantity - In-use Quantity of ConsumableResource.
- total
Quantity 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.
- available
Quantity Number - Available Quantity of ConsumableResource.
- consumable
Resource StringArn - The Amazon Resource Name (ARN) of the consumable resource.
- created
At Number - The Unix timestamp (in milliseconds) for when the consumable resource was created.
- in
Use NumberQuantity - In-use Quantity of ConsumableResource.
- total
Quantity 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.37.0 published on Wednesday, Oct 15, 2025 by Pulumi