IntelligenceNotificationTarget
¶
Source code in docs_src/capo_cloudwatchomni/types/intelligence_notification_target.py
arn
instance-attribute
¶
arn: Arn
For slack and pagerduty, the ARN of the connected integration, as returned by ListIntegrations, in the account and Region of the configuration. This is the integration ARN, not a channel or service ARN. For sns, the ARN of a standard SNS topic in the same partition and Region, in any account. At most 1011 characters, the AWS-wide ARN limit.
metadata
instance-attribute
¶
metadata: NotRequired[IntelligenceNotificationTargetMetadata]
Target-specific metadata. The accepted keys depend on type, and any other key is rejected with ValidationException. - slack: channel (required), the Slack channel name, and channelId (optional), the Slack channel identifier. When a target is added, the service resolves the channel name to its identifier and stores it as channelId, and notifications are posted to that identifier, so renaming the channel does not break the target. A channel the integration's app cannot see is rejected. A channelId sent with a new target must identify the named channel. No other key is accepted. - pagerduty: service_name (required), the exact, case-sensitive name of the PagerDuty service or event orchestration to page, and the optional keys serviceId (the PagerDuty service identifier), class, group, and component. No other key is accepted. - sns: absent or empty. No key is accepted.