agent-claw: automated task changes
This commit is contained in:
71
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/log-drivers/gelf-log-driver.d.ts
generated
vendored
Normal file
71
cdk/node_modules/aws-cdk-lib/aws-ecs/lib/log-drivers/gelf-log-driver.d.ts
generated
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
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 { Duration } from '../../../core';
|
||||
import type { ContainerDefinition } from '../container-definition';
|
||||
/**
|
||||
* The type of compression the GELF driver uses to compress each log message.
|
||||
*/
|
||||
export declare enum GelfCompressionType {
|
||||
GZIP = "gzip",
|
||||
ZLIB = "zlib",
|
||||
NONE = "none"
|
||||
}
|
||||
/**
|
||||
* Specifies the journald log driver configuration options.
|
||||
*
|
||||
* [Source](https://docs.docker.com/config/containers/logging/gelf/)
|
||||
*/
|
||||
export interface GelfLogDriverProps extends BaseLogDriverProps {
|
||||
/**
|
||||
* The address of the GELF server. tcp and udp are the only supported URI
|
||||
* specifier and you must specify the port.
|
||||
*/
|
||||
readonly address: string;
|
||||
/**
|
||||
* UDP Only The type of compression the GELF driver uses to compress each
|
||||
* log message. Allowed values are gzip, zlib and none.
|
||||
*
|
||||
* @default - gzip
|
||||
*/
|
||||
readonly compressionType?: GelfCompressionType;
|
||||
/**
|
||||
* UDP Only The level of compression when gzip or zlib is the gelf-compression-type.
|
||||
* An integer in the range of -1 to 9 (BestCompression). Higher levels provide more
|
||||
* compression at lower speed. Either -1 or 0 disables compression.
|
||||
*
|
||||
* @default - 1
|
||||
*/
|
||||
readonly compressionLevel?: number;
|
||||
/**
|
||||
* TCP Only The maximum number of reconnection attempts when the connection drop.
|
||||
* A positive integer.
|
||||
*
|
||||
* @default - 3
|
||||
*/
|
||||
readonly tcpMaxReconnect?: number;
|
||||
/**
|
||||
* TCP Only The number of seconds to wait between reconnection attempts.
|
||||
* A positive integer.
|
||||
*
|
||||
* @default - 1
|
||||
*/
|
||||
readonly tcpReconnectDelay?: Duration;
|
||||
}
|
||||
/**
|
||||
* A log driver that sends log information to journald Logs.
|
||||
*/
|
||||
export declare class GelfLogDriver extends LogDriver {
|
||||
private readonly props;
|
||||
/**
|
||||
* Constructs a new instance of the GelfLogDriver class.
|
||||
*
|
||||
* @param props the gelf log driver configuration options.
|
||||
*/
|
||||
constructor(props: GelfLogDriverProps);
|
||||
/**
|
||||
* Called when the log driver is configured on a container
|
||||
*/
|
||||
bind(_scope: Construct, _containerDefinition: ContainerDefinition): LogDriverConfig;
|
||||
}
|
||||
Reference in New Issue
Block a user