# EventLogConfigProperty

Describes the CloudWatch Logs configuration for the Event API.

- Source: Generated code
- Type last changed: v2.166.0 · 7 Nov 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appsync as appsync } from 'aws-cdk-lib';
const eventLogConfigProperty: appsync.CfnApi.EventLogConfigProperty = {
  cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',
  logLevel: 'logLevel',
};
```

## Properties

- `cloudWatchLogsRoleArn`: string (required) — The IAM service role that AWS AppSync assumes to publish CloudWatch Logs in your account.

- `logLevel`: string (required) — The type of information to log for the Event API.
