# AuditNotificationTargetProperty

Information about the targets to which audit notifications are sent.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const auditNotificationTargetProperty: iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty = {
  enabled: false,
  roleArn: 'roleArn',
  targetArn: 'targetArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

audit_notification_target_property = iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty(
    enabled=False,
    role_arn="roleArn",
    target_arn="targetArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;

AuditNotificationTargetProperty auditNotificationTargetProperty = AuditNotificationTargetProperty.builder()
        .enabled(false)
        .roleArn("roleArn")
        .targetArn("targetArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;

var auditNotificationTargetProperty = new AuditNotificationTargetProperty {
    Enabled = false,
    RoleArn = "roleArn",
    TargetArn = "targetArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

auditNotificationTargetProperty := &AuditNotificationTargetProperty{
	Enabled: jsii.Boolean(false),
	RoleArn: jsii.String("roleArn"),
	TargetArn: jsii.String("targetArn"),
}
```

## Properties

- `enabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — True if notifications to the target are enabled.

- `roleArn`: string — The ARN of the role that grants permission to send notifications to the target.

- `targetArn`: string — The ARN of the target (SNS topic) to which audit notifications are sent.
