Show / Hide Table of Contents

Interface CfnServiceLevelObjective.ISliProperty

This structure specifies the information about the service and the performance metric that an SLO is to monitor.

Namespace: Amazon.CDK.AWS.ApplicationSignals
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnServiceLevelObjective.ISliProperty
Syntax (vb)
Public Interface CfnServiceLevelObjective.ISliProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-sli.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 sliProperty = new SliProperty {
                 ComparisonOperator = "comparisonOperator",
                 MetricThreshold = 123,
                 SliMetric = new SliMetricProperty {
                     CompositeSliConfig = new CompositeSliConfigProperty {
                         SelectionConfig = new SelectionConfigProperty {
                             Type = "type",

                             // the properties below are optional
                             Pattern = "pattern"
                         },

                         // the properties below are optional
                         CompositeSliComponents = new [] { new CompositeSliComponentProperty {
                             OperationName = "operationName"
                         } }
                     },
                     DependencyConfig = new DependencyConfigProperty {
                         DependencyKeyAttributes = new Dictionary<string, string> {
                             { "dependencyKeyAttributesKey", "dependencyKeyAttributes" }
                         },
                         DependencyOperationName = "dependencyOperationName"
                     },
                     KeyAttributes = new Dictionary<string, string> {
                         { "keyAttributesKey", "keyAttributes" }
                     },
                     MetricDataQueries = 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
                     } },
                     MetricName = "metricName",
                     MetricSource = new MetricSourceProperty {
                         MetricSourceKeyAttributes = new Dictionary<string, string> {
                             { "metricSourceKeyAttributesKey", "metricSourceKeyAttributes" }
                         },

                         // the properties below are optional
                         MetricSourceAttributes = new Dictionary<string, string> {
                             { "metricSourceAttributesKey", "metricSourceAttributes" }
                         }
                     },
                     MetricType = "metricType",
                     OperationName = "operationName",
                     PeriodSeconds = 123,
                     Statistic = "statistic"
                 }
             };

Synopsis

Properties

ComparisonOperator

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

MetricThreshold

The value that the SLI metric is compared to.

SliMetric

Use this structure to specify the metric to be used for the SLO.

Properties

ComparisonOperator

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

string ComparisonOperator { get; }
Property Value

string

Remarks

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

MetricThreshold

The value that the SLI metric is compared to.

double MetricThreshold { get; }
Property Value

double

Remarks

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

SliMetric

Use this structure to specify the metric to be used for the SLO.

object SliMetric { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnServiceLevelObjective.ISliMetricProperty

Back to top Generated by DocFX