Class CfnSchedulingPolicyMixinProps
Properties for CfnSchedulingPolicyPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Batch.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSchedulingPolicyMixinProps : ICfnSchedulingPolicyMixinProps
Syntax (vb)
Public Class CfnSchedulingPolicyMixinProps Implements ICfnSchedulingPolicyMixinProps
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.Mixins.Preview.AWS.Batch.Mixins;
var cfnSchedulingPolicyMixinProps = new CfnSchedulingPolicyMixinProps {
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
| CfnSchedulingPolicyMixinProps() | Properties for CfnSchedulingPolicyPropsMixin. |
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. |
Constructors
CfnSchedulingPolicyMixinProps()
Properties for CfnSchedulingPolicyPropsMixin.
public CfnSchedulingPolicyMixinProps()
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.Mixins.Preview.AWS.Batch.Mixins;
var cfnSchedulingPolicyMixinProps = new CfnSchedulingPolicyMixinProps {
FairsharePolicy = new FairsharePolicyProperty {
ComputeReservation = 123,
ShareDecaySeconds = 123,
ShareDistribution = new [] { new ShareAttributesProperty {
ShareIdentifier = "shareIdentifier",
WeightFactor = 123
} }
},
Name = "name",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Properties
FairsharePolicy
The fair-share scheduling policy details.
public object? FairsharePolicy { get; set; }
Property Value
Remarks
Name
The name of the fair-share scheduling policy.
public string? Name { get; set; }
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.
public IDictionary<string, string>? Tags { get; set; }
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.