-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.d.ts
41 lines (41 loc) · 1.26 KB
/
config.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export interface Config {
/**
* A list of forwarding-proxies. Each key is a route to match,
* below the prefix that the proxy plugin is mounted on. It must
* start with a '/'.
*/
proxysigv4?: {
/**
* When `true`, configures an auth policy when using the new backend system to allow
* unauthenticated requests to the `proxy-sigv4-backend` router.
*
* Defaults to `true`.
*/
allowUnauthenticatedRequests?: boolean;
} & {
[key: string]:
| string
| {
/**
* Target of the proxy. Url string to be parsed with the url module.
*/
target: string;
/**
* Use credentials for this IAM Role ARN via STS:AssumeRole call when signing the request.
*/
roleArn?: string;
/**
* Use this session name when performing the STS:AssumeRole call for roleArn. Default: 'tempAssumeRoleSession'.
*/
roleSessionName?: string;
/**
* Name of the AWS service if is not possible to determine it automatically
*/
service?: string;
/**
* Name of the AWS region if is not possible to determine it automatically
*/
region?: string;
};
};
}