Class CloudwatchLogsLogDestination
(experimental) CloudWatch Logs log group for delivery of pipe logs.
Implements
Namespace: Amazon.CDK.AWS.Pipes.Alpha
Assembly: Amazon.CDK.AWS.Pipes.Alpha.dll
Syntax (csharp)
public class CloudwatchLogsLogDestination : DeputyBase, ILogDestination
Syntax (vb)
Public Class CloudwatchLogsLogDestination Inherits DeputyBase Implements ILogDestination
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Queue sourceQueue;
Queue targetQueue;
LogGroup logGroup;
var cwlLogDestination = new CloudwatchLogsLogDestination(logGroup);
var pipe = new Pipe(this, "Pipe", new PipeProps {
Source = new SqsSource(sourceQueue),
Target = new SqsTarget(targetQueue),
LogLevel = LogLevel.TRACE,
LogIncludeExecutionData = new [] { IncludeExecutionData.ALL },
LogDestinations = new [] { cwlLogDestination }
});
Synopsis
Constructors
CloudwatchLogsLogDestination(ILogGroup) | (experimental) CloudWatch Logs log group for delivery of pipe logs. |
Methods
Bind(IPipe) | (experimental) Bind the log destination to the pipe. |
GrantPush(IRole) | (experimental) Grant the pipe role to push to the log destination. |
Constructors
CloudwatchLogsLogDestination(ILogGroup)
(experimental) CloudWatch Logs log group for delivery of pipe logs.
public CloudwatchLogsLogDestination(ILogGroup logGroup)
Parameters
- logGroup ILogGroup
Remarks
Stability: Experimental
Methods
Bind(IPipe)
(experimental) Bind the log destination to the pipe.
public virtual ILogDestinationConfig Bind(IPipe pipe)
Parameters
- pipe IPipe
Returns
Remarks
Stability: Experimental
GrantPush(IRole)
(experimental) Grant the pipe role to push to the log destination.
public virtual void GrantPush(IRole pipeRole)
Parameters
- pipeRole IRole
Remarks
Stability: Experimental