Files
aws-cdk-for-dify/configs/stackConfig.ts
T
Petrus Han 60f27bde6d fix the bug that Opensearch can't be connected (#15)
- change the Opensearch setup params
- add the new env variables in .env
- update README.md
2024-10-29 20:43:10 -04:00

29 lines
690 B
TypeScript

import { EksClusterConfig } from './constructs/eksConfig';
import { OpenSearchConfig } from './constructs/openSearchConfig';
import { PostgresSQLConfig } from './constructs/postgresConfig';
import { RedisConfig } from './constructs/redisConfig';
import { S3Config } from './constructs/s3Config';
/**
* Basic configuration for a stack
*/
export interface StackConfig {
environment: "Test" | "Prod";
region: string;
account: string;
// EKS cluster config
cluster: EksClusterConfig;
// s3 bucket config
s3: S3Config;
// AuroraPGSQL config
postgresSQL: PostgresSQLConfig;
// Redis config
redis: RedisConfig;
// OpenSearch config
openSearch: OpenSearchConfig;
}