Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.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 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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-fairsharepolicy

Type union: either IResolvable or CfnSchedulingPolicy.IFairsharePolicyProperty

Name

The name of the fair-share scheduling policy.

string? Name { get; }
Property Value

string

Remarks

It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-name

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

IDictionary<string, 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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-schedulingpolicy.html#cfn-batch-schedulingpolicy-tags

Back to top Generated by DocFX