Show / Hide Table of Contents

Class CfnAlertProps

Properties for defining a CfnAlert.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.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.LookoutMetrics;

             var cfnAlertProps = new CfnAlertProps {
                 Action = new ActionProperty {
                     LambdaConfiguration = new LambdaConfigurationProperty {
                         LambdaArn = "lambdaArn",
                         RoleArn = "roleArn"
                     },
                     SnsConfiguration = new SNSConfigurationProperty {
                         RoleArn = "roleArn",
                         SnsTopicArn = "snsTopicArn"
                     }
                 },
                 AlertSensitivityThreshold = 123,
                 AnomalyDetectorArn = "anomalyDetectorArn",

                 // the properties below are optional
                 AlertDescription = "alertDescription",
                 AlertName = "alertName"
             };

Synopsis

Constructors

CfnAlertProps()

Properties for defining a CfnAlert.

Properties

Action

Action that will be triggered when there is an alert.

AlertDescription

A description of the alert.

AlertName

The name of the alert.

AlertSensitivityThreshold

An integer from 0 to 100 specifying the alert sensitivity threshold.

AnomalyDetectorArn

The ARN of the detector to which the alert is attached.

Constructors

CfnAlertProps()

Properties for defining a CfnAlert.

public CfnAlertProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.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.LookoutMetrics;

             var cfnAlertProps = new CfnAlertProps {
                 Action = new ActionProperty {
                     LambdaConfiguration = new LambdaConfigurationProperty {
                         LambdaArn = "lambdaArn",
                         RoleArn = "roleArn"
                     },
                     SnsConfiguration = new SNSConfigurationProperty {
                         RoleArn = "roleArn",
                         SnsTopicArn = "snsTopicArn"
                     }
                 },
                 AlertSensitivityThreshold = 123,
                 AnomalyDetectorArn = "anomalyDetectorArn",

                 // the properties below are optional
                 AlertDescription = "alertDescription",
                 AlertName = "alertName"
             };

Properties

Action

Action that will be triggered when there is an alert.

public object Action { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-action

Type union: either IResolvable or CfnAlert.IActionProperty

AlertDescription

A description of the alert.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertdescription

AlertName

The name of the alert.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertname

AlertSensitivityThreshold

An integer from 0 to 100 specifying the alert sensitivity threshold.

public double AlertSensitivityThreshold { get; set; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-alertsensitivitythreshold

AnomalyDetectorArn

The ARN of the detector to which the alert is attached.

public string AnomalyDetectorArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lookoutmetrics-alert.html#cfn-lookoutmetrics-alert-anomalydetectorarn

Implements

ICfnAlertProps
Back to top Generated by DocFX