{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-lookout-for-metrics/refs/heads/main/json-schema/amazon-lookout-for-metrics-sns-configuration-schema.json", "title": "SNSConfiguration", "description": "Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.", "type": "object", "properties": { "RoleArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The ARN of the IAM role that has access to the target SNS topic." } ] }, "SnsTopicArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "The ARN of the target SNS topic." } ] }, "SnsFormat": { "allOf": [ { "$ref": "#/components/schemas/SnsFormat" }, { "description": "
The format of the SNS topic.
JSON \u2013 Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.
LONG_TEXT \u2013 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 \u2013 Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.