Class: Aws::CloudWatchOmni::Types::IntelligenceNotificationTarget
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::IntelligenceNotificationTarget
- Defined in:
- gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb
Overview
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
A destination for Intelligence notifications.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
For slack and pagerduty, the ARN of the connected integration, as returned by ListIntegrations, in the account and Region of the configuration.
-
#metadata ⇒ Hash<String,String>
Target-specific metadata.
-
#type ⇒ String
The kind of destination.
Instance Attribute Details
#arn ⇒ String
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.
5203 5204 5205 5206 5207 5208 5209 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5203 class IntelligenceNotificationTarget < Struct.new( :type, :arn, :metadata) SENSITIVE = [] include Aws::Structure end |
#metadata ⇒ Hash<String,String>
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.
5203 5204 5205 5206 5207 5208 5209 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5203 class IntelligenceNotificationTarget < Struct.new( :type, :arn, :metadata) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The kind of destination.
5203 5204 5205 5206 5207 5208 5209 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5203 class IntelligenceNotificationTarget < Struct.new( :type, :arn, :metadata) SENSITIVE = [] include Aws::Structure end |