forked from aws-samples/aws-healthimaging-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
60 lines (49 loc) · 1.95 KB
/
config.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
/** These parameters are used for the CDK deployment and container environment variables
* See README.md for more information.
*/
type AuthMode = null | 'null' | 'cognito_jwt';
type NullableString = string | undefined | null;
// @Required: Yes
// @Usage: Deploy region
// @Description: AWS region where this stack is deployed
const DEPLOY_REGION: string = 'us-east-1';
// @Required: Yes
// @Usage: CDK deployment
// @Description: AWS Certificate Manager SSL certificate ARN
const ACM_ARN: string = '';
// @Required: No
// @Usage: Container environment variable
// @Description: Authentication type. See README
const AUTH_MODE: AuthMode = 'cognito_jwt';
// @Required: Yes, if using Amazon Cognito JWT auth. See README
// @Usage: Container environment variable
// @Description: Amazon Cognito user pool ID, typically formatted "<region>_abcdefghi", i.e. "us-east-1_abcdefghi"
const COGNITO_USER_POOL_ID: NullableString = '';
// @Required: No
// @Usage: Container environment variable
// @Description: Amazon Cognito client ID for additional verification
const COGNITO_CLIENT_ID: NullableString = null;
// @Required: No
// @Usage: CDK deployment
// @Description: Whether to enable Amazon Elasticache for memcached
const ENABLE_ELASTICACHE: boolean = true;
// @Required: No
// @Usage: AHI service region
// @Description: AWS HealthImaging region, i.e. medical-imaging.<region>.amazonaws.com
const AHI_REGION: NullableString = 'us-east-1';
// @Required: No
// @Usage: AHI endpoint
// @Description: AWS HealthImaging endpoint without the protocol (https://). Overrides AHI_REGION
const AHI_ENDPOINT: NullableString = '';
export {
DEPLOY_REGION,
ACM_ARN,
AUTH_MODE,
COGNITO_USER_POOL_ID,
COGNITO_CLIENT_ID,
ENABLE_ELASTICACHE,
AHI_REGION,
AHI_ENDPOINT
};