aws-cdk-lib.aws_lookoutmetrics.CfnAlert.SNSConfigurationProperty

interface SNSConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.LookoutMetrics.CfnAlert.SNSConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslookoutmetrics#CfnAlert_SNSConfigurationProperty
Javasoftware.amazon.awscdk.services.lookoutmetrics.CfnAlert.SNSConfigurationProperty
Pythonaws_cdk.aws_lookoutmetrics.CfnAlert.SNSConfigurationProperty
TypeScript aws-cdk-lib » aws_lookoutmetrics » CfnAlert » SNSConfigurationProperty

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lookoutmetrics as lookoutmetrics } from 'aws-cdk-lib';
const sNSConfigurationProperty: lookoutmetrics.CfnAlert.SNSConfigurationProperty = {
  roleArn: 'roleArn',
  snsTopicArn: 'snsTopicArn',
};

Properties

NameTypeDescription
roleArnstringThe ARN of the IAM role that has access to the target SNS topic.
snsTopicArnstringThe ARN of the target SNS topic.

roleArn

Type: string

The ARN of the IAM role that has access to the target SNS topic.


snsTopicArn

Type: string

The ARN of the target SNS topic.