Class EnableLogging
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.EnableLogging
- All Implemented Interfaces:
ILoggingConfig
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-26T00:07:49.412Z")
@Stability(Deprecated)
@Deprecated
public class EnableLogging
extends software.amazon.jsii.JsiiObject
implements ILoggingConfig
Deprecated.
(deprecated) 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 software.amazon.awscdk.services.logs.*; Bucket bucket; LogGroup logGroup = new LogGroup(this, "Log Group"); S3Bucket destination = S3Bucket.Builder.create(bucket) .loggingConfig(new EnableLogging(logGroup)) .build(); DeliveryStream.Builder.create(this, "Delivery Stream") .destination(destination) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.ILoggingConfig
ILoggingConfig.Jsii$Default, ILoggingConfig.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated.EnableLogging
(ILogGroup logGroup) Deprecated.protected
EnableLogging
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
EnableLogging
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
EnableLogging
protected EnableLogging(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
EnableLogging
protected EnableLogging(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
EnableLogging
Deprecated.- Parameters:
logGroup
- The CloudWatch log group where log streams will be created to hold error logs.
-
EnableLogging
Deprecated.
-
-
Method Details
-
getLogging
Deprecated.(deprecated) If true, log errors when data transformation or data delivery fails.true
when usingEnableLogging
,false
when usingDisableLogging
.- Specified by:
getLogging
in interfaceILoggingConfig
-
getLogGroup
Deprecated.(deprecated) The CloudWatch log group where log streams will be created to hold error logs.- Specified by:
getLogGroup
in interfaceILoggingConfig
-