# AuditNotificationTargetConfigurationsProperty

The configuration of the audit notification target.

- 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 auditNotificationTargetConfigurationsProperty: iot.CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty = {
  sns: {
    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_configurations_property = iot.CfnAccountAuditConfiguration.AuditNotificationTargetConfigurationsProperty(
    sns=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.*;

AuditNotificationTargetConfigurationsProperty auditNotificationTargetConfigurationsProperty = AuditNotificationTargetConfigurationsProperty.builder()
        .sns(AuditNotificationTargetProperty.builder()
                .enabled(false)
                .roleArn("roleArn")
                .targetArn("targetArn")
                .build())
        .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 auditNotificationTargetConfigurationsProperty = new AuditNotificationTargetConfigurationsProperty {
    Sns = 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"

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

## Properties

- `sns`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAccountAuditConfiguration.AuditNotificationTargetProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iot.CfnAccountAuditConfiguration.AuditNotificationTargetProperty.html) — The `Sns` notification target.
