class EnableLogging
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.KinesisFirehose.EnableLogging | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesisfirehose#EnableLogging | 
  Java | software.amazon.awscdk.services.kinesisfirehose.EnableLogging | 
  Python | aws_cdk.aws_kinesisfirehose.EnableLogging | 
  TypeScript (source) | aws-cdk-lib » aws_kinesisfirehose » EnableLogging | 
Implements
ILogging
Enables logging for error logs with an optional custom CloudWatch log group.
When this class is used, logging is enabled (logging: true) and
you can optionally provide a CloudWatch log group for storing the error logs.
If no log group is provided, a default one will be created automatically.
Example
import * as logs from 'aws-cdk-lib/aws-logs';
const logGroup = new logs.LogGroup(this, 'Log Group');
declare const bucket: s3.Bucket;
const destination = new firehose.S3Bucket(bucket, {
  loggingConfig: new firehose.EnableLogging(logGroup),
});
new firehose.DeliveryStream(this, 'Delivery Stream', {
  destination: destination,
});
Initializer
new EnableLogging(logGroup?: ILogGroup)
Parameters
- logGroup 
ILog— The CloudWatch log group where log streams will be created to hold error logs.Group  
Properties
| Name | Type | Description | 
|---|---|---|
| logging | boolean | If true, log errors when data transformation or data delivery fails. | 
| log | ILog | The CloudWatch log group where log streams will be created to hold error logs. | 
logging
Type:
boolean
If true, log errors when data transformation or data delivery fails.
true when using EnableLogging, false when using DisableLogging.
logGroup?
Type:
ILog
(optional)
The CloudWatch log group where log streams will be created to hold error logs.

 .NET
 Go
 Java
 Python
 TypeScript (