@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
52 lines (51 loc) • 2.29 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* 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.
*/
export declare function getQuotaShare(args: GetQuotaShareArgs, opts?: pulumi.InvokeOptions): Promise<GetQuotaShareResult>;
export interface GetQuotaShareArgs {
/**
* The Amazon Resource Name (ARN) of the quota share.
*/
quotaShareArn: string;
}
export interface GetQuotaShareResult {
/**
* A list that specifies the quantity and type of compute capacity allocated to the quota share.
*/
readonly capacityLimits?: outputs.batch.QuotaShareCapacityLimit[];
/**
* Specifies the preemption behavior for jobs in a quota share.
*/
readonly preemptionConfiguration?: outputs.batch.QuotaSharePreemptionConfiguration;
/**
* The Amazon Resource Name (ARN) of the quota share.
*/
readonly quotaShareArn?: string;
/**
* Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
*/
readonly resourceSharingConfiguration?: outputs.batch.QuotaShareResourceSharingConfiguration;
/**
* The state of the quota share. If the quota share is `ENABLED`, it is able to accept jobs. If the quota share is `DISABLED`, new jobs won't be accepted but jobs already submitted can finish. The default state is `ENABLED`.
*/
readonly state?: enums.batch.QuotaShareState;
/**
* 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.
*/
readonly tags?: {
[key: string]: string;
};
}
/**
* 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.
*/
export declare function getQuotaShareOutput(args: GetQuotaShareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQuotaShareResult>;
export interface GetQuotaShareOutputArgs {
/**
* The Amazon Resource Name (ARN) of the quota share.
*/
quotaShareArn: pulumi.Input<string>;
}