SnsChannelConfigProperty Struct
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
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 .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsguru as devopsguru } from 'aws-cdk-lib';
const snsChannelConfigProperty: devopsguru.CfnNotificationChannel.SnsChannelConfigProperty = {
topicArn: 'topicArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_devopsguru as devopsguru
sns_channel_config_property = devopsguru.CfnNotificationChannel.SnsChannelConfigProperty(
topic_arn="topicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.devopsguru.*;
SnsChannelConfigProperty snsChannelConfigProperty = SnsChannelConfigProperty.builder()
.topicArn("topicArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
snsChannelConfigProperty := &SnsChannelConfigProperty{
TopicArn: jsii.String("topicArn"),
}
Properties
topicArnoptionalstringtopic_arnoptionalstrtopicArnoptionalStringTopicArnoptionalstringTopicArnoptional*string #The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.