Class CfnNotificationChannelPropsMixin.SnsChannelConfigProperty
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DevOpsGuru
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnNotificationChannelPropsMixin.SnsChannelConfigProperty : CfnNotificationChannelPropsMixin.ISnsChannelConfigProperty
Syntax (vb)
Public Class CfnNotificationChannelPropsMixin.SnsChannelConfigProperty Implements CfnNotificationChannelPropsMixin.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.CfnPropertyMixins.AWS.DevOpsGuru;
var snsChannelConfigProperty = new SnsChannelConfigProperty {
TopicArn = "topicArn"
};
Synopsis
Constructors
| SnsChannelConfigProperty() | Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. |
Properties
| TopicArn | The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. |
Constructors
SnsChannelConfigProperty()
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
public SnsChannelConfigProperty()
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.CfnPropertyMixins.AWS.DevOpsGuru;
var snsChannelConfigProperty = new SnsChannelConfigProperty {
TopicArn = "topicArn"
};
Properties
TopicArn
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
public object? TopicArn { get; set; }