Skip to content
v2.274.0

EventLogConfigProperty Struct ​

Describes the CloudWatch Logs configuration for the Event API.

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 ​

cloudWatchLogsRoleArnstringcloud_watch_logs_role_arnstrcloudWatchLogsRoleArnStringCloudWatchLogsRoleArnstringCloudWatchLogsRoleArn*stringrequired#
The IAM service role that AWS AppSync assumes to publish CloudWatch Logs in your account.
logLevelstringlog_levelstrlogLevelStringLogLevelstringLogLevel*stringrequired#
The type of information to log for the Event API.