Show / Hide Table of Contents

Class CfnServicePropsMixin.ThresholdConfigurationProperty

Defines the failure threshold that the deployment circuit breaker uses to monitor a deployment.

Inheritance
object
CfnServicePropsMixin.ThresholdConfigurationProperty
Implements
CfnServicePropsMixin.IThresholdConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ECS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnServicePropsMixin.ThresholdConfigurationProperty : CfnServicePropsMixin.IThresholdConfigurationProperty
Syntax (vb)
Public Class CfnServicePropsMixin.ThresholdConfigurationProperty Implements CfnServicePropsMixin.IThresholdConfigurationProperty
Remarks

The type and value together determine the number of task failures that are tolerated before the circuit breaker triggers. By default, the threshold configuration uses a type of BOUNDED_PERCENT with a value of 50.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-thresholdconfiguration.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.CfnPropertyMixins.AWS.ECS;

             var thresholdConfigurationProperty = new ThresholdConfigurationProperty {
                 Type = "type",
                 Value = 123
             };

Synopsis

Constructors

ThresholdConfigurationProperty()

Defines the failure threshold that the deployment circuit breaker uses to monitor a deployment.

Properties

Type

Determines how Amazon ECS uses value to calculate the failure threshold.

Value

Specifies the integer that Amazon ECS uses to calculate the failure threshold.

Constructors

ThresholdConfigurationProperty()

Defines the failure threshold that the deployment circuit breaker uses to monitor a deployment.

public ThresholdConfigurationProperty()
Remarks

The type and value together determine the number of task failures that are tolerated before the circuit breaker triggers. By default, the threshold configuration uses a type of BOUNDED_PERCENT with a value of 50.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-thresholdconfiguration.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.CfnPropertyMixins.AWS.ECS;

             var thresholdConfigurationProperty = new ThresholdConfigurationProperty {
                 Type = "type",
                 Value = 123
             };

Properties

Type

Determines how Amazon ECS uses value to calculate the failure threshold.

public string? Type { get; set; }
Property Value

string

Remarks

For the percentage types (BOUNDED_PERCENT and UNBOUNDED_PERCENT), Amazon ECS multiplies value by the latest service desired count. For COUNT, Amazon ECS uses value directly as the threshold. The default is BOUNDED_PERCENT.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-thresholdconfiguration.html#cfn-ecs-service-thresholdconfiguration-type

Value

Specifies the integer that Amazon ECS uses to calculate the failure threshold.

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

double?

Remarks

When type is COUNT, this value is the failure threshold itself. When type is a percentage type, Amazon ECS multiplies this value by the latest service desired count to produce the failure threshold. The default is 50.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-thresholdconfiguration.html#cfn-ecs-service-thresholdconfiguration-value

Implements

CfnServicePropsMixin.IThresholdConfigurationProperty
Back to top Generated by DocFX