1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lookoutmetrics
  5. Alert

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.lookoutmetrics.Alert

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::LookoutMetrics::Alert

Create Alert Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
@overload
def Alert(resource_name: str,
          args: AlertArgs,
          opts: Optional[ResourceOptions] = None)

@overload
def Alert(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          action: Optional[AlertActionArgs] = None,
          alert_sensitivity_threshold: Optional[int] = None,
          anomaly_detector_arn: Optional[str] = None,
          alert_description: Optional[str] = None,
          alert_name: Optional[str] = None)
func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
public Alert(String name, AlertArgs args)
public Alert(String name, AlertArgs args, CustomResourceOptions options)
type: aws-native:lookoutmetrics:Alert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AlertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AlertArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AlertArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AlertArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AlertArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Alert Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Alert resource accepts the following input properties:

Action This property is required. Pulumi.AwsNative.LookoutMetrics.Inputs.AlertAction
The action to be taken by the alert when an anomaly is detected.
AlertSensitivityThreshold This property is required. int
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
AnomalyDetectorArn This property is required. string
The Amazon resource name (ARN) of the Anomaly Detector to alert.
AlertDescription string
A description for the alert.
AlertName string
The name of the alert. If not provided, a name is generated automatically.
Action This property is required. AlertActionArgs
The action to be taken by the alert when an anomaly is detected.
AlertSensitivityThreshold This property is required. int
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
AnomalyDetectorArn This property is required. string
The Amazon resource name (ARN) of the Anomaly Detector to alert.
AlertDescription string
A description for the alert.
AlertName string
The name of the alert. If not provided, a name is generated automatically.
action This property is required. AlertAction
The action to be taken by the alert when an anomaly is detected.
alertSensitivityThreshold This property is required. Integer
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
anomalyDetectorArn This property is required. String
The Amazon resource name (ARN) of the Anomaly Detector to alert.
alertDescription String
A description for the alert.
alertName String
The name of the alert. If not provided, a name is generated automatically.
action This property is required. AlertAction
The action to be taken by the alert when an anomaly is detected.
alertSensitivityThreshold This property is required. number
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
anomalyDetectorArn This property is required. string
The Amazon resource name (ARN) of the Anomaly Detector to alert.
alertDescription string
A description for the alert.
alertName string
The name of the alert. If not provided, a name is generated automatically.
action This property is required. AlertActionArgs
The action to be taken by the alert when an anomaly is detected.
alert_sensitivity_threshold This property is required. int
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
anomaly_detector_arn This property is required. str
The Amazon resource name (ARN) of the Anomaly Detector to alert.
alert_description str
A description for the alert.
alert_name str
The name of the alert. If not provided, a name is generated automatically.
action This property is required. Property Map
The action to be taken by the alert when an anomaly is detected.
alertSensitivityThreshold This property is required. Number
A number between 0 and 100 (inclusive) that tunes the sensitivity of the alert.
anomalyDetectorArn This property is required. String
The Amazon resource name (ARN) of the Anomaly Detector to alert.
alertDescription String
A description for the alert.
alertName String
The name of the alert. If not provided, a name is generated automatically.

Outputs

All input properties are implicitly available as output properties. Additionally, the Alert resource produces the following output properties:

Arn string
ARN assigned to the alert.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
ARN assigned to the alert.
Id string
The provider-assigned unique ID for this managed resource.
arn String
ARN assigned to the alert.
id String
The provider-assigned unique ID for this managed resource.
arn string
ARN assigned to the alert.
id string
The provider-assigned unique ID for this managed resource.
arn str
ARN assigned to the alert.
id str
The provider-assigned unique ID for this managed resource.
arn String
ARN assigned to the alert.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

AlertAction
, AlertActionArgs

LambdaConfiguration AlertLambdaConfiguration
A configuration for an AWS Lambda channel.
SnsConfiguration AlertSnsConfiguration
A configuration for an Amazon SNS channel.
lambdaConfiguration AlertLambdaConfiguration
A configuration for an AWS Lambda channel.
snsConfiguration AlertSnsConfiguration
A configuration for an Amazon SNS channel.
lambdaConfiguration AlertLambdaConfiguration
A configuration for an AWS Lambda channel.
snsConfiguration AlertSnsConfiguration
A configuration for an Amazon SNS channel.
lambda_configuration AlertLambdaConfiguration
A configuration for an AWS Lambda channel.
sns_configuration AlertSnsConfiguration
A configuration for an Amazon SNS channel.
lambdaConfiguration Property Map
A configuration for an AWS Lambda channel.
snsConfiguration Property Map
A configuration for an Amazon SNS channel.

AlertLambdaConfiguration
, AlertLambdaConfigurationArgs

LambdaArn This property is required. string
ARN of a Lambda to send alert notifications to.
RoleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.
LambdaArn This property is required. string
ARN of a Lambda to send alert notifications to.
RoleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.
lambdaArn This property is required. String
ARN of a Lambda to send alert notifications to.
roleArn This property is required. String
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.
lambdaArn This property is required. string
ARN of a Lambda to send alert notifications to.
roleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.
lambda_arn This property is required. str
ARN of a Lambda to send alert notifications to.
role_arn This property is required. str
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.
lambdaArn This property is required. String
ARN of a Lambda to send alert notifications to.
roleArn This property is required. String
ARN of an IAM role that LookoutMetrics should assume to access the Lambda function.

AlertSnsConfiguration
, AlertSnsConfigurationArgs

RoleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
SnsTopicArn This property is required. string
ARN of an SNS topic to send alert notifications to.
RoleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
SnsTopicArn This property is required. string
ARN of an SNS topic to send alert notifications to.
roleArn This property is required. String
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
snsTopicArn This property is required. String
ARN of an SNS topic to send alert notifications to.
roleArn This property is required. string
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
snsTopicArn This property is required. string
ARN of an SNS topic to send alert notifications to.
role_arn This property is required. str
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
sns_topic_arn This property is required. str
ARN of an SNS topic to send alert notifications to.
roleArn This property is required. String
ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
snsTopicArn This property is required. String
ARN of an SNS topic to send alert notifications to.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi