Class CfnSchedulingPolicyProps
Properties for defining a CfnSchedulingPolicy
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Batch
Assembly: Amazon.CDK.AWS.Batch.dll
Syntax (csharp)
public class CfnSchedulingPolicyProps : Object, ICfnSchedulingPolicyProps
Syntax (vb)
Public Class CfnSchedulingPolicyProps
Inherits Object
Implements 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
Constructors
CfnSchedulingPolicyProps() |
Properties
FairsharePolicy | The fair share policy of the scheduling policy. |
Name | The name of the scheduling policy. |
Tags | The tags that you apply to the scheduling policy to help you categorize and organize your resources. |
Constructors
CfnSchedulingPolicyProps()
public CfnSchedulingPolicyProps()
Properties
FairsharePolicy
The fair share policy of the scheduling policy.
public object FairsharePolicy { get; set; }
Property Value
System.Object
Remarks
Name
The name of the scheduling policy.
public string Name { get; set; }
Property Value
System.String
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.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
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.