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 |
Synopsis
- data AuditNotificationTarget = AuditNotificationTarget' {}
- newAuditNotificationTarget :: AuditNotificationTarget
- auditNotificationTarget_targetArn :: Lens' AuditNotificationTarget (Maybe Text)
- auditNotificationTarget_enabled :: Lens' AuditNotificationTarget (Maybe Bool)
- auditNotificationTarget_roleArn :: Lens' AuditNotificationTarget (Maybe Text)
Documentation
data AuditNotificationTarget Source #
Information about the targets to which audit notifications are sent.
See: newAuditNotificationTarget
smart constructor.
Instances
newAuditNotificationTarget :: AuditNotificationTarget Source #
Create a value of AuditNotificationTarget
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:targetArn:AuditNotificationTarget'
, auditNotificationTarget_targetArn
- The ARN of the target (SNS topic) to which audit notifications are sent.
$sel:enabled:AuditNotificationTarget'
, auditNotificationTarget_enabled
- True if notifications to the target are enabled.
$sel:roleArn:AuditNotificationTarget'
, auditNotificationTarget_roleArn
- The ARN of the role that grants permission to send notifications to the
target.
auditNotificationTarget_targetArn :: Lens' AuditNotificationTarget (Maybe Text) Source #
The ARN of the target (SNS topic) to which audit notifications are sent.
auditNotificationTarget_enabled :: Lens' AuditNotificationTarget (Maybe Bool) Source #
True if notifications to the target are enabled.
auditNotificationTarget_roleArn :: Lens' AuditNotificationTarget (Maybe Text) Source #
The ARN of the role that grants permission to send notifications to the target.