1 | import { Duration, SecretValue } from '@aws-cdk/core';
|
2 | import { TaskDefinition } from '../base/task-definition';
|
3 | import { Secret } from '../container-definition';
|
4 | import { CfnTaskDefinition } from '../ecs.generated';
|
5 | import { BaseLogDriverProps } from './base-log-driver';
|
6 |
|
7 |
|
8 |
|
9 | export declare function removeEmpty<T>(x: {
|
10 | [key: string]: (T | undefined | string);
|
11 | }): {
|
12 | [key: string]: string;
|
13 | };
|
14 |
|
15 |
|
16 |
|
17 | export declare function ensurePositiveInteger(val: number): void;
|
18 |
|
19 |
|
20 |
|
21 | export declare function ensureInRange(val: number, start: number, end: number): void;
|
22 | export declare function stringifyOptions(options: {
|
23 | [key: string]: (SecretValue | Duration | string | string[] | number | boolean | undefined);
|
24 | }): {
|
25 | [key: string]: string;
|
26 | };
|
27 | export declare function renderCommonLogDriverOptions(opts: BaseLogDriverProps): {
|
28 | tag: string | undefined;
|
29 | labels: string | undefined;
|
30 | env: string | undefined;
|
31 | 'env-regex': string | undefined;
|
32 | };
|
33 | export declare function joinWithCommas(xs?: string[]): string | undefined;
|
34 | export declare function renderLogDriverSecretOptions(secretValue: {
|
35 | [key: string]: Secret;
|
36 | }, taskDefinition: TaskDefinition): CfnTaskDefinition.SecretProperty[];
|