interface CloudWatchLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Athena.CfnWorkGroup.CloudWatchLoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsathena#CfnWorkGroup_CloudWatchLoggingConfigurationProperty |
Java | software.amazon.awscdk.services.athena.CfnWorkGroup.CloudWatchLoggingConfigurationProperty |
Python | aws_cdk.aws_athena.CfnWorkGroup.CloudWatchLoggingConfigurationProperty |
TypeScript | aws-cdk-lib » aws_athena » CfnWorkGroup » CloudWatchLoggingConfigurationProperty |
Configuration settings for delivering logs to Amazon CloudWatch log groups.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const cloudWatchLoggingConfigurationProperty: athena.CfnWorkGroup.CloudWatchLoggingConfigurationProperty = {
enabled: false,
logGroup: 'logGroup',
logStreamNamePrefix: 'logStreamNamePrefix',
logTypes: {
logTypesKey: ['logTypes'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Enables CloudWatch logging. |
| log | string | The name of the log group in Amazon CloudWatch Logs where you want to publish your logs. |
| log | string | Prefix for the CloudWatch log stream name. |
| log | IResolvable | { [string]: string[] } | The types of logs that you want to publish to CloudWatch. |
enabled?
Type:
boolean | IResolvable
(optional)
Enables CloudWatch logging.
logGroup?
Type:
string
(optional)
The name of the log group in Amazon CloudWatch Logs where you want to publish your logs.
logStreamNamePrefix?
Type:
string
(optional)
Prefix for the CloudWatch log stream name.
logTypes?
Type:
IResolvable | { [string]: string[] }
(optional)
The types of logs that you want to publish to CloudWatch.

.NET
Go
Java
Python
TypeScript