Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.LookoutMetrics.Types.SNSConfiguration
Description
Synopsis
Documentation
data SNSConfiguration Source #
Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.
See: newSNSConfiguration
smart constructor.
Constructors
SNSConfiguration' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> SNSConfiguration |
Create a value of SNSConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:roleArn:SNSConfiguration'
, sNSConfiguration_roleArn
- The ARN of the IAM role that has access to the target SNS topic.
$sel:snsTopicArn:SNSConfiguration'
, sNSConfiguration_snsTopicArn
- The ARN of the target SNS topic.
sNSConfiguration_roleArn :: Lens' SNSConfiguration Text Source #
The ARN of the IAM role that has access to the target SNS topic.
sNSConfiguration_snsTopicArn :: Lens' SNSConfiguration Text Source #
The ARN of the target SNS topic.