UNPKG

987 BTypeScriptView Raw
1import { ContainerDefinition } from '../container-definition';
2import { BaseLogDriverProps } from './base-log-driver';
3import { LogDriver, LogDriverConfig } from './log-driver';
4import { Construct as CoreConstruct } from '@aws-cdk/core';
5/**
6 * Specifies the journald log driver configuration options.
7 *
8 * [Source](https://docs.docker.com/config/containers/logging/journald/)
9 */
10export interface JournaldLogDriverProps extends BaseLogDriverProps {
11}
12/**
13 * A log driver that sends log information to journald Logs.
14 */
15export declare class JournaldLogDriver extends LogDriver {
16 private readonly props;
17 /**
18 * Constructs a new instance of the JournaldLogDriver class.
19 *
20 * @param props the journald log driver configuration options.
21 */
22 constructor(props?: JournaldLogDriverProps);
23 /**
24 * Called when the log driver is configured on a container
25 */
26 bind(_scope: CoreConstruct, _containerDefinition: ContainerDefinition): LogDriverConfig;
27}