Show / Hide Table of Contents

Class CfnSchedulingPolicyMixinProps

Properties for CfnSchedulingPolicyPropsMixin.

Inheritance
object
CfnSchedulingPolicyMixinProps
Implements
ICfnSchedulingPolicyMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

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.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

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.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

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 CfnSchedulingPolicyPropsMixin.IFairsharePolicyProperty

Name

The name of the fair-share scheduling policy.

public string? Name { get; set; }
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.

public IDictionary<string, string>? Tags { get; set; }
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

Implements

ICfnSchedulingPolicyMixinProps
Back to top Generated by DocFX