Interface ICfnSchedulingPolicyProps
Properties for defining a CfnSchedulingPolicy.
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSchedulingPolicyProps
Syntax (vb)
Public Interface ICfnSchedulingPolicyProps
Remarks
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 cfnSchedulingPolicyProps = new CfnSchedulingPolicyProps {
FairsharePolicy = new FairsharePolicyProperty {
ComputeReservation = 123,
ShareDecaySeconds = 123,
ShareDistribution = new [] { new ShareAttributesProperty {
ShareIdentifier = "shareIdentifier",
WeightFactor = 123
} }
},
Name = "name",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Properties
| FairsharePolicy | The fair-share scheduling policy details. |
| Name | The name of the fair-share scheduling policy. |
| Tags | The tags that you apply to the scheduling policy to help you categorize and organize your resources. |
Properties
FairsharePolicy
The fair-share scheduling policy details.
object? FairsharePolicy { get; }
Property Value
Remarks
Name
The name of the fair-share scheduling policy.
string? Name { get; }
Property Value
Remarks
It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
Tags
The tags that you apply to the scheduling policy 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. For more information, see Tagging AWS Resources in AWS General Reference .
These tags can be updated or removed using the TagResource and UntagResource API operations.