Class CfnNotificationChannel.SnsChannelConfigProperty
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
Inheritance
Namespace: Amazon.CDK.AWS.DevOpsGuru
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SnsChannelConfigProperty : Object, CfnNotificationChannel.ISnsChannelConfigProperty
Syntax (vb)
Public Class SnsChannelConfigProperty
Inherits Object
Implements CfnNotificationChannel.ISnsChannelConfigProperty
Remarks
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics .
If you use an Amazon SNS topic that is encrypted by an AWS Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for AWS KMS–encrypted Amazon SNS topics .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DevOpsGuru;
var snsChannelConfigProperty = new SnsChannelConfigProperty {
TopicArn = "topicArn"
};
Synopsis
Constructors
SnsChannelConfigProperty() |
Properties
TopicArn | The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. |
Constructors
SnsChannelConfigProperty()
public SnsChannelConfigProperty()
Properties
TopicArn
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
public string TopicArn { get; set; }
Property Value
System.String