We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
Creates an AWS Batch quota share. Each quota share operates as a virtual queue with a configured compute capacity, resource sharing strategy, and borrow limits.
Using getQuotaShare
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 getQuotaShare(args: GetQuotaShareArgs, opts?: InvokeOptions): Promise<GetQuotaShareResult>
function getQuotaShareOutput(args: GetQuotaShareOutputArgs, opts?: InvokeOptions): Output<GetQuotaShareResult>def get_quota_share(quota_share_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQuotaShareResult
def get_quota_share_output(quota_share_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQuotaShareResult]func LookupQuotaShare(ctx *Context, args *LookupQuotaShareArgs, opts ...InvokeOption) (*LookupQuotaShareResult, error)
func LookupQuotaShareOutput(ctx *Context, args *LookupQuotaShareOutputArgs, opts ...InvokeOption) LookupQuotaShareResultOutput> Note: This function is named LookupQuotaShare in the Go SDK.
public static class GetQuotaShare
{
public static Task<GetQuotaShareResult> InvokeAsync(GetQuotaShareArgs args, InvokeOptions? opts = null)
public static Output<GetQuotaShareResult> Invoke(GetQuotaShareInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQuotaShareResult> getQuotaShare(GetQuotaShareArgs args, InvokeOptions options)
public static Output<GetQuotaShareResult> getQuotaShare(GetQuotaShareArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:batch:getQuotaShare
arguments:
# arguments dictionaryThe following arguments are supported:
- string
- The Amazon Resource Name (ARN) of the quota share.
- string
- The Amazon Resource Name (ARN) of the quota share.
- String
- The Amazon Resource Name (ARN) of the quota share.
- string
- The Amazon Resource Name (ARN) of the quota share.
- str
- The Amazon Resource Name (ARN) of the quota share.
- String
- The Amazon Resource Name (ARN) of the quota share.
getQuotaShare Result
The following output properties are available:
- Capacity
Limits List<Pulumi.Aws Native. Batch. Outputs. Quota Share Capacity Limit> - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- Preemption
Configuration Pulumi.Aws Native. Batch. Outputs. Quota Share Preemption Configuration - Specifies the preemption behavior for jobs in a quota share.
- string
- The Amazon Resource Name (ARN) of the quota share.
- Resource
Sharing Pulumi.Configuration Aws Native. Batch. Outputs. Quota Share Resource Sharing Configuration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- State
Pulumi.
Aws Native. Batch. Quota Share State - The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - Dictionary<string, string>
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
- Capacity
Limits []QuotaShare Capacity Limit - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- Preemption
Configuration QuotaShare Preemption Configuration - Specifies the preemption behavior for jobs in a quota share.
- string
- The Amazon Resource Name (ARN) of the quota share.
- Resource
Sharing QuotaConfiguration Share Resource Sharing Configuration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- State
Quota
Share State Enum - The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - map[string]string
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
- capacity
Limits List<QuotaShare Capacity Limit> - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- preemption
Configuration QuotaShare Preemption Configuration - Specifies the preemption behavior for jobs in a quota share.
- String
- The Amazon Resource Name (ARN) of the quota share.
- resource
Sharing QuotaConfiguration Share Resource Sharing Configuration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- state
Quota
Share State - The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - Map<String,String>
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
- capacity
Limits QuotaShare Capacity Limit[] - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- preemption
Configuration QuotaShare Preemption Configuration - Specifies the preemption behavior for jobs in a quota share.
- string
- The Amazon Resource Name (ARN) of the quota share.
- resource
Sharing QuotaConfiguration Share Resource Sharing Configuration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- state
Quota
Share State - The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - {[key: string]: string}
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
- capacity_
limits Sequence[QuotaShare Capacity Limit] - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- preemption_
configuration QuotaShare Preemption Configuration - Specifies the preemption behavior for jobs in a quota share.
- str
- The Amazon Resource Name (ARN) of the quota share.
- resource_
sharing_ Quotaconfiguration Share Resource Sharing Configuration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- state
Quota
Share State - The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - Mapping[str, str]
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
- capacity
Limits List<Property Map> - A list that specifies the quantity and type of compute capacity allocated to the quota share.
- preemption
Configuration Property Map - Specifies the preemption behavior for jobs in a quota share.
- String
- The Amazon Resource Name (ARN) of the quota share.
- resource
Sharing Property MapConfiguration - Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
- state "ENABLED" | "DISABLED"
- The state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish. The default state isENABLED. - Map<String>
- The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value.
Supporting Types
QuotaShareCapacityLimit
- Capacity
Unit string - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - Max
Capacity int - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
- Capacity
Unit string - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - Max
Capacity int - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
- capacity
Unit String - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - max
Capacity Integer - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
- capacity
Unit string - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - max
Capacity number - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
- capacity_
unit str - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - max_
capacity int - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
- capacity
Unit String - The unit of compute capacity for the capacityLimit. For example,
ml.m5.large. - max
Capacity Number - The maximum capacity available for the quota share. This value represents the maximum quantity of a resource that can be allocated to jobs in the quota share without borrowing.
QuotaSharePreemptionConfiguration
-
Pulumi.
Aws Native. Batch. Quota Share Preemption Configuration In Share Preemption - Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
- "ENABLED" | "DISABLED"
- Specifies whether jobs within a quota share can be preempted by another, higher priority job in the same quota share.
QuotaSharePreemptionConfigurationInSharePreemption
QuotaShareResourceSharingConfiguration
- Strategy
Pulumi.
Aws Native. Batch. Quota Share Resource Sharing Configuration Strategy - The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - Borrow
Limit int - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
- Strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - Borrow
Limit int - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - borrow
Limit Integer - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - borrow
Limit number - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - borrow_
limit int - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
- strategy "RESERVE" | "LEND" | "LEND_AND_BORROW"
- The resource sharing strategy for the quota share. The
RESERVEstrategy allows a quota share to reserve idle capacity for itself.LENDconfigures the share to lend its idle capacity to another share in need of capacity. TheLEND_AND_BORROWstrategy configures the share to borrow idle capacity from an underutilized share, as well as lend to another share. - borrow
Limit Number - The maximum percentage of additional capacity that the quota share can borrow from other shares.
BorrowLimitcan only be applied to quota shares with a strategy ofLEND_AND_BORROW. This value is expressed as a percentage of the quota share's configured CapacityLimits. TheBorrowLimitis applied uniformly across all capacity units. For example, if theBorrowLimitis 200, the quota share can borrow up to 200% of its configuredmaxCapacityfor each capacity unit. The defaultBorrowLimitis -1, which indicates unlimited borrowing.
QuotaShareResourceSharingConfigurationStrategy
QuotaShareState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
