interface EventLogConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins.CfnApiPropsMixin.EventLogConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappsync/mixins#CfnApiPropsMixin_EventLogConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.appsync.mixins.CfnApiPropsMixin.EventLogConfigProperty |
Python | aws_cdk.mixins_preview.aws_appsync.mixins.CfnApiPropsMixin.EventLogConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appsync » mixins » CfnApiPropsMixin » EventLogConfigProperty |
Describes the CloudWatch Logs configuration for the Event API.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as appsync_mixins } from '@aws-cdk/mixins-preview/aws-appsync';
const eventLogConfigProperty: appsync_mixins.CfnApiPropsMixin.EventLogConfigProperty = {
cloudWatchLogsRoleArn: 'cloudWatchLogsRoleArn',
logLevel: 'logLevel',
};
Properties
| Name | Type | Description |
|---|---|---|
| cloud | string | The IAM service role that AWS AppSync assumes to publish CloudWatch Logs in your account. |
| log | string | The type of information to log for the Event API. |
cloudWatchLogsRoleArn?
Type:
string
(optional)
The IAM service role that AWS AppSync assumes to publish CloudWatch Logs in your account.
logLevel?
Type:
string
(optional)
The type of information to log for the Event API.

.NET
Go
Java
Python
TypeScript