29 lines
1014 B
TypeScript
29 lines
1014 B
TypeScript
import type { Construct } from 'constructs';
|
|
import type { BaseLogDriverProps } from './base-log-driver';
|
|
import type { LogDriverConfig } from './log-driver';
|
|
import { LogDriver } from './log-driver';
|
|
import type { ContainerDefinition } from '../container-definition';
|
|
/**
|
|
* Specifies the journald log driver configuration options.
|
|
*
|
|
* [Source](https://docs.docker.com/config/containers/logging/journald/)
|
|
*/
|
|
export interface JournaldLogDriverProps extends BaseLogDriverProps {
|
|
}
|
|
/**
|
|
* A log driver that sends log information to journald Logs.
|
|
*/
|
|
export declare class JournaldLogDriver extends LogDriver {
|
|
private readonly props;
|
|
/**
|
|
* Constructs a new instance of the JournaldLogDriver class.
|
|
*
|
|
* @param props the journald log driver configuration options.
|
|
*/
|
|
constructor(props?: JournaldLogDriverProps);
|
|
/**
|
|
* Called when the log driver is configured on a container
|
|
*/
|
|
bind(_scope: Construct, _containerDefinition: ContainerDefinition): LogDriverConfig;
|
|
}
|