Class: Aws::LookoutMetrics::Types::SNSConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lookoutmetrics/types.rb

Overview

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

The ARN of the IAM role that has access to the target SNS topic.

Returns:

  • (String)


2483
2484
2485
2486
2487
2488
2489
# File 'lib/aws-sdk-lookoutmetrics/types.rb', line 2483

class SNSConfiguration < Struct.new(
  :role_arn,
  :sns_topic_arn,
  :sns_format)
  SENSITIVE = []
  include Aws::Structure
end

#sns_formatString

The format of the SNS topic.

  • ‘JSON` – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

  • ‘LONG_TEXT` – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

  • ‘SHORT_TEXT` – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

Returns:

  • (String)


2483
2484
2485
2486
2487
2488
2489
# File 'lib/aws-sdk-lookoutmetrics/types.rb', line 2483

class SNSConfiguration < Struct.new(
  :role_arn,
  :sns_topic_arn,
  :sns_format)
  SENSITIVE = []
  include Aws::Structure
end

#sns_topic_arnString

The ARN of the target SNS topic.

Returns:

  • (String)


2483
2484
2485
2486
2487
2488
2489
# File 'lib/aws-sdk-lookoutmetrics/types.rb', line 2483

class SNSConfiguration < Struct.new(
  :role_arn,
  :sns_topic_arn,
  :sns_format)
  SENSITIVE = []
  include Aws::Structure
end