Show / Hide Table of Contents

Class CfnAppMonitorPropsMixin.MetricDestinationProperty

Creates or updates a destination to receive extended metrics from CloudWatch RUM.

Inheritance
object
CfnAppMonitorPropsMixin.MetricDestinationProperty
Implements
CfnAppMonitorPropsMixin.IMetricDestinationProperty
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.RUM
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAppMonitorPropsMixin.MetricDestinationProperty : CfnAppMonitorPropsMixin.IMetricDestinationProperty
Syntax (vb)
Public Class CfnAppMonitorPropsMixin.MetricDestinationProperty Implements CfnAppMonitorPropsMixin.IMetricDestinationProperty
Remarks

You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.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.RUM;

             var metricDestinationProperty = new MetricDestinationProperty {
                 Destination = "destination",
                 DestinationArn = "destinationArn",
                 IamRoleArn = "iamRoleArn",
                 MetricDefinitions = new [] { new MetricDefinitionProperty {
                     DimensionKeys = new Dictionary<string, string> {
                         { "dimensionKeysKey", "dimensionKeys" }
                     },
                     EventPattern = "eventPattern",
                     Name = "name",
                     Namespace = "namespace",
                     UnitLabel = "unitLabel",
                     ValueKey = "valueKey"
                 } }
             };

Synopsis

Constructors

MetricDestinationProperty()

Creates or updates a destination to receive extended metrics from CloudWatch RUM.

Properties

Destination

Defines the destination to send the metrics to.

DestinationArn

Use this parameter only if Destination is Evidently .

IamRoleArn

This parameter is required if Destination is Evidently . If Destination is CloudWatch , do not use this parameter.

MetricDefinitions

An array of structures which define the metrics that you want to send.

Constructors

MetricDestinationProperty()

Creates or updates a destination to receive extended metrics from CloudWatch RUM.

public MetricDestinationProperty()
Remarks

You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.

For more information about extended metrics, see Extended metrics that you can send to CloudWatch and CloudWatch Evidently .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.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.RUM;

             var metricDestinationProperty = new MetricDestinationProperty {
                 Destination = "destination",
                 DestinationArn = "destinationArn",
                 IamRoleArn = "iamRoleArn",
                 MetricDefinitions = new [] { new MetricDefinitionProperty {
                     DimensionKeys = new Dictionary<string, string> {
                         { "dimensionKeysKey", "dimensionKeys" }
                     },
                     EventPattern = "eventPattern",
                     Name = "name",
                     Namespace = "namespace",
                     UnitLabel = "unitLabel",
                     ValueKey = "valueKey"
                 } }
             };

Properties

Destination

Defines the destination to send the metrics to.

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

string

Remarks

Valid values are CloudWatch and Evidently . If you specify Evidently , you must also specify the ARN of the CloudWatch Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.html#cfn-rum-appmonitor-metricdestination-destination

DestinationArn

Use this parameter only if Destination is Evidently .

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

string

Remarks

This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.html#cfn-rum-appmonitor-metricdestination-destinationarn

IamRoleArn

This parameter is required if Destination is Evidently . If Destination is CloudWatch , do not use this parameter.

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

string

Remarks

This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.html#cfn-rum-appmonitor-metricdestination-iamrolearn

MetricDefinitions

An array of structures which define the metrics that you want to send.

public object? MetricDefinitions { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.html#cfn-rum-appmonitor-metricdestination-metricdefinitions

Type union: either IResolvable or (either IResolvable or CfnAppMonitorPropsMixin.IMetricDefinitionProperty)[]

Implements

CfnAppMonitorPropsMixin.IMetricDestinationProperty
Back to top Generated by DocFX