Show / Hide Table of Contents

Class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty

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

Inheritance
object
CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty
Implements
CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
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.AutoScaling
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty : CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
Syntax (vb)
Public Class CfnScalingPolicyPropsMixin.PredictiveScalingCustomizedScalingMetricProperty Implements 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

Constructors

PredictiveScalingCustomizedScalingMetricProperty()

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

Properties

MetricDataQueries

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

Constructors

PredictiveScalingCustomizedScalingMetricProperty()

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

public PredictiveScalingCustomizedScalingMetricProperty()
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
                 } }
             };

Properties

MetricDataQueries

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

public object? MetricDataQueries { get; set; }
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)[]

Implements

CfnScalingPolicyPropsMixin.IPredictiveScalingCustomizedScalingMetricProperty
Back to top Generated by DocFX