We recommend new projects start with resources from the AWS provider.
aws-native.batch.ConsumableResource
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type schema for AWS::Batch::ConsumableResource
Create ConsumableResource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConsumableResource(name: string, args: ConsumableResourceArgs, opts?: CustomResourceOptions);@overload
def ConsumableResource(resource_name: str,
                       args: ConsumableResourceArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def ConsumableResource(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       resource_type: Optional[ConsumableResourceResourceType] = None,
                       total_quantity: Optional[int] = None,
                       consumable_resource_name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None)func NewConsumableResource(ctx *Context, name string, args ConsumableResourceArgs, opts ...ResourceOption) (*ConsumableResource, error)public ConsumableResource(string name, ConsumableResourceArgs args, CustomResourceOptions? opts = null)
public ConsumableResource(String name, ConsumableResourceArgs args)
public ConsumableResource(String name, ConsumableResourceArgs args, CustomResourceOptions options)
type: aws-native:batch:ConsumableResource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ConsumableResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConsumableResourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConsumableResourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsumableResourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConsumableResourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConsumableResource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConsumableResource resource accepts the following input properties:
- ResourceType Pulumi.Aws Native. Batch. Consumable Resource Resource Type 
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- TotalQuantity int
- Total Quantity of ConsumableResource.
- ConsumableResource stringName 
- Name of ConsumableResource.
- Dictionary<string, string>
- A key-value pair to associate with a resource.
- ResourceType ConsumableResource Resource Type 
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- TotalQuantity int
- Total Quantity of ConsumableResource.
- ConsumableResource stringName 
- Name of ConsumableResource.
- map[string]string
- A key-value pair to associate with a resource.
- resourceType ConsumableResource Resource Type 
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- totalQuantity Integer
- Total Quantity of ConsumableResource.
- consumableResource StringName 
- Name of ConsumableResource.
- Map<String,String>
- A key-value pair to associate with a resource.
- resourceType ConsumableResource Resource Type 
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- totalQuantity number
- Total Quantity of ConsumableResource.
- consumableResource stringName 
- Name of ConsumableResource.
- {[key: string]: string}
- A key-value pair to associate with a resource.
- resource_type ConsumableResource Resource Type 
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- total_quantity int
- Total Quantity of ConsumableResource.
- consumable_resource_ strname 
- Name of ConsumableResource.
- Mapping[str, str]
- A key-value pair to associate with a resource.
- resourceType "REPLENISHABLE" | "NON_REPLENISHABLE"
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:- REPLENISHABLE
- NON_REPLENISHABLE
 
- totalQuantity Number
- Total Quantity of ConsumableResource.
- consumableResource StringName 
- Name of ConsumableResource.
- Map<String>
- A key-value pair to associate with a resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsumableResource resource produces the following output properties:
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- InUse intQuantity 
- In-use 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- InUse intQuantity 
- In-use 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.
- id String
- The provider-assigned unique ID for this managed resource.
- inUse IntegerQuantity 
- In-use 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.
- id string
- The provider-assigned unique ID for this managed resource.
- inUse numberQuantity 
- In-use 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.
- id str
- The provider-assigned unique ID for this managed resource.
- in_use_ intquantity 
- In-use 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.
- id String
- The provider-assigned unique ID for this managed resource.
- inUse NumberQuantity 
- In-use Quantity of ConsumableResource.
Supporting Types
ConsumableResourceResourceType, ConsumableResourceResourceTypeArgs        
- Replenishable
- REPLENISHABLE
- NonReplenishable 
- NON_REPLENISHABLE
- ConsumableResource Resource Type Replenishable 
- REPLENISHABLE
- ConsumableResource Resource Type Non Replenishable 
- NON_REPLENISHABLE
- Replenishable
- REPLENISHABLE
- NonReplenishable 
- NON_REPLENISHABLE
- Replenishable
- REPLENISHABLE
- NonReplenishable 
- NON_REPLENISHABLE
- REPLENISHABLE
- REPLENISHABLE
- NON_REPLENISHABLE
- NON_REPLENISHABLE
- "REPLENISHABLE"
- REPLENISHABLE
- "NON_REPLENISHABLE"
- NON_REPLENISHABLE
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.