{ "executionRoleArn": "arn:aws:iam:::role/2fas-websocket-api_ecsTaskExecutionRole", "containerDefinitions": [ { "name": "2fas-websocket-api", "image": "", "essential": true, "portMappings": [ { "hostPort": 8081, "protocol": "tcp", "containerPort": 8081 } ], "environmentFiles": [ { "value": "arn:aws:s3:::2fas-production-env/websocket_api.env", "type": "s3" } ], "secrets": [ { "name": "MYSQL_PASSWORD", "valueFrom": "arn:aws:secretsmanager:us-east-2::secret:prod/mysql-wi9cyz:password::" }, { "name": "MYSQL_USERNAME", "valueFrom": "arn:aws:secretsmanager:us-east-2::secret:prod/mysql-wi9cyz:username::" }, { "name": "MYSQL_HOST", "valueFrom": "arn:aws:secretsmanager:us-east-2::secret:prod/mysql-wi9cyz:host::" } ], "logConfiguration": { "logDriver": "awslogs", "options": { "awslogs-group" : "/ecs/2fas-api", "awslogs-region": "us-east-2", "awslogs-stream-prefix": "ecs" } } } ], "requiresCompatibilities": [ "FARGATE" ], "networkMode": "awsvpc", "family": "2fas-websocket-api", "cpu": "256", "memory": "512" }