interface SNSConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.LookoutMetrics.CfnAlert.SNSConfigurationProperty |
Java | software.amazon.awscdk.services.lookoutmetrics.CfnAlert.SNSConfigurationProperty |
Python | aws_cdk.aws_lookoutmetrics.CfnAlert.SNSConfigurationProperty |
TypeScript | @aws-cdk/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 * as lookoutmetrics from '@aws-cdk/aws-lookoutmetrics';
const sNSConfigurationProperty: lookoutmetrics.CfnAlert.SNSConfigurationProperty = {
roleArn: 'roleArn',
snsTopicArn: 'snsTopicArn',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The ARN of the IAM role that has access to the target SNS topic. |
sns | string | The 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.