Class CloudwatchLogsLogDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pipes.alpha.CloudwatchLogsLogDestination
- All Implemented Interfaces:
ILogDestination
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-16T11:43:25.681Z")
@Stability(Experimental)
public class CloudwatchLogsLogDestination
extends software.amazon.jsii.JsiiObject
implements ILogDestination
(experimental) CloudWatch Logs log group for delivery of pipe logs.
Example:
Queue sourceQueue; Queue targetQueue; LogGroup logGroup; CloudwatchLogsLogDestination cwlLogDestination = new CloudwatchLogsLogDestination(logGroup); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(new SqsSource(sourceQueue)) .target(new SqsTarget(targetQueue)) .logLevel(LogLevel.TRACE) .logIncludeExecutionData(List.of(IncludeExecutionData.ALL)) .logDestinations(List.of(cwlLogDestination)) .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.pipes.alpha.ILogDestination
ILogDestination.Jsii$Default, ILogDestination.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCloudwatchLogsLogDestination
(ILogGroup logGroup) protected
CloudwatchLogsLogDestination
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudwatchLogsLogDestination
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Bind the log destination to the pipe.void
(experimental) Grant the pipe role to push to the log destination.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
-
CloudwatchLogsLogDestination
protected CloudwatchLogsLogDestination(software.amazon.jsii.JsiiObjectRef objRef) -
CloudwatchLogsLogDestination
protected CloudwatchLogsLogDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CloudwatchLogsLogDestination
- Parameters:
logGroup
- This parameter is required.
-
-
Method Details
-
bind
(experimental) Bind the log destination to the pipe.- Specified by:
bind
in interfaceILogDestination
- Parameters:
_pipe
- This parameter is required.
-
grantPush
(experimental) Grant the pipe role to push to the log destination.- Specified by:
grantPush
in interfaceILogDestination
- Parameters:
pipeRole
- This parameter is required.
-