Show / Hide Table of Contents

Class CfnServiceLevelObjective.RequestBasedSliProperty

This structure contains information about the performance metric that a request-based SLO monitors.

Inheritance
object
CfnServiceLevelObjective.RequestBasedSliProperty
Implements
CfnServiceLevelObjective.IRequestBasedSliProperty
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.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceLevelObjective.RequestBasedSliProperty : CfnServiceLevelObjective.IRequestBasedSliProperty
Syntax (vb)
Public Class CfnServiceLevelObjective.RequestBasedSliProperty Implements CfnServiceLevelObjective.IRequestBasedSliProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.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.ApplicationSignals;

             var requestBasedSliProperty = new RequestBasedSliProperty {
                 RequestBasedSliMetric = new RequestBasedSliMetricProperty {
                     DependencyConfig = new DependencyConfigProperty {
                         DependencyKeyAttributes = new Dictionary<string, string> {
                             { "dependencyKeyAttributesKey", "dependencyKeyAttributes" }
                         },
                         DependencyOperationName = "dependencyOperationName"
                     },
                     KeyAttributes = new Dictionary<string, string> {
                         { "keyAttributesKey", "keyAttributes" }
                     },
                     MetricType = "metricType",
                     MonitoredRequestCountMetric = new MonitoredRequestCountMetricProperty {
                         BadCountMetric = new [] { new MetricDataQueryProperty {
                             Id = "id",

                             // the properties below are optional
                             AccountId = "accountId",
                             Expression = "expression",
                             MetricStat = new MetricStatProperty {
                                 Metric = new MetricProperty {
                                     Dimensions = new [] { new DimensionProperty {
                                         Name = "name",
                                         Value = "value"
                                     } },
                                     MetricName = "metricName",
                                     Namespace = "namespace"
                                 },
                                 Period = 123,
                                 Stat = "stat",

                                 // the properties below are optional
                                 Unit = "unit"
                             },
                             ReturnData = false
                         } },
                         GoodCountMetric = new [] { new MetricDataQueryProperty {
                             Id = "id",

                             // the properties below are optional
                             AccountId = "accountId",
                             Expression = "expression",
                             MetricStat = new MetricStatProperty {
                                 Metric = new MetricProperty {
                                     Dimensions = new [] { new DimensionProperty {
                                         Name = "name",
                                         Value = "value"
                                     } },
                                     MetricName = "metricName",
                                     Namespace = "namespace"
                                 },
                                 Period = 123,
                                 Stat = "stat",

                                 // the properties below are optional
                                 Unit = "unit"
                             },
                             ReturnData = false
                         } }
                     },
                     OperationName = "operationName",
                     TotalRequestCountMetric = new [] { new MetricDataQueryProperty {
                         Id = "id",

                         // the properties below are optional
                         AccountId = "accountId",
                         Expression = "expression",
                         MetricStat = new MetricStatProperty {
                             Metric = new MetricProperty {
                                 Dimensions = new [] { new DimensionProperty {
                                     Name = "name",
                                     Value = "value"
                                 } },
                                 MetricName = "metricName",
                                 Namespace = "namespace"
                             },
                             Period = 123,
                             Stat = "stat",

                             // the properties below are optional
                             Unit = "unit"
                         },
                         ReturnData = false
                     } }
                 },

                 // the properties below are optional
                 ComparisonOperator = "comparisonOperator",
                 MetricThreshold = 123
             };

Synopsis

Constructors

RequestBasedSliProperty()

This structure contains information about the performance metric that a request-based SLO monitors.

Properties

ComparisonOperator

The arithmetic operation used when comparing the specified metric to the threshold.

MetricThreshold

This value is the threshold that the observed metric values of the SLI metric are compared to.

RequestBasedSliMetric

A structure that contains information about the metric that the SLO monitors.

Constructors

RequestBasedSliProperty()

This structure contains information about the performance metric that a request-based SLO monitors.

public RequestBasedSliProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.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.ApplicationSignals;

             var requestBasedSliProperty = new RequestBasedSliProperty {
                 RequestBasedSliMetric = new RequestBasedSliMetricProperty {
                     DependencyConfig = new DependencyConfigProperty {
                         DependencyKeyAttributes = new Dictionary<string, string> {
                             { "dependencyKeyAttributesKey", "dependencyKeyAttributes" }
                         },
                         DependencyOperationName = "dependencyOperationName"
                     },
                     KeyAttributes = new Dictionary<string, string> {
                         { "keyAttributesKey", "keyAttributes" }
                     },
                     MetricType = "metricType",
                     MonitoredRequestCountMetric = new MonitoredRequestCountMetricProperty {
                         BadCountMetric = new [] { new MetricDataQueryProperty {
                             Id = "id",

                             // the properties below are optional
                             AccountId = "accountId",
                             Expression = "expression",
                             MetricStat = new MetricStatProperty {
                                 Metric = new MetricProperty {
                                     Dimensions = new [] { new DimensionProperty {
                                         Name = "name",
                                         Value = "value"
                                     } },
                                     MetricName = "metricName",
                                     Namespace = "namespace"
                                 },
                                 Period = 123,
                                 Stat = "stat",

                                 // the properties below are optional
                                 Unit = "unit"
                             },
                             ReturnData = false
                         } },
                         GoodCountMetric = new [] { new MetricDataQueryProperty {
                             Id = "id",

                             // the properties below are optional
                             AccountId = "accountId",
                             Expression = "expression",
                             MetricStat = new MetricStatProperty {
                                 Metric = new MetricProperty {
                                     Dimensions = new [] { new DimensionProperty {
                                         Name = "name",
                                         Value = "value"
                                     } },
                                     MetricName = "metricName",
                                     Namespace = "namespace"
                                 },
                                 Period = 123,
                                 Stat = "stat",

                                 // the properties below are optional
                                 Unit = "unit"
                             },
                             ReturnData = false
                         } }
                     },
                     OperationName = "operationName",
                     TotalRequestCountMetric = new [] { new MetricDataQueryProperty {
                         Id = "id",

                         // the properties below are optional
                         AccountId = "accountId",
                         Expression = "expression",
                         MetricStat = new MetricStatProperty {
                             Metric = new MetricProperty {
                                 Dimensions = new [] { new DimensionProperty {
                                     Name = "name",
                                     Value = "value"
                                 } },
                                 MetricName = "metricName",
                                 Namespace = "namespace"
                             },
                             Period = 123,
                             Stat = "stat",

                             // the properties below are optional
                             Unit = "unit"
                         },
                         ReturnData = false
                     } }
                 },

                 // the properties below are optional
                 ComparisonOperator = "comparisonOperator",
                 MetricThreshold = 123
             };

Properties

ComparisonOperator

The arithmetic operation used when comparing the specified metric to the threshold.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.html#cfn-applicationsignals-servicelevelobjective-requestbasedsli-comparisonoperator

MetricThreshold

This value is the threshold that the observed metric values of the SLI metric are compared to.

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.html#cfn-applicationsignals-servicelevelobjective-requestbasedsli-metricthreshold

RequestBasedSliMetric

A structure that contains information about the metric that the SLO monitors.

public object RequestBasedSliMetric { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-requestbasedsli.html#cfn-applicationsignals-servicelevelobjective-requestbasedsli-requestbasedslimetric

Type union: either IResolvable or CfnServiceLevelObjective.IRequestBasedSliMetricProperty

Implements

CfnServiceLevelObjective.IRequestBasedSliProperty
Back to top Generated by DocFX