-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
89 lines (76 loc) · 2.94 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
export interface IConfig {
[index: string]: string | number | string[] | undefined | null,
readonly account: string,
readonly cloudFrontName: string,
readonly s3BucketName : string,
readonly s3BucketRegion : string,
readonly lambdaName : string,
readonly lambdaRoleName : string,
readonly aesKey: string
readonly fwmType?: string,
readonly availableInterval: number,
readonly prefixFolder: string[],
readonly wmtPublicKey?: string,
readonly wmtPassword?: string
}
export const config: IConfig = {
/**
* Enter the aws account number
*/
account: '{Your AWS account number}',
/**
* Enter the name of cloudfront to be created.
*/
cloudFrontName : 'pallycon-watermark-cdn',
/**
* Enter the name of forensic watermark content output bucket. It must be created before running.
*/
s3BucketName : '{Your output bucket name}',
/**
* Enter the name of forensic watermark content output bucket region. It must be created before running.
* bucket region : us-west-2, ap-northeast-1, ap-northeast-2, ap-southeast-1, eu-central-1
*/
s3BucketRegion: '{Your output bucket region}',
/**
* Enter the name of lambda@Edge function to be created.
*/
lambdaName : 'watermark-cdn-embedder',
/**
* Enter the name of lambda role to be created.
*/
lambdaRoleName : 'PallConWatermarkLambdaRole',
/**
* Enter the site key value provided by the PallyCon console site.
*/
aesKey: "{Your PallyCon site key}",
/**
* The URL requested for watermarking contains a timestamp value.
* This item is the value for checking the validity of the timestamp.
* If set to 0, the timestamp validity period is not checked. (Unit: minutes)
*/
availableInterval: 60000,
/**
* Enter unlabeled_a_variant if preprocessed A/B version segments are stored together
* in one folder, and enter directory_prefix if they are packaged in separate 0 and 1 folders.
* If you use the latest version of the FWM CLI packager
* or if you are a new customer of PallyCon SaaS packaging service,
* it is basically packaged in the form of Unlabeled A Variant. (default: unlabeled_a_variant)
*/
fwmType: "unlabeled_a_variant",
/**
* Set the name of the parent folder where the A/B version contents are stored
* If you use PallyCon TNP Service, Don't edit.
*/
prefixFolder: ['dldzkdpsxmdnjrtm', 'wm-contents'],
/**
* This is required to operate in the same way as the Akamai wmt format.
* Set the wmt public key value provided by the PallyCon helpdesk.
* Required. line separator : \\n (x), \n (o)
*/
wmtPublicKey: "{Your PallyCon Akamai Public Key}",
/**
* This is required to operate in the same way as the Akamai wmt format.
* Set the wmt password value provided by the PallyCon helpdesk.
*/
wmtPassword: "{Your PallyCon Akamai Key Password}",
}