interface SNSConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.LookoutMetrics.Mixins.CfnAlertPropsMixin.SNSConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslookoutmetrics/mixins#CfnAlertPropsMixin_SNSConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.lookoutmetrics.mixins.CfnAlertPropsMixin.SNSConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_lookoutmetrics.mixins.CfnAlertPropsMixin.SNSConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lookoutmetrics » mixins » CfnAlertPropsMixin » 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 { mixins as lookoutmetrics_mixins } from '@aws-cdk/mixins-preview/aws-lookoutmetrics';
const sNSConfigurationProperty: lookoutmetrics_mixins.CfnAlertPropsMixin.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
(optional)
The ARN of the IAM role that has access to the target SNS topic.
snsTopicArn?
Type:
string
(optional)
The ARN of the target SNS topic.

.NET
Go
Java
Python
TypeScript