Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SNSConfiguration Source #
Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.
See: newSNSConfiguration
smart constructor.
SNSConfiguration' | |
|
Instances
Create a value of SNSConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:snsFormat:SNSConfiguration'
, sNSConfiguration_snsFormat
- 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.
$sel:roleArn:SNSConfiguration'
, sNSConfiguration_roleArn
- The ARN of the IAM role that has access to the target SNS topic.
$sel:snsTopicArn:SNSConfiguration'
, sNSConfiguration_snsTopicArn
- The ARN of the target SNS topic.
sNSConfiguration_snsFormat :: Lens' SNSConfiguration (Maybe SnsFormat) Source #
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.
sNSConfiguration_roleArn :: Lens' SNSConfiguration Text Source #
The ARN of the IAM role that has access to the target SNS topic.
sNSConfiguration_snsTopicArn :: Lens' SNSConfiguration Text Source #
The ARN of the target SNS topic.