interface CloudWatchLoggingConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Athena.Mixins.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsathena/mixins#CfnWorkGroupPropsMixin_CloudWatchLoggingConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.athena.mixins.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_athena.mixins.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_athena » mixins » CfnWorkGroupPropsMixin » 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 { mixins as athena_mixins } from '@aws-cdk/mixins-preview/aws-athena';
const cloudWatchLoggingConfigurationProperty: athena_mixins.CfnWorkGroupPropsMixin.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