Classes
| Name | Description |
|---|---|
| DjangoEcs | Configures a Django project using ECS Fargate. |
| DjangoEks | Configures a Django project using EKS. |
Structs
| Name | Description |
|---|---|
| DjangoEcsProps | Options to configure a Django ECS project. |
| DjangoEksProps | Options to configure a Django EKS project. |
Configures a Django project using ECS Fargate.
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new DjangoEcs(scope: Construct, id: string, props: DjangoEcsProps)- scope (
Construct) No description - id (
string) No description - props (
DjangoEcsProps) No description- imageDirectory (
string) The location of the Dockerfile used to create the main application image. - bucketName (
string) Name of existing bucket to use for media files. Optional - useCeleryBeat (
boolean) Used to enable the celery beat service. Default: false - vpc (
IVpc) The VPC to use for the application. It must contain PUBLIC, PRIVATE and ISOLATED subnets. Optional - webCommand (
Array) The command used to run the API web service. Optional
- imageDirectory (
| Name | Type | Description |
|---|---|---|
| cluster | Cluster |
|
| image | ContainerImage |
|
| staticFileBucket | Bucket |
|
| vpc | IVpc |
Configures a Django project using EKS.
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new DjangoEks(scope: Construct, id: string, props: DjangoEksProps)- scope (
Construct) No description - id (
string) No description - props (
DjangoEksProps) No description- imageDirectory (
string) The location of the Dockerfile used to create the main application image. - bucketName (
string) Name of existing bucket to use for media files. Optional - certificateArn (
string) Certificate ARN. Optional - domainName (
string) Domain name for backend (including sub-domain). Optional - useCeleryBeat (
boolean) Used to enable the celery beat service. Default: false - vpc (
IVpc) The VPC to use for the application. It must contain PUBLIC, PRIVATE and ISOLATED subnets. Optional - webCommand (
Array) The command used to run the API web service. Optional
- imageDirectory (
| Name | Type | Description |
|---|---|---|
| cluster | Cluster |
|
| staticFileBucket | Bucket |
|
| vpc | IVpc |
Options to configure a Django ECS project.
| Name | Type | Description |
|---|---|---|
| imageDirectory | string |
The location of the Dockerfile used to create the main application image. |
| bucketName? | string |
Name of existing bucket to use for media files. Optional |
| useCeleryBeat? | boolean |
Used to enable the celery beat service. Default: false |
| vpc? | IVpc |
The VPC to use for the application. It must contain PUBLIC, PRIVATE and ISOLATED subnets. Optional |
| webCommand? | Array |
The command used to run the API web service. Optional |
Options to configure a Django EKS project.
| Name | Type | Description |
|---|---|---|
| imageDirectory | string |
The location of the Dockerfile used to create the main application image. |
| bucketName? | string |
Name of existing bucket to use for media files. Optional |
| certificateArn? | string |
Certificate ARN. Optional |
| domainName? | string |
Domain name for backend (including sub-domain). Optional |
| useCeleryBeat? | boolean |
Used to enable the celery beat service. Default: false |
| vpc? | IVpc |
The VPC to use for the application. It must contain PUBLIC, PRIVATE and ISOLATED subnets. Optional |
| webCommand? | Array |
The command used to run the API web service. Optional |