Show / Hide Table of Contents

Class CfnRule.CapacityProviderStrategyItemProperty

The details of a capacity provider strategy.

Inheritance
object
CfnRule.CapacityProviderStrategyItemProperty
Implements
CfnRule.ICapacityProviderStrategyItemProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRule.CapacityProviderStrategyItemProperty : CfnRule.ICapacityProviderStrategyItemProperty
Syntax (vb)
Public Class CfnRule.CapacityProviderStrategyItemProperty Implements CfnRule.ICapacityProviderStrategyItemProperty
Remarks

To learn more, see CapacityProviderStrategyItem in the Amazon ECS API Reference.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.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.Events;

             var capacityProviderStrategyItemProperty = new CapacityProviderStrategyItemProperty {
                 CapacityProvider = "capacityProvider",

                 // the properties below are optional
                 Base = 123,
                 Weight = 123
             };

Synopsis

Constructors

CapacityProviderStrategyItemProperty()

The details of a capacity provider strategy.

Properties

Base

The base value designates how many tasks, at a minimum, to run on the specified capacity provider.

CapacityProvider

The short name of the capacity provider.

Weight

The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.

Constructors

CapacityProviderStrategyItemProperty()

The details of a capacity provider strategy.

public CapacityProviderStrategyItemProperty()
Remarks

To learn more, see CapacityProviderStrategyItem in the Amazon ECS API Reference.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.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.Events;

             var capacityProviderStrategyItemProperty = new CapacityProviderStrategyItemProperty {
                 CapacityProvider = "capacityProvider",

                 // the properties below are optional
                 Base = 123,
                 Weight = 123
             };

Properties

Base

The base value designates how many tasks, at a minimum, to run on the specified capacity provider.

public double? Base { get; set; }
Property Value

double?

Remarks

Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-base

CapacityProvider

The short name of the capacity provider.

public string CapacityProvider { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-capacityprovider

Weight

The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.

public double? Weight { get; set; }
Property Value

double?

Remarks

The weight value is taken into consideration after the base value, if defined, is satisfied.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-capacityproviderstrategyitem.html#cfn-events-rule-capacityproviderstrategyitem-weight

Implements

CfnRule.ICapacityProviderStrategyItemProperty
Back to top Generated by DocFX