Interface ICfnQuotaShareProps
Properties for defining a CfnQuotaShare.
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnQuotaShareProps
Syntax (vb)
Public Interface ICfnQuotaShareProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-quotashare.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var cfnQuotaShareProps = new CfnQuotaShareProps {
CapacityLimits = new [] { new QuotaShareCapacityLimitProperty {
CapacityUnit = "capacityUnit",
MaxCapacity = 123
} },
JobQueue = "jobQueue",
PreemptionConfiguration = new QuotaSharePreemptionConfigurationProperty {
InSharePreemption = "inSharePreemption"
},
QuotaShareName = "quotaShareName",
ResourceSharingConfiguration = new QuotaShareResourceSharingConfigurationProperty {
Strategy = "strategy",
// the properties below are optional
BorrowLimit = 123
},
// the properties below are optional
State = "state",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Properties
| CapacityLimits | A list that specifies the quantity and type of compute capacity allocated to the quota share. |
| JobQueue | The AWS Batch job queue associated with the quota share. |
| PreemptionConfiguration | Properties for defining a |
| QuotaShareName | The name of the quota share. |
| ResourceSharingConfiguration | Properties for defining a |
| State | The state of the quota share. |
| Tags | The tags that you apply to the quota share to help you categorize and organize your resources. |
Properties
CapacityLimits
A list that specifies the quantity and type of compute capacity allocated to the quota share.
object CapacityLimits { get; }
Property Value
Remarks
JobQueue
The AWS Batch job queue associated with the quota share.
string JobQueue { get; }
Property Value
Remarks
This can be the job queue name or ARN. A job queue must be in the VALID state before you can associate it with a quota share.
PreemptionConfiguration
Properties for defining a CfnQuotaShare.
object PreemptionConfiguration { get; }
Property Value
Remarks
QuotaShareName
The name of the quota share.
string QuotaShareName { get; }
Property Value
Remarks
It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
ResourceSharingConfiguration
Properties for defining a CfnQuotaShare.
object ResourceSharingConfiguration { get; }
Property Value
Remarks
State
The state of the quota share.
string? State { get; }
Property Value
Remarks
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.
Tags
The tags that you apply to the quota share to help you categorize and organize your resources.
IDictionary<string, string>? Tags { get; }
Property Value
Remarks
Each tag consists of a key and an optional value.