mirror of
https://github.com/langgenius/aws-cdk-for-dify.git
synced 2026-07-01 20:14:06 -04:00
60f27bde6d
- change the Opensearch setup params - add the new env variables in .env - update README.md
29 lines
690 B
TypeScript
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;
|
|
} |