-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathparameter_template.ts
More file actions
59 lines (56 loc) · 1.69 KB
/
parameter_template.ts
File metadata and controls
59 lines (56 loc) · 1.69 KB
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
import { Environment } from "aws-cdk-lib";
export type Language = "ja" | "en";
export type SlashCommands = {
insight: boolean;
findingsReport: boolean;
};
export interface AppParameter {
env?: Environment;
language: Language;
envName: string;
modelId: string;
slackAppTokenKey: string;
slackSigningSecretKey: string;
architectureDescription: string;
cwLogsLogGroups: string[];
cwLogsInsightQuery: string;
databaseName?: string;
albAccessLogTableName?: string;
cloudTrailLogTableName?: string;
xrayTrace: boolean;
slashCommands: SlashCommands;
detectorId?: string;
knowledgeBase: boolean;
embeddingModelId?: string;
rerankModelId?: string;
maxAgentCycles?: number; // Maximum number of cycles for ReAct agent
}
// Parameters for Dev Account
export const devParameter: AppParameter = {
env: {
account: "123456789012",
region: "us-west-2",
},
language: "ja",
envName: "Development",
modelId: "global.anthropic.claude-sonnet-4-6",
slackAppTokenKey: "SlackAppToken",
slackSigningSecretKey: "SlackSigningSecret",
architectureDescription: `
あなたが担当するワークロードは、ALB, EC2, Aurora で構成されています。また、EC2 上に Spring アプリケーションがデプロイされています。`,
cwLogsLogGroups: [
"/ec2/demoapp",
"/ec2/messages",
"/aws/application-signals/data",
],
cwLogsInsightQuery: "fields @message | limit 100",
xrayTrace: false,
slashCommands: {
insight: false,
findingsReport: true,
},
detectorId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
knowledgeBase: true,
embeddingModelId: "amazon.titan-embed-text-v2:0",
maxAgentCycles: 5, // Maximum number of cycles for ReAct agent
};