50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
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, Secret } from '../container-definition';
|
|
/**
|
|
* Specifies the firelens log driver configuration options.
|
|
*/
|
|
export interface FireLensLogDriverProps extends BaseLogDriverProps {
|
|
/**
|
|
* The configuration options to send to the log driver.
|
|
* @default - the log driver options
|
|
*/
|
|
readonly options?: {
|
|
[key: string]: string;
|
|
};
|
|
/**
|
|
* The secrets to pass to the log configuration.
|
|
* @default - No secret options provided.
|
|
*/
|
|
readonly secretOptions?: {
|
|
[key: string]: Secret;
|
|
};
|
|
}
|
|
/**
|
|
* FireLens enables you to use task definition parameters to route logs to an AWS service
|
|
* or AWS Partner Network (APN) destination for log storage and analytics
|
|
*/
|
|
export declare class FireLensLogDriver extends LogDriver {
|
|
/**
|
|
* The configuration options to send to the log driver.
|
|
* @default - the log driver options
|
|
*/
|
|
private options?;
|
|
/**
|
|
* The secrets to pass to the log configuration.
|
|
* @default - No secret options provided.
|
|
*/
|
|
private secretOptions?;
|
|
/**
|
|
* Constructs a new instance of the FireLensLogDriver class.
|
|
* @param props the awsfirelens log driver configuration options.
|
|
*/
|
|
constructor(props: FireLensLogDriverProps);
|
|
/**
|
|
* Called when the log driver is configured on a container
|
|
*/
|
|
bind(_scope: Construct, _containerDefinition: ContainerDefinition): LogDriverConfig;
|
|
}
|