Classes
| Name | Description |
|---|---|
| DualAlbFargateService | No description |
Structs
| Name | Description |
|---|---|
| DualAlbFargateServiceProps | No description |
| FargateTaskProps | No description |
| Route53Options | No description |
| ServiceScalingPolicy | No description |
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new DualAlbFargateService(scope: Construct, id: string, props: DualAlbFargateServiceProps)- scope (
Construct) No description - id (
string) No description - props (
DualAlbFargateServiceProps) No description- tasks (
Array<FargateTaskProps>) No description - route53Ops (
Route53Options) No description Optional - spot (
boolean) create a FARGATE_SPOT only cluster. Default: false - vpc (
IVpc) No description Optional
- tasks (
| Name | Type | Description |
|---|---|---|
| externalAlb | ApplicationLoadBalancer |
|
| internalAlb | ApplicationLoadBalancer |
|
| vpc | IVpc |
| Name | Type | Description |
|---|---|---|
| tasks | Array<FargateTaskProps> |
|
| route53Ops? | Route53Options |
Optional |
| spot? | boolean |
create a FARGATE_SPOT only cluster. Default: false |
| vpc? | IVpc |
Optional |
| Name | Type | Description |
|---|---|---|
| listenerPort | number |
|
| task | FargateTaskDefinition |
|
| capacityProviderStretegy? | Array<CapacityProviderStrategy> |
Optional |
| desiredCount? | number |
desired number of tasks for the service. Default: 1 |
| scalingPolicy? | ServiceScalingPolicy |
service autoscaling policy. Optional |
| Name | Type | Description |
|---|---|---|
| externalAlbRecordName? | string |
the external ALB record name. Default: external |
| internalAlbRecordName? | string |
the internal ALB record name. Default: internal |
| zoneName? | string |
private zone name. Default: svc.local |
| Name | Type | Description |
|---|---|---|
| maxCapacity? | number |
max capacity for the service autoscaling. Default: 10 |
| requestPerTarget? | number |
request per target. Default: 1000 |
| targetCpuUtilization? | number |
target cpu utilization. Default: 50 |