1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. batch
  5. QuotaShare

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.59.0
published on Monday, Mar 30, 2026 by Pulumi
 logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.59.0
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:

    CapacityLimits List<Pulumi.AwsNative.Batch.Inputs.QuotaShareCapacityLimit>
    The capacity limits for the quota share.
    JobQueue string
    The Amazon Resource Name (ARN) or name of the job queue.
    PreemptionConfiguration Pulumi.AwsNative.Batch.Inputs.QuotaSharePreemptionConfiguration
    The preemption configuration for the quota share.
    ResourceSharingConfiguration Pulumi.AwsNative.Batch.Inputs.QuotaShareResourceSharingConfiguration
    The resource sharing configuration for the quota share.
    QuotaShareName string
    The name of the quota share.
    State Pulumi.AwsNative.Batch.QuotaShareState
    The state of the quota share.
    Tags Dictionary<string, string>
    A key-value pair to associate with a resource.
    CapacityLimits []QuotaShareCapacityLimitArgs
    The capacity limits for the quota share.
    JobQueue string
    The Amazon Resource Name (ARN) or name of the job queue.
    PreemptionConfiguration QuotaSharePreemptionConfigurationArgs
    The preemption configuration for the quota share.
    ResourceSharingConfiguration QuotaShareResourceSharingConfigurationArgs
    The resource sharing configuration for the quota share.
    QuotaShareName string
    The name of the quota share.
    State QuotaShareStateEnum
    The state of the quota share.
    Tags map[string]string
    A key-value pair to associate with a resource.
    capacityLimits List<QuotaShareCapacityLimit>
    The capacity limits for the quota share.
    jobQueue String
    The Amazon Resource Name (ARN) or name of the job queue.
    preemptionConfiguration QuotaSharePreemptionConfiguration
    The preemption configuration for the quota share.
    resourceSharingConfiguration QuotaShareResourceSharingConfiguration
    The resource sharing configuration for the quota share.
    quotaShareName String
    The name of the quota share.
    state QuotaShareState
    The state of the quota share.
    tags Map<String,String>
    A key-value pair to associate with a resource.
    capacityLimits QuotaShareCapacityLimit[]
    The capacity limits for the quota share.
    jobQueue string
    The Amazon Resource Name (ARN) or name of the job queue.
    preemptionConfiguration QuotaSharePreemptionConfiguration
    The preemption configuration for the quota share.
    resourceSharingConfiguration QuotaShareResourceSharingConfiguration
    The resource sharing configuration for the quota share.
    quotaShareName string
    The name of the quota share.
    state QuotaShareState
    The state of the quota share.
    tags {[key: string]: string}
    A key-value pair to associate with a resource.
    capacity_limits Sequence[QuotaShareCapacityLimitArgs]
    The capacity limits for the quota share.
    job_queue str
    The Amazon Resource Name (ARN) or name of the job queue.
    preemption_configuration QuotaSharePreemptionConfigurationArgs
    The preemption configuration for the quota share.
    resource_sharing_configuration QuotaShareResourceSharingConfigurationArgs
    The resource sharing configuration for the quota share.
    quota_share_name str
    The name of the quota share.
    state QuotaShareState
    The state of the quota share.
    tags Mapping[str, str]
    A key-value pair to associate with a resource.
    capacityLimits List<Property Map>
    The capacity limits for the quota share.
    jobQueue String
    The Amazon Resource Name (ARN) or name of the job queue.
    preemptionConfiguration Property Map
    The preemption configuration for the quota share.
    resourceSharingConfiguration Property Map
    The resource sharing configuration for the quota share.
    quotaShareName String
    The name of the quota share.
    state "ENABLED" | "DISABLED"
    The state of the quota share.
    tags 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.
    QuotaShareArn string
    The Amazon Resource Name (ARN) of the quota share.
    Id string
    The provider-assigned unique ID for this managed resource.
    QuotaShareArn string
    The Amazon Resource Name (ARN) of the quota share.
    id String
    The provider-assigned unique ID for this managed resource.
    quotaShareArn String
    The Amazon Resource Name (ARN) of the quota share.
    id string
    The provider-assigned unique ID for this managed resource.
    quotaShareArn string
    The Amazon Resource Name (ARN) of the quota share.
    id str
    The provider-assigned unique ID for this managed resource.
    quota_share_arn str
    The Amazon Resource Name (ARN) of the quota share.
    id String
    The provider-assigned unique ID for this managed resource.
    quotaShareArn String
    The Amazon Resource Name (ARN) of the quota share.

    Supporting Types

    QuotaShareCapacityLimit, QuotaShareCapacityLimitArgs

    CapacityUnit string
    The unit of compute capacity for the capacityLimit.
    MaxCapacity 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
    CapacityUnit string
    The unit of compute capacity for the capacityLimit.
    MaxCapacity 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
    capacityUnit String
    The unit of compute capacity for the capacityLimit.
    maxCapacity 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
    capacityUnit string
    The unit of compute capacity for the capacityLimit.
    maxCapacity 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
    capacityUnit String
    The unit of compute capacity for the capacityLimit.
    maxCapacity 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

    InSharePreemption QuotaSharePreemptionConfigurationInSharePreemption
    Whether preemption is enabled within the quota share.
    inSharePreemption QuotaSharePreemptionConfigurationInSharePreemption
    Whether preemption is enabled within the quota share.
    inSharePreemption QuotaSharePreemptionConfigurationInSharePreemption
    Whether preemption is enabled within the quota share.
    in_share_preemption QuotaSharePreemptionConfigurationInSharePreemption
    Whether preemption is enabled within the quota share.
    inSharePreemption "ENABLED" | "DISABLED"
    Whether preemption is enabled within the quota share.

    QuotaSharePreemptionConfigurationInSharePreemption, QuotaSharePreemptionConfigurationInSharePreemptionArgs

    Enabled
    ENABLED
    Disabled
    DISABLED
    QuotaSharePreemptionConfigurationInSharePreemptionEnabled
    ENABLED
    QuotaSharePreemptionConfigurationInSharePreemptionDisabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    Enabled
    ENABLED
    Disabled
    DISABLED
    ENABLED
    ENABLED
    DISABLED
    DISABLED
    "ENABLED"
    ENABLED
    "DISABLED"
    DISABLED

    QuotaShareResourceSharingConfiguration, QuotaShareResourceSharingConfigurationArgs

    Strategy Pulumi.AwsNative.Batch.QuotaShareResourceSharingConfigurationStrategy
    The resource sharing strategy.
    BorrowLimit int
    The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
    Strategy QuotaShareResourceSharingConfigurationStrategy
    The resource sharing strategy.
    BorrowLimit int
    The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
    strategy QuotaShareResourceSharingConfigurationStrategy
    The resource sharing strategy.
    borrowLimit Integer
    The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
    strategy QuotaShareResourceSharingConfigurationStrategy
    The resource sharing strategy.
    borrowLimit number
    The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.
    strategy QuotaShareResourceSharingConfigurationStrategy
    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.
    borrowLimit Number
    The maximum amount of compute capacity that can be borrowed. Use -1 for unlimited borrowing.

    QuotaShareResourceSharingConfigurationStrategy, QuotaShareResourceSharingConfigurationStrategyArgs

    Reserve
    RESERVE
    Lend
    LEND
    LendAndBorrow
    LEND_AND_BORROW
    QuotaShareResourceSharingConfigurationStrategyReserve
    RESERVE
    QuotaShareResourceSharingConfigurationStrategyLend
    LEND
    QuotaShareResourceSharingConfigurationStrategyLendAndBorrow
    LEND_AND_BORROW
    Reserve
    RESERVE
    Lend
    LEND
    LendAndBorrow
    LEND_AND_BORROW
    Reserve
    RESERVE
    Lend
    LEND
    LendAndBorrow
    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
    QuotaShareStateEnabled
    ENABLED
    QuotaShareStateDisabled
    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
     logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.59.0
    published on Monday, Mar 30, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.