add portMapping hostport
This commit is contained in:
parent
0e767711ef
commit
7a7f92e555
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ export class FrontEndCluster extends Construct {
|
||||||
portMappings: [
|
portMappings: [
|
||||||
{
|
{
|
||||||
name:frontendServiceName,
|
name:frontendServiceName,
|
||||||
|
hostPort:80,
|
||||||
containerPort: containerPort,
|
containerPort: containerPort,
|
||||||
protocol: ecs.Protocol.TCP,
|
protocol: ecs.Protocol.TCP,
|
||||||
appProtocol:ecs.AppProtocol.http,
|
appProtocol:ecs.AppProtocol.http,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue