View a markdown version of this page

AWS::CloudWatch::Alert Target - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::CloudWatch::Alert Target

Where the notification is sent.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Arn" : String, "Metadata" : {Key: Value, ...}, "Type" : String }

YAML

Arn: String Metadata: Key: Value Type: String

Properties

Arn

The ARN of the target. For sns, the ARN of the Amazon SNS topic. For slack and pagerduty, the ARN of a CloudWatch Omni integration.

Required: Yes

Type: String

Pattern: ^arn:.+$

Minimum: 1

Maximum: 1024

Update requires: No interruption

Metadata

Settings specific to the target, as key-value pairs (up to 20). The keys depend on the integration type. Not used for sns targets.

Required: No

Type: Object of String

Pattern: .+

Maximum: 1024

Update requires: No interruption

Type

The target type. Valid values: sns, slack, pagerduty.

Required: Yes

Type: String

Allowed values: sns | slack | pagerduty

Update requires: No interruption