PipeTargetCloudWatchLogsParametersProperty Struct
The parameters for using an CloudWatch Logs log stream as a target.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pipes as pipes } from 'aws-cdk-lib';
const pipeTargetCloudWatchLogsParametersProperty: pipes.CfnPipe.PipeTargetCloudWatchLogsParametersProperty = {
logStreamName: 'logStreamName',
timestamp: 'timestamp',
};
Properties
logStreamNameoptionalstringlog_stream_nameoptionalstrlogStreamNameoptionalStringLogStreamNameoptionalstringLogStreamNameoptional*string#The name of the log stream.
timestampoptionalstringtimestampoptionalstrtimestampoptionalStringTimestampoptionalstringTimestampoptional*string#A [dynamic path parameter](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-event-target.html) to a field in the payload containing the time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
notes
The value cannot be a static timestamp as the provided timestamp would be applied to all events delivered by the Pipe, regardless of when they are actually delivered.
If no dynamic path parameter is provided, the default value is the time the invocation is processed by the Pipe.