Show / Hide Table of Contents

Interface CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty

Contains scaling metric information for the CustomizedScalingMetricSpecification property of the AWS::AutoScaling::ScalingPolicy PredictiveScalingMetricSpecification property type.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AutoScaling
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
Syntax (vb)
Public Interface CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.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.AutoScaling;

             var predictiveScalingCustomizedScalingMetricProperty = new PredictiveScalingCustomizedScalingMetricProperty {
                 MetricDataQueries = new [] { new MetricDataQueryProperty {
                     Expression = "expression",
                     Id = "id",
                     Label = "label",
                     MetricStat = new MetricStatProperty {
                         Metric = new MetricProperty {
                             Dimensions = new [] { new MetricDimensionProperty {
                                 Name = "name",
                                 Value = "value"
                             } },
                             MetricName = "metricName",
                             Namespace = "namespace"
                         },
                         Stat = "stat",
                         Unit = "unit"
                     },
                     ReturnData = false
                 } }
             };

Synopsis

Properties

MetricDataQueries

One or more metric data queries to provide the data points for a scaling metric.

Properties

MetricDataQueries

One or more metric data queries to provide the data points for a scaling metric.

object? MetricDataQueries { get; }
Property Value

object

Remarks

Use multiple metric data queries only if you are performing a math expression on returned data.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html#cfn-autoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric-metricdataqueries

Type union: either IResolvable or (either IResolvable or CfnScalingPolicyPropsMixin.IMetricDataQueryProperty)[]

Back to top Generated by DocFX