interface SNSConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.LookoutMetrics.CfnAlertPropsMixin.SNSConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslookoutmetrics#CfnAlertPropsMixin_SNSConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAlertPropsMixin.SNSConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lookoutmetrics.CfnAlertPropsMixin.SNSConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lookoutmetrics » 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 { aws_lookoutmetrics as lookoutmetrics } from '@aws-cdk/cfn-property-mixins';
const sNSConfigurationProperty: lookoutmetrics.CfnAlertPropsMixin.SNSConfigurationProperty = {
roleArn: 'roleArn',
snsTopicArn: 'snsTopicArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| role | string | IRole | 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 | IRole
(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