We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 30, 2026 by Pulumi
Resource Type definition for AWS::Batch::QuotaShare
Create QuotaShare Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QuotaShare(name: string, args: QuotaShareArgs, opts?: CustomResourceOptions);@overload
def QuotaShare(resource_name: str,
args: QuotaShareArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QuotaShare(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_limits: Optional[Sequence[QuotaShareCapacityLimitArgs]] = None,
job_queue: Optional[str] = None,
preemption_configuration: Optional[QuotaSharePreemptionConfigurationArgs] = None,
resource_sharing_configuration: Optional[QuotaShareResourceSharingConfigurationArgs] = None,
quota_share_name: Optional[str] = None,
state: Optional[QuotaShareState] = None,
tags: Optional[Mapping[str, str]] = None)func NewQuotaShare(ctx *Context, name string, args QuotaShareArgs, opts ...ResourceOption) (*QuotaShare, error)public QuotaShare(string name, QuotaShareArgs args, CustomResourceOptions? opts = null)
public QuotaShare(String name, QuotaShareArgs args)
public QuotaShare(String name, QuotaShareArgs args, CustomResourceOptions options)
type: aws-native:batch:QuotaShare
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 QuotaShareArgs
- 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 QuotaShareArgs
- 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 QuotaShareArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QuotaShareArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QuotaShareArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
QuotaShare 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 QuotaShare resource accepts the following input properties:
- Capacity
Limits List<Pulumi.Aws Native. Batch. Inputs. Quota Share Capacity Limit> - The capacity limits for the quota share.
- Job
Queue string - The Amazon Resource Name (ARN) or name of the job queue.
- Preemption
Configuration Pulumi.Aws Native. Batch. Inputs. Quota Share Preemption Configuration - The preemption configuration for the quota share.
- Resource
Sharing Pulumi.Configuration Aws Native. Batch. Inputs. Quota Share Resource Sharing Configuration - The resource sharing configuration for the quota share.
- string
- The name of the quota share.
- State
Pulumi.
Aws Native. Batch. Quota Share State - The state of the quota share.
- Dictionary<string, string>
- A key-value pair to associate with a resource.
- Capacity
Limits []QuotaShare Capacity Limit Args - The capacity limits for the quota share.
- Job
Queue string - The Amazon Resource Name (ARN) or name of the job queue.
- Preemption
Configuration QuotaShare Preemption Configuration Args - The preemption configuration for the quota share.
- Resource
Sharing QuotaConfiguration Share Resource Sharing Configuration Args - The resource sharing configuration for the quota share.
- string
- The name of the quota share.
- State
Quota
Share State Enum - The state of the quota share.
- map[string]string
- A key-value pair to associate with a resource.
- capacity
Limits List<QuotaShare Capacity Limit> - The capacity limits for the quota share.
- job
Queue String - The Amazon Resource Name (ARN) or name of the job queue.
- preemption
Configuration QuotaShare Preemption Configuration - The preemption configuration for the quota share.
- resource
Sharing QuotaConfiguration Share Resource Sharing Configuration - The resource sharing configuration for the quota share.
- String
- The name of the quota share.
- state
Quota
Share State - The state of the quota share.
- Map<String,String>
- A key-value pair to associate with a resource.
- capacity
Limits QuotaShare Capacity Limit[] - The capacity limits for the quota share.
- job
Queue string - The Amazon Resource Name (ARN) or name of the job queue.
- preemption
Configuration QuotaShare Preemption Configuration - The preemption configuration for the quota share.
- resource
Sharing QuotaConfiguration Share Resource Sharing Configuration - The resource sharing configuration for the quota share.
- string
- The name of the quota share.
- state
Quota
Share State - The state of the quota share.
- {[key: string]: string}
- A key-value pair to associate with a resource.
- capacity_
limits Sequence[QuotaShare Capacity Limit Args] - The capacity limits for the quota share.
- job_
queue str - The Amazon Resource Name (ARN) or name of the job queue.
- preemption_
configuration QuotaShare Preemption Configuration Args - The preemption configuration for the quota share.
- resource_
sharing_ Quotaconfiguration Share Resource Sharing Configuration Args - The resource sharing configuration for the quota share.
- str
- The name of the quota share.
- state
Quota
Share State - The state of the quota share.
- Mapping[str, str]
- A key-value pair to associate with a resource.
- capacity
Limits List<Property Map> - The capacity limits for the quota share.
- job
Queue String - The Amazon Resource Name (ARN) or name of the job queue.
- preemption
Configuration Property Map - The preemption configuration for the quota share.
- resource
Sharing Property MapConfiguration - The resource sharing configuration for the quota share.
- String
- The name of the quota share.
- state "ENABLED" | "DISABLED"
- The state of the quota share.
- Map<String>
- A key-value pair to associate with a resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the QuotaShare resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the quota share.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the quota share.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The Amazon Resource Name (ARN) of the quota share.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The Amazon Resource Name (ARN) of the quota share.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The Amazon Resource Name (ARN) of the quota share.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The Amazon Resource Name (ARN) of the quota share.
Supporting Types
QuotaShareCapacityLimit, QuotaShareCapacityLimitArgs
- Capacity
Unit string - The unit of compute capacity for the capacityLimit.
- Max
Capacity int - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
- Capacity
Unit string - The unit of compute capacity for the capacityLimit.
- Max
Capacity int - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
- capacity
Unit String - The unit of compute capacity for the capacityLimit.
- max
Capacity Integer - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
- capacity
Unit string - The unit of compute capacity for the capacityLimit.
- max
Capacity number - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
- capacity_
unit str - The unit of compute capacity for the capacityLimit.
- max_
capacity int - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
- capacity
Unit String - The unit of compute capacity for the capacityLimit.
- max
Capacity Number - The maximum capacity available for the quota share. This value represents the maximum amount of resources that can be allocated to jobs in the quota share without borrowing
QuotaSharePreemptionConfiguration, QuotaSharePreemptionConfigurationArgs
-
Pulumi.
Aws Native. Batch. Quota Share Preemption Configuration In Share Preemption - Whether preemption is enabled within the quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Whether preemption is enabled within the quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Whether preemption is enabled within the quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Whether preemption is enabled within the quota share.
-
Quota
Share Preemption Configuration In Share Preemption - Whether preemption is enabled within the quota share.
- "ENABLED" | "DISABLED"
- Whether preemption is enabled within the quota share.
QuotaSharePreemptionConfigurationInSharePreemption, QuotaSharePreemptionConfigurationInSharePreemptionArgs
- Enabled
ENABLED- Disabled
DISABLED
- Quota
Share Preemption Configuration In Share Preemption Enabled ENABLED- Quota
Share Preemption Configuration In Share Preemption Disabled DISABLED
- Enabled
ENABLED- Disabled
DISABLED
- Enabled
ENABLED- Disabled
DISABLED
- ENABLED
ENABLED- DISABLED
DISABLED
- "ENABLED"
ENABLED- "DISABLED"
DISABLED
QuotaShareResourceSharingConfiguration, QuotaShareResourceSharingConfigurationArgs
- Strategy
Pulumi.
Aws Native. Batch. Quota Share Resource Sharing Configuration Strategy - The resource sharing strategy.
- Borrow
Limit int - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
- Strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy.
- Borrow
Limit int - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy.
- borrow
Limit Integer - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy.
- borrow
Limit number - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
- strategy
Quota
Share Resource Sharing Configuration Strategy - The resource sharing strategy.
- borrow_
limit int - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
- strategy "RESERVE" | "LEND" | "LEND_AND_BORROW"
- The resource sharing strategy.
- borrow
Limit Number - The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
QuotaShareResourceSharingConfigurationStrategy, QuotaShareResourceSharingConfigurationStrategyArgs
- Reserve
RESERVE- Lend
LEND- Lend
And Borrow LEND_AND_BORROW
- Quota
Share Resource Sharing Configuration Strategy Reserve RESERVE- Quota
Share Resource Sharing Configuration Strategy Lend LEND- Quota
Share Resource Sharing Configuration Strategy Lend And Borrow LEND_AND_BORROW
- Reserve
RESERVE- Lend
LEND- Lend
And Borrow LEND_AND_BORROW
- Reserve
RESERVE- Lend
LEND- Lend
And Borrow LEND_AND_BORROW
- RESERVE
RESERVE- LEND
LEND- LEND_AND_BORROW
LEND_AND_BORROW
- "RESERVE"
RESERVE- "LEND"
LEND- "LEND_AND_BORROW"
LEND_AND_BORROW
QuotaShareState, QuotaShareStateArgs
- Enabled
ENABLED- Disabled
DISABLED
- Quota
Share State Enabled ENABLED- Quota
Share State Disabled DISABLED
- Enabled
ENABLED- Disabled
DISABLED
- Enabled
ENABLED- Disabled
DISABLED
- ENABLED
ENABLED- DISABLED
DISABLED
- "ENABLED"
ENABLED- "DISABLED"
DISABLED
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, Mar 30, 2026 by Pulumi
