interface AuditNotificationTargetProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IoT.CfnAccountAuditConfiguration.AuditNotificationTargetProperty |
Java | software.amazon.awscdk.services.iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty |
Python | aws_cdk.aws_iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty |
TypeScript | @aws-cdk/aws-iot » CfnAccountAuditConfiguration » AuditNotificationTargetProperty |
Information about the targets to which audit notifications are sent.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const auditNotificationTargetProperty: iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty = {
enabled: false,
roleArn: 'roleArn',
targetArn: 'targetArn',
};
Properties
Name | Type | Description |
---|---|---|
enabled? | boolean | IResolvable | True if notifications to the target are enabled. |
role | string | The ARN of the role that grants permission to send notifications to the target. |
target | string | The ARN of the target (SNS topic) to which audit notifications are sent. |
enabled?
Type:
boolean |
IResolvable
(optional)
True if notifications to the target are enabled.
roleArn?
Type:
string
(optional)
The ARN of the role that grants permission to send notifications to the target.
targetArn?
Type:
string
(optional)
The ARN of the target (SNS topic) to which audit notifications are sent.