Class CloudwatchLogsLogDestination
(experimental) CloudWatch Logs log group for delivery of pipe logs.
Inheritance
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
Cloudwatch |
|
Cloudwatch |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cloudwatch |
Used by jsii to construct an instance of this class from DeputyProps |
Methods
Bind(IPipe) | (experimental) Bind the log destination to the pipe. |
Grant |
(experimental) Grant the pipe role to push to the log destination. |
Constructors
CloudwatchLogsLogDestination(ILogGroup)
public CloudwatchLogsLogDestination(ILogGroup logGroup)
Parameters
- logGroup ILog
Group
Remarks
Stability: Experimental
CloudwatchLogsLogDestination(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CloudwatchLogsLogDestination(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CloudwatchLogsLogDestination(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CloudwatchLogsLogDestination(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
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