Interface CloudWatchLogsTargetParameters
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CloudWatchLogsTargetParameters.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-07T10:36:17.432Z")
@Stability(Experimental)
public interface CloudWatchLogsTargetParameters
extends software.amazon.jsii.JsiiSerializable
(experimental) CloudWatch Logs target properties.
Example:
Queue sourceQueue; LogGroup targetLogGroup; CloudWatchLogsTarget logGroupTarget = CloudWatchLogsTarget.Builder.create(targetLogGroup) .inputTransformation(InputTransformation.fromObject(Map.of("body", "👀"))) .build(); Pipe pipe = Pipe.Builder.create(this, "Pipe") .source(new SqsSource(sourceQueue)) .target(logGroupTarget) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCloudWatchLogsTargetParameters
static final class
An implementation forCloudWatchLogsTargetParameters
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default IInputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.default String
(experimental) The name of the log stream.default String
(experimental) The JSON path expression that references the timestamp in the payload.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInputTransformation
(experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- See Also:
-
getLogStreamName
(experimental) The name of the log stream.Default: - none
- See Also:
-
getTimestamp
(experimental) The JSON path expression that references the timestamp in the payload.This is the time that the event occurred, as a JSON path expression in the payload.
Default: - current time
Example:
"$.data.timestamp";
- See Also:
-
builder
-